Package com.axemble.vdoc.sdk.interfaces
Interface ITask
- All Superinterfaces:
- IConnectorParentContextSupport,- IDelegationSupport,- IElement,- ILocalizationScope,- IProtocolSupport,- ISearchSupport,- Serializable
- All Known Subinterfaces:
- IActionTask,- IApplicationTask,- IDecisionTask,- IManualTask
public interface ITask
extends IElement, ISearchSupport, IDelegationSupport, ILocalizationScope, IConnectorParentContextSupport
This class represents the definition of a class.
- Since:
- v1.0
- Version:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDefines the treatment available types.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves an action by its name.Collection<? extends IAction> Retrieves a the actions of a task.longgetDelay()Gets the available delay to execute the task.Retrieves theIActionto execute if late.getForm()Gets theIFormassociated with the task.getLabel()Gets the label of the task.Gets the label of the task.getMailForm(int type) Gets theIMailFormassociated with the task.getName()Gets the system name of the task.Gets the associatedIOperatorRoleif the task is manual.getRole()Deprecated.use getOperatorRole() method instead.Gets the frequency to send a warning emailRetrieves the workflow of the task.booleanChecks if the current task allows abort operation.booleanChecks if the current task allows delegation operation.booleanChecks if the current task allows remind operation.voidsetDelay(long delay) Sets the delay of the task.voidsetSendWarningFrequency(String frequency) Sets the frequency to send a warning emailMethods inherited from interface com.axemble.vdoc.sdk.supports.IConnectorParentContextSupportgetParentContextMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Method Details- 
getNameString getName()Gets the system name of the task.- Returns:
- A java.lang.String value.
 
- 
getLabelString getLabel()Gets the label of the task.- Returns:
- A java.lang.String value.
 
- 
getLabelGets the label of the task.- Returns:
- A java.lang.String value.
 
- 
getDescriptionString getDescription()- Returns:
- The description of the task
 
- 
getSendWarningFrequencyString getSendWarningFrequency()Gets the frequency to send a warning email- Returns:
- The frequency.
 
- 
setSendWarningFrequencySets the frequency to send a warning email- Parameters:
- frequency- The frequency (DAY, MONDAY, TUESDAY, ...).
 
- 
getDelaylong getDelay()Gets the available delay to execute the task.- Returns:
- The delay in seconds.
 
- 
setDelayvoid setDelay(long delay) Sets the delay of the task.- Parameters:
- delay- The delay in seconds.
 
- 
getDelayActionIAction getDelayAction()Retrieves theIActionto execute if late.- Returns:
- A IActionobject.
 
- 
getActionRetrieves an action by its name.- Parameters:
- name- The system name of the action.
- Returns:
- A IActionobject.
 
- 
getActionsCollection<? extends IAction> getActions()Retrieves a the actions of a task.- Returns:
- A collection of IActionobjects.
 
- 
getWorkflowIWorkflow getWorkflow()Retrieves the workflow of the task.- Returns:
- A IWorkflowobject.
 
- 
getRoleDeprecated.use getOperatorRole() method instead.Gets the associatedIOperatorRoleif the task is manual.- Returns:
- A IRoleobject.
 
- 
getOperatorRoleIOperatorRole getOperatorRole()Gets the associatedIOperatorRoleif the task is manual.- Returns:
- A IOperatorRoleobject.
 
- 
getFormIForm getForm()Gets theIFormassociated with the task.- Returns:
- A IFormobject.
 
- 
getMailFormGets theIMailFormassociated with the task.- Parameters:
- type- The type of the mail form.
- Returns:
- A IMailFormobject.
 
- 
isAbortAllowedboolean isAbortAllowed()Checks if the current task allows abort operation.- Returns:
- true if the task allows abort operation, false otherwise.
 
- 
isReminderAllowedboolean isReminderAllowed()Checks if the current task allows remind operation.- Returns:
- true if the task allows remind operation, false otherwise.
 
- 
isDelegationAllowedboolean isDelegationAllowed()Checks if the current task allows delegation operation.- Returns:
- true if the task allows delegation operation, false otherwise.
 
 
-