Package ZenModel :: Module ClassifierEntry :: Class ClassifierEntry
[hide private]
[frames] | no frames]

Class ClassifierEntry

source code

                                     object --+        
                                              |        
                            ExtensionClass.Base --+    
                                                  |    
                          OFS.ZDOM.Node --+       |    
                                          |       |    
                           OFS.ZDOM.Element --+   |    
                                              |   |    
                 OFS.ZDOM.ElementWithAttributes --+    
                                                  |    
                OFS.PropertyManager.PropertyManager --+
                                                      |
    Products.ZCatalog.CatalogAwareness.CatalogAware --+
                                                      |
                                 object --+           |
                                          |           |
                        ExtensionClass.Base --+       |
                                              |       |
                             object --+       |       |
                                      |       |       |
                    ExtensionClass.Base --+   |       |
                                          |   |       |
     webdav.EtagSupport.EtagSupport --+   |   |       |
                                      |   |   |       |
           webdav.Lockable.LockableItem --+   |       |
                                          |   |       |
                   webdav.Resource.Resource --+       |
                                              |       |
                             object --+       |       |
                                      |       |       |
                    ExtensionClass.Base --+   |       |
                                          |   |       |
                 OFS.CopySupport.CopySource --+       |
                                              |       |
                             object --+       |       |
                                      |       |       |
                    ExtensionClass.Base --+   |       |
                                          |   |       |
                        App.Management.Tabs --+       |
                                              |       |
                OFS.Traversable.Traversable --+       |
                                              |       |
                          OFS.ZDOM.Node --+   |       |
                                          |   |       |
                           OFS.ZDOM.Element --+       |
                                              |       |
                             object --+       |       |
                                      |       |       |
                    ExtensionClass.Base --+   |       |
                                          |   |       |
                  AccessControl.Owned.Owned --+       |
                                              |       |
                             object --+       |       |
                                      |       |       |
                    ExtensionClass.Base --+   |       |
                                          |   |       |
                       App.Undo.UndoSupport --+       |
                                              |       |
                            OFS.SimpleItem.Item --+   |
                                                  |   |
                                 object --+       |   |
                                          |       |   |
                      persistent.Persistent --+   |   |
                                              |   |   |
                                 object --+   |   |   |
                                          |   |   |   |
                        ExtensionClass.Base --+   |   |
                                              |   |   |
                         Persistence.Persistent --+   |
                                                  |   |
                                 object --+       |   |
                                          |       |   |
                        ExtensionClass.Base --+   |   |
                                              |   |   |
                 ZenEvents.EventDetail.Implicit --+   |
                                                  |   |
                                 object --+       |   |
                                          |       |   |
                        ExtensionClass.Base --+   |   |
                                              |   |   |
AccessControl.PermissionMapping.RoleManager --+   |   |
                                              |   |   |
                 AccessControl.Role.RoleManager --+   |
                                                  |   |
                          OFS.SimpleItem.SimpleItem --+
                                                      |
                                                     ClassifierEntry

ClassifierEntry

Instance Methods [hide private]
 
__init__(self, id, title=None, default_catalog='', keywords='', deviceClassPath='', product='', systemPath='', locationPath='', manufacturer='', snmpAgentPath='', productDescr='')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
manage_editProperties(self, REQUEST)
Added indexing call -EAD Edit object properties via the web.
source code
 
_url(self) source code
 
index_object(self)
Override so that we can find the catalog no matter where we are A common method to allow Findables to index themselves.
source code
 
unindex_object(self)
Override so that we can find the catalog no matter where we are A common method to allow Findables to unindex themselves.
source code
 
getClassifierNames(self)
allow select in property manager to find ZenClassifier
source code
 
getKeywords(self)
base class just returns attribute mobile subclass returns a concatination of all keyword values up its aquisition path
source code
 
getDeviceClassPath(self)
base class just returns attribute mobile subclass returns builds its path based on its current aquisition path
source code
 
getProduct(self)
return the product path for this classifier entry
source code
 
getManufacturer(self)
return the manufacturer for this classifier entry
source code
 
getProductDescr(self)
return the productDescr for this classifier entry
source code

Inherited from OFS.PropertyManager.PropertyManager: getProperty, getPropertyType, hasProperty, manage_addProperty, manage_changeProperties, manage_changePropertyTypes, manage_delProperties, propdict, propertyIds, propertyItems, propertyLabel, propertyMap, propertyValues, valid_property_id

Inherited from Products.ZCatalog.CatalogAwareness.CatalogAware: creator, manage_afterAdd, manage_afterClone, manage_beforeDelete, manage_editCataloger, onDeleteObject, reindex_all, reindex_object, summary, url

Inherited from OFS.SimpleItem.Item: __len__, __name__, __repr__, getId, manage, manage_FTPlist, manage_FTPstat, manage_editedDialog, objectIds, objectItems, objectValues, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL, tpValues

Inherited from Persistence.Persistent: __class_init__, __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version

Inherited from persistent.Persistent: __delattr__, __getstate__, __new__, __reduce__, __setattr__, __setstate__

Inherited from persistent.Persistent (private): _p_activate, _p_deactivate, _p_delattr, _p_getattr, _p_invalidate, _p_setattr

Inherited from ZenEvents.EventDetail.Implicit: __of__

Inherited from AccessControl.Role.RoleManager: ac_inherited_permissions, access_debug_info, acquiredRolesAreUsedBy, get_local_roles, get_local_roles_for_userid, get_valid_userids, has_local_roles, manage_access, manage_acquiredPermissions, manage_addLocalRoles, manage_changePermissions, manage_defined_roles, manage_delLocalRoles, manage_editRoles, manage_permission, manage_role, manage_setLocalRoles, permission_settings, permissionsOfRole, possible_permissions, rolesOfPermission, userdefined_roles, users_with_local_role, validRoles, valid_roles, validate_roles

Inherited from AccessControl.Role.RoleManager (private): _addRole, _delRoles, _has_user_defined_role, _setRoles

Inherited from ExtensionClass.Base: __getnewargs__

Inherited from webdav.Resource.Resource: COPY, DELETE, HEAD, LOCK, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, TRACE, UNLOCK, dav__init, dav__simpleifhandler, dav__validate, listDAVObjects, manage_DAVget

Inherited from OFS.CopySupport.CopySource: __providedBy__, cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission

Inherited from OFS.CopySupport.CopySource (private): _canCopy, _getCopy, _notifyOfCopyTo, _postCopy, _setId

Inherited from App.Management.Tabs: class_manage_path, filtered_manage_options, manage_workspace, tabs_path_default, tabs_path_info

Inherited from OFS.Traversable.Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path

Inherited from object: __hash__, __reduce_ex__, __str__

Inherited from OFS.ZDOM.ElementWithAttributes: getAttribute, getAttributeNode, getAttributes

Inherited from OFS.ZDOM.Element: getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName

Inherited from OFS.ZDOM.Node: getNodeValue, getOwnerDocument, hasChildNodes

Inherited from AccessControl.Owned.Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_changeOwnershipType, manage_fixupOwnershipAfterAdd, manage_takeOwnership, owner_info, userCanTakeOwnership

Inherited from AccessControl.Owned.Owned (private): _deleteOwnershipAfterAdd

Inherited from App.Undo.UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions

Inherited from ExtensionClass.Base: __getnewargs__

Inherited from object: __hash__, __reduce_ex__, __str__

Inherited from webdav.Lockable.LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockTokens, wl_lockValues, wl_lockmapping, wl_setLock

Inherited from webdav.EtagSupport.EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag

Inherited from AccessControl.PermissionMapping.RoleManager: manage_getPermissionMapping, manage_setPermissionMapping

Inherited from AccessControl.PermissionMapping.RoleManager (private): _isBeingAccessedAsZClassDefinedInstanceMethod, _isBeingUsedAsAMethod

Class Variables [hide private]
  meta_type = 'ClassifierEntry'
  manage_options = ({'action': 'manage_propertiesForm', 'help': ...
  _properties = ({'id': 'default_catalog', 'select_variable': 'g...
  security = ClassSecurityInfo()
  __ac_permissions__ = ()

Inherited from OFS.PropertyManager.PropertyManager: __implemented__, __propsets__, __provides__, manage_propertiesForm, manage_propertyTypeForm, propertysheets, title

Inherited from Products.ZCatalog.CatalogAwareness.CatalogAware: default_catalog, manage_editCatalogerForm

Inherited from OFS.SimpleItem.Item: REQUEST, __allow_access_to_unprotected_subobjects__, icon, id, isPrincipiaFolderish, isTopLevelPrincipiaApplicationObject

Inherited from OFS.SimpleItem.Item (private): _manage_editedDialog

Inherited from AccessControl.Role.RoleManager: __ac_local_roles__, __ac_roles__, aclAChecked, aclEChecked, aclPChecked, manage_acquiredForm, manage_editLocalRoles, manage_listLocalRoles, manage_permissionForm, manage_roleForm, permissionMappingPossibleValues, selectedRoles, smallRolesWidget

Inherited from AccessControl.Role.RoleManager (private): _method_manage_access, _normal_manage_access

Inherited from webdav.Resource.Resource: __dav_resource__, __http_methods__

Inherited from App.Management.Tabs: manage_tabs

Inherited from OFS.Traversable.Traversable: getPhysicalRoot

Inherited from AccessControl.Owned.Owned: manage_owner

Inherited from App.Undo.UndoSupport: manage_UndoForm

Inherited from webdav.EtagSupport.EtagSupport: __implements__

Properties [hide private]

Inherited from persistent.Persistent (private): _p_changed, _p_jar, _p_mtime, _p_oid, _p_serial, _p_state

Inherited from object: __class__

Inherited from object: __class__

Method Details [hide private]

__init__(self, id, title=None, default_catalog='', keywords='', deviceClassPath='', product='', systemPath='', locationPath='', manufacturer='', snmpAgentPath='', productDescr='')
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

manage_editProperties(self, REQUEST)

source code 
Added indexing call -EAD Edit object properties via the web. The purpose of this method is to change all property values, even those not listed in REQUEST; otherwise checkboxes that get turned off will be ignored. Use manage_changeProperties() instead for most situations.
Overrides: OFS.PropertyManager.PropertyManager.manage_editProperties

index_object(self)

source code 
Override so that we can find the catalog no matter where we are A common method to allow Findables to index themselves.
Overrides: Products.ZCatalog.CatalogAwareness.CatalogAware.index_object

unindex_object(self)

source code 
Override so that we can find the catalog no matter where we are A common method to allow Findables to unindex themselves.
Overrides: Products.ZCatalog.CatalogAwareness.CatalogAware.unindex_object

Class Variable Details [hide private]

manage_options

Value:
({'action': 'manage_propertiesForm',
  'help': ('OFSP', 'Properties.stx'),
  'label': 'Properties'},
 {'action': 'manage_UndoForm',
  'help': ('OFSP', 'Undo.stx'),
  'label': 'Undo'},
 {'action': 'manage_owner',
  'filter': <function ownableFilter at 0x15c5970>,
...

_properties

Value:
({'id': 'default_catalog',
  'select_variable': 'getClassifierNames',
  'type': 'selection'},
 {'id': 'keywords', 'mode': 'rw', 'type': 'text'},
 {'id': 'deviceClassPath', 'mode': 'rw', 'type': 'string'},
 {'id': 'manufacturer', 'mode': 'rw', 'type': 'string'},
 {'id': 'product', 'mode': 'rw', 'type': 'string'},
 {'id': 'productDescr', 'mode': 'rw', 'type': 'text'})