The root organizer for manufacturers. May become a BtreeFolder2 at
some point (to scale better). Has interface to manage Manufacturers and
the products that they create.
|
|
|
manage_addManufacturer(self,
manufacturerName=None,
REQUEST=None)
Add a manufacturer from UI code. |
source code
|
|
|
manage_deleteManufacturers(self,
ids=None,
REQUEST=None)
Delete a list of manufacturers from UI. |
source code
|
|
|
createManufacturer(self,
manufacturerName=None)
Return and create if nessesary manufacturerName. |
source code
|
|
|
|
|
getManufacturerNames(self)
return list of all companies |
source code
|
|
|
getProductNames(self,
mname,
type=None)
return a list of all products this Manufacturer makes |
source code
|
|
|
findProduct(self,
query)
Find a product by is productKey. |
source code
|
|
|
createHardwareProduct(self,
prodName,
manufacturer="Unknown",
**kwargs)
Return and create if nessesary a HardwareClass object. |
source code
|
|
|
createSoftwareProduct(self,
prodName,
manufacturer="Unknown",
isOS=False,
**kwargs)
Return and create if nesseary a SoftwareClass object. |
source code
|
|
|
_getProduct(self,
prodName,
manufacturer,
factory,
**kwargs) |
source code
|
|
|
getProductsGen(self)
Return a generator that gets all products. |
source code
|
|
|
reIndex(self)
Go through all devices in this tree and reindex them. |
source code
|
|
|
createCatalog(self)
Create a catalog for EventClassRecord searching |
source code
|
|
|
exportXml(self,
ofile,
ignorerels=[],
root=False)
Return an xml based representation of a RelationshipManager... |
source code
|
|
|
|
Inherited from ZenModelItem.ZenModelItem :
getPrimaryPath ,
getPrimaryUrlPath ,
primaryAq
Inherited from ZenModelBase.ZenModelBase :
__call__ ,
__hash__ ,
all_meta_types ,
aqBaseHasAttr ,
breadCrumbs ,
callZenScreen ,
checkRemotePerm ,
checkValidId ,
createHierarchyObj ,
custPropertyIds ,
custPropertyMap ,
getBreadCrumbName ,
getBreadCrumbUrlPath ,
getDmd ,
getDmdObj ,
getDmdRoot ,
getHierarchyObj ,
getIconPath ,
getIdLink ,
getNowString ,
getObjByPath ,
getPrimaryDmdId ,
getUnusedId ,
getZopeObj ,
helpLink ,
isLocalName ,
manage_deleteObjects ,
prepId ,
saveCustProperties ,
todayDate ,
upToOrganizerBreadCrumbs ,
urlLink ,
view ,
visibleCustPropertyMap ,
yesterdayDate ,
zenScreenUrl ,
zenpathjoin ,
zenpathsplit ,
zentinelTabs ,
zmanage_editProperties
Inherited from ZenPacker.ZenPacker :
addToZenPack ,
eligiblePacks ,
findObject
|