Package gavo :: Package protocols :: Module ssap :: Class SSAPCore
[frames] | no frames]

Class SSAPCore

source code

                   object --+                        
                            |                        
 base.structure.StructureBase --+                    
                                |                    
                   object --+   |                    
                            |   |                    
           base.common.Parser --+                    
                                |                    
base.structure.ParseableStructure --+                
                                    |                
             base.structure.Structure --+            
                                        |            
                           svcs.core.Core --+        
                                            |        
            svcs.standardcores.TableBasedCore --+    
                                                |    
                        svcs.standardcores.DBCore --+
                                                    |
                                                   SSAPCore

A core doing SSAP queries.

This core knows about metadata queries, version negotiation, and 
dispatches on REQUEST.  Thus, it may return formatted XML data
under certain circumstances.

Interpreted Properties:

* previews: If set to "auto", the core will automatically add a preview 
  column and fill it with the URL of the products-based preview.  Other
  values are not defined.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
onElementComplete(self) source code
 
run(self, service, inputTable, queryMeta)
does the DB query and returns an InMemoryTable containing the result.
source code
 
clearProperty(self, name) source code
 
getFullId(self) source code
 
getProperty(self, name, default=<Undefined>) source code
 
hasProperty(self, name) source code
 
resolveName(instance, context, id) source code
 
setProperty(self, name, value) source code

Inherited from svcs.standardcores.DBCore: getQueryCols, wantsTableWidget

Inherited from svcs.standardcores.TableBasedCore: adaptForRenderer, completeElement

Inherited from svcs.core.Core: __init__, __repr__, __str__, initialize, makeUserDoc

Inherited from base.structure.Structure: __provides__, callCompletedCallbacks, finishElement, validate

Inherited from base.structure.ParseableStructure: end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from base.structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from base.common.Parser: feedEvent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = 'ssapCore'
a sentinel for all kinds of undefined values.
  outputTableXML = '\n\t\t<outputTable verbLevel="30">\n\t\t\t<p...
hash(x)
  previewColumn = <OutputField u'preview'>

Inherited from svcs.standardcores.DBCore: attrSeq, managedAttrs

Inherited from svcs.core.Core: inputTableXML

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties
  rd

Inherited from object: __class__

Method Details

onElementComplete(self)

source code 
Overrides: base.structure.Structure.onElementComplete

run(self, service, inputTable, queryMeta)

source code 

does the DB query and returns an InMemoryTable containing the result.

Overrides: svcs.core.Core.run

clearProperty(self, name)

source code 
Overrides: svcs.core.Core.clearProperty

getFullId(self)

source code 
Overrides: svcs.core.Core.getFullId

getProperty(self, name, default=<Undefined>)

source code 
Overrides: svcs.core.Core.getProperty

hasProperty(self, name)

source code 
Overrides: svcs.core.Core.hasProperty

resolveName(instance, context, id)

source code 
Overrides: svcs.standardcores.TableBasedCore.resolveName

setProperty(self, name, value)

source code 
Overrides: svcs.core.Core.setProperty

Class Variable Details

outputTableXML

hash(x)

Value:
'''
\t\t<outputTable verbLevel="30">
\t\t\t<property name="virtual">True</property>
\t\t\t<FEED source="//ssap#coreOutputAdditionals"/>
\t\t</outputTable>'''

Property Details

rd

Get Method:
unreachable._getRD(self)