class documentation

class ZMSWorkflowProviderAcquired(ZMSItem.ZMSItem): (source)

Constructor: ZMSWorkflowProviderAcquired(autocommit, nodes)

Implements interfaces: Products.zms.IZMSConfigurationProvider.IZMSConfigurationProvider, Products.zms.IZMSWorkflowProvider.IZMSWorkflowProvider

View In Hierarchy

Delegate workflow settings and definitions to the portal master.

Method __init__ Initialize the acquired workflow manager stub.
Method doAutocommit Trigger a workflow autocommit run through the shared provider.
Method getActivities Return workflow activities from the portal master.
Method getActivity Return a workflow activity definition from the portal master.
Method getActivityDetails Return detailed workflow activity information from the portal master.
Method getActivityIds Return workflow activity ids from the portal master.
Method getAutocommit Return whether workflow autocommit is enabled locally.
Method getNodes Return workflow-enabled node paths.
Method getTransition Return a workflow transition definition from the portal master.
Method getTransitionIds Return workflow transition ids from the portal master.
Method getTransitions Return workflow transitions from the portal master.
Method manage_changeWorkflow Handle ZMI updates for acquired workflow settings.
Method manage_options Return parent management tabs with local relative actions.
Method manage_sub_options Return the workflow manager sub tabs shown in the ZMI.
Class Variable manage Undocumented
Class Variable manage_main Undocumented
Class Variable manage_options_default_action Undocumented
Class Variable manage_sub_options__roles__ Undocumented
Class Variable meta_type Undocumented
Class Variable zmi_icon Undocumented
Instance Variable autocommit Undocumented
Instance Variable id Undocumented
Instance Variable nodes Undocumented
def __init__(self, autocommit=1, nodes=['{$}']): (source)

Initialize the acquired workflow manager stub.

Parameters
autocommit:intFlag controlling automatic workflow commits.
nodes:listWorkflow-enabled node paths.
def doAutocommit(self, lang, REQUEST): (source)

Trigger a workflow autocommit run through the shared provider.

Parameters
lang:strActive UI language.
REQUEST:ZPublisher.HTTPRequestThe active HTTP request.
def getActivities(self): (source)

Return workflow activities from the portal master.

def getActivity(self, id): (source)

Return a workflow activity definition from the portal master.

Parameters
id:strActivity identifier.
Returns
dictWorkflow activity definition.
def getActivityDetails(self, id): (source)

Return detailed workflow activity information from the portal master.

Parameters
id:strActivity identifier.
Returns
dictDetailed workflow activity information.
def getActivityIds(self): (source)

Return workflow activity ids from the portal master.

def getAutocommit(self): (source)

Return whether workflow autocommit is enabled locally.

def getNodes(self): (source)

Return workflow-enabled node paths.

def getTransition(self, id, for_export=False): (source)

Return a workflow transition definition from the portal master.

Parameters
id:strTransition identifier.
for_export:boolInclude export-safe payload details when true.
Returns
dictWorkflow transition definition.
def getTransitionIds(self): (source)

Return workflow transition ids from the portal master.

def getTransitions(self): (source)

Return workflow transitions from the portal master.

def manage_changeWorkflow(self, lang, key='', btn='', REQUEST=None, RESPONSE=None): (source)

Handle ZMI updates for acquired workflow settings.

Parameters
lang:strActive UI language.
key:strEdited settings section.
btn:strSubmitted button id.
REQUEST:ZPublisher.HTTPRequestThe active HTTP request.
RESPONSE:ZPublisher.HTTPResponseThe active HTTP response.
Returns
objectRedirect response.
def manage_options(self): (source)

Return parent management tabs with local relative actions.

def manage_sub_options(self): (source)

Return the workflow manager sub tabs shown in the ZMI.

Undocumented

manage_main = (source)

Undocumented

manage_options_default_action: str = (source)

Undocumented

manage_sub_options__roles__ = (source)

Undocumented

meta_type: str = (source)

Undocumented

zmi_icon: str = (source)

Undocumented

autocommit = (source)

Undocumented

Undocumented

Undocumented