class documentation

class ZMSMetacmdProviderAcquired(ZMSMetacmdProvider.ZMSMetacmdProvider): (source)

Constructor: ZMSMetacmdProviderAcquired(commands)

Implements interfaces: Products.zms.IZMSMetacmdProvider.IZMSMetacmdProvider

View In Hierarchy

Delegate metacommand definitions to the portal master.

Method __init__ Initialize the acquired metacommand manager stub.
Method getMetaCmdDescription Return a metacommand description from the portal master.
Method getMetaCmdIds Return metacommand ids from the portal master.
Method getMetaCmds Return metacommand definitions from the portal master.
Class Variable meta_type Undocumented
Instance Variable id Undocumented
def __init__(self, commands=[]): (source)

Initialize the acquired metacommand manager stub.

Parameters
commands:listUnused compatibility argument.
def getMetaCmdDescription(self, id): (source)

Return a metacommand description from the portal master.

Parameters
id:strMetacommand identifier.
Returns
strMetacommand description text.
def getMetaCmdIds(self, sort=True): (source)

Return metacommand ids from the portal master.

Parameters
sort:boolSort the command ids when true.
Returns
listMetacommand identifiers.
def getMetaCmds(self, context=None, stereotype='', sort=True): (source)

Return metacommand definitions from the portal master.

Parameters
context:objectOptional content context used for filtering.
stereotype:strOptional command stereotype filter.
sort:boolSort the command list when true.
Returns
listMetacommand definitions marked as acquired.
meta_type: str = (source)

Undocumented

Undocumented