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

Type ClassifierEntry

               CatalogAware --+
                              |
             object --+       |
                      |       |
                   Base --+   |
                          |   |
           Node --+       |   |
                  |       |   |
            Element --+   |   |
                      |   |   |
  ElementWithAttributes --+   |
                          |   |
            PropertyManager --+
                              |
         object --+           |
                  |           |
               Base --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
         CopySource --+       |
                      |       |
           Node --+   |       |
                  |   |       |
            Element --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
              Owned --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
EtagSupport --+   |   |       |
              |   |   |       |
   LockableItem --+   |       |
                  |   |       |
           Resource --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
               Tabs --+       |
                      |       |
        Traversable --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
        UndoSupport --+       |
                      |       |
                   Item --+   |
                          |   |
         object --+       |   |
                  |       |   |
               Base --+   |   |
                      |   |   |
         object --+   |   |   |
                  |   |   |   |
         Persistent --+   |   |
                      |   |   |
             Persistent --+   |
                          |   |
         object --+       |   |
                  |       |   |
               Base --+   |   |
                      |   |   |
        RoleManager --+   |   |
                      |   |   |
            RoleManager --+   |
                          |   |
         object --+       |   |
                  |       |   |
               Base --+   |   |
                      |   |   |
               Acquirer --+   |
                          |   |
                 SimpleItem --+
                              |
                             ClassifierEntry


ClassifierEntry
Method Summary
  __init__(self, id, title, default_catalog, keywords, deviceClassPath, product, systemPath, locationPath, manufacturer, snmpAgentPath, productDescr)
  getClassifierNames(self)
allow select in property manager to find ZenClassifier
  getDeviceClassPath(self)
base class just returns attribute mobile subclass returns builds its path based on its current aquisition path
  getKeywords(self)
base class just returns attribute mobile subclass returns a concatination of all keyword values up its aquisition path
  getManufacturer(self)
return the manufacturer for this classifier entry
  getProduct(self)
return the product path for this classifier entry
  getProductDescr(self)
return the productDescr for this classifier entry
  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.
  manage_editProperties(self, REQUEST)
Added indexing call -EAD Edit object properties via the web.
  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.
Inherited from PropertyManager: getProperty, getPropertyType, hasProperty, manage_addProperty, manage_changeProperties, manage_changePropertyTypes, manage_delProperties, propdict, propertyIds, propertyItems, propertyLabel, propertyMap, propertyValues, valid_property_id
Inherited from ElementWithAttributes: getAttribute, getAttributeNode, getAttributes
Inherited from Element: getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getNodeValue, getOwnerDocument, hasChildNodes
Inherited from CatalogAware: creator, manage_afterAdd, manage_afterClone, manage_beforeDelete, manage_editCataloger, onDeleteObject, reindex_all, reindex_object, summary, url
Inherited from Item: __len__, __repr__, getId, manage, manage_editedDialog, manage_FTPlist, manage_FTPstat, objectIds, objectItems, objectValues, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL, tpValues
Inherited from Resource: COPY, dav__init, dav__simpleifhandler, dav__validate, DELETE, HEAD, listDAVObjects, LOCK, manage_DAVget, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, TRACE, UNLOCK
Inherited from LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockmapping, wl_lockTokens, wl_lockValues, wl_setLock
Inherited from EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag
Inherited from CopySource: cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission
Inherited from Tabs: class_manage_path, filtered_manage_options, manage_workspace, tabs_path_default, tabs_path_info
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership
Inherited from UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions
Inherited from Persistent: __class_init__, __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version
Inherited from Persistent: __delattr__, __getstate__, __new__, __reduce__, __setattr__, __setstate__
Inherited from 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_defined_roles, manage_editRoles, manage_role, permission_settings, permissionsOfRole, possible_permissions, rolesOfPermission, userdefined_roles, users_with_local_role, valid_roles, validate_roles, validRoles
Inherited from RoleManager: manage_getPermissionMapping
Inherited from Base: __getnewargs__
Inherited from object: __hash__, __reduce_ex__, __str__

Class Variable Summary
tuple __ac_permissions__ = ()
tuple manage_editProperties__roles__ = ('Manager',)
tuple manage_options = ({'action': 'manage_propertiesForm', 'h...
str meta_type = 'ClassifierEntry'
Inherited from PropertyManager: __implemented__, __propsets__, __provides__, __roles__, getProperty__roles__, getPropertyType__roles__, hasProperty__roles__, manage_addProperty__roles__, manage_changeProperties__roles__, manage_changePropertyTypes__roles__, manage_delProperties__roles__, manage_propertiesForm, manage_propertiesForm__roles__, manage_propertyTypeForm, manage_propertyTypeForm__roles__, propdict__roles__, propertyIds__roles__, propertyItems__roles__, propertyLabel__roles__, propertyMap__roles__, propertysheets, propertyValues__roles__, title, valid_property_id__roles__
Inherited from Node: __providedBy__
Inherited from CatalogAware: default_catalog, manage_editCatalogerForm
Inherited from Item: __allow_access_to_unprotected_subobjects__, __name__, getId__roles__, icon, id, isPrincipiaFolderish, isTopLevelPrincipiaApplicationObject, manage__roles__, manage_afterAdd__roles__, manage_afterClone__roles__, manage_beforeDelete__roles__, manage_editedDialog__roles__, manage_FTPlist__roles__, manage_FTPstat__roles__, REQUEST
Inherited from Resource: __dav_resource__, __http_methods__, COPY__roles__, DELETE__roles__, HEAD__roles__, listDAVObjects__roles__, LOCK__roles__, manage_DAVget__roles__, MOVE__roles__, OPTIONS__roles__, PROPFIND__roles__, PROPPATCH__roles__, TRACE__roles__, UNLOCK__roles__
Inherited from LockableItem: wl_clearLocks__roles__, wl_delLock__roles__, wl_getLock__roles__, wl_isLocked__roles__, wl_isLockedByUser__roles__, wl_lockItems__roles__, wl_lockmapping__roles__, wl_lockTokens__roles__, wl_lockValues__roles__, wl_setLock__roles__
Inherited from EtagSupport: __implements__
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__roles__, manage_workspace__roles__
Inherited from Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__
Inherited from Owned: changeOwnership__roles__, getOwner__roles__, getOwnerTuple__roles__, getWrappedOwner__roles__, manage_changeOwnershipType__roles__, manage_fixupOwnershipAfterAdd__roles__, manage_owner, manage_owner__roles__, manage_takeOwnership__roles__, owner_info__roles__
Inherited from UndoSupport: manage_undo_transactions__roles__, manage_UndoForm, manage_UndoForm__roles__, undoable_transactions__roles__
Inherited from RoleManager: __ac_local_roles__, __ac_roles__, ac_inherited_permissions__roles__, access_debug_info__roles__, aclAChecked, aclEChecked, aclPChecked, acquiredRolesAreUsedBy__roles__, manage_access__roles__, manage_acquiredForm, manage_acquiredForm__roles__, manage_acquiredPermissions__roles__, manage_addLocalRoles__roles__, manage_changePermissions__roles__, manage_defined_roles__roles__, manage_delLocalRoles__roles__, manage_editLocalRoles, manage_editLocalRoles__roles__, manage_editRoles__roles__, manage_listLocalRoles, manage_listLocalRoles__roles__, manage_permission__roles__, manage_permissionForm, manage_permissionForm__roles__, manage_role__roles__, manage_roleForm, manage_roleForm__roles__, manage_setLocalRoles__roles__, permission_settings__roles__, permissionMappingPossibleValues, permissionsOfRole__roles__, rolesOfPermission__roles__, selectedRoles, smallRolesWidget, userdefined_roles__roles__
Inherited from RoleManager: manage_getPermissionMapping__roles__, manage_setPermissionMapping__roles__

Method Details

getClassifierNames(self)

allow select in property manager to find ZenClassifier

getDeviceClassPath(self)

base class just returns attribute mobile subclass returns builds its path based on its current aquisition path

getKeywords(self)

base class just returns attribute mobile subclass returns a concatination of all keyword values up its aquisition path

getManufacturer(self)

return the manufacturer for this classifier entry

getProduct(self)

return the product path for this classifier entry

getProductDescr(self)

return the productDescr for this classifier entry

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.
Overrides:
Products.ZCatalog.CatalogAwareness.CatalogAware.index_object

manage_editProperties(self, REQUEST)

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

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.
Overrides:
Products.ZCatalog.CatalogAwareness.CatalogAware.unindex_object

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
()                                                                     

manage_editProperties__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_options

Type:
tuple
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 0x13a77f0>,
  'help': ('OFSP', 'Ownership.stx'),
...                                                                    

meta_type

Type:
str
Value:
'ClassifierEntry'                                                      

Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 http://epydoc.sf.net