Class ProcessFlowDescriptor
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.processflow.ProcessFlowDescriptor
- All Implemented Interfaces:
Identifiable,Serializable
- Direct Known Subclasses:
ProcessFlow
A lightweight client that represents a process flow. See
ProcessFlow for details.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe statuses of a process flow. -
Constructor Summary
ConstructorsConstructorDescriptionProcessFlowDescriptor(String id, String contextId, String contextPath, String name, String description, ProcessFlowDescriptor.FlowStatus status, String owner, ProcessDefinitionInfo processDefinitionInfo, String createdBy, Date created, String lastModifiedBy, Date lastModified, long revision, AutoFlowType autoFlowType) The initializing constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the type of the source from which the process flow was automatically created.Gets the context of the process flow.Gets the path of the context of the process flow.Gets the date on which the process flow was created.Gets the userId of the user who created the process flow.Gets the description of the process flow.Gets the date on which the process flow was last modified.Gets the userId of the user who last modified the process flow.getName()Gets the name of the process flow.getOwner()Gets the userId of the owner of the process flow.Gets the process flow definition information that was used to create the process flow.longGets the internal revision number of the process flow object.Gets the status of the process flow.inthashCode()voidsetDescription(String description) Sets the description of the process flow.voidSets the name of the process flow.voidSets the userId of the owner of the process flow.toString()Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
ProcessFlowDescriptor
public ProcessFlowDescriptor(String id, String contextId, String contextPath, String name, String description, ProcessFlowDescriptor.FlowStatus status, String owner, ProcessDefinitionInfo processDefinitionInfo, String createdBy, Date created, String lastModifiedBy, Date lastModified, long revision, AutoFlowType autoFlowType) The initializing constructor.- Parameters:
id- The unique identifier of the process flow.contextId- The identifier of the context in which the process flow was created.contextPath- The path of the context in which the process flow was created.name- The name of the process flow.description- The description of the process flow.status- The status of the process flow.owner- The owner of the process flow.processDefinitionInfo- The process flow definition information of the process flow.createdBy- The user who created the process flow.created- The date on which the process flow was created.lastModifiedBy- The user who last modified the process flow.lastModified- The date on which the process flow was last modified.revision- The internal revision number.autoFlowType- The type of the source from which the process flow was automatically created.- Since:
- 2.4
-
-
Method Details
-
getName
Gets the name of the process flow.- Returns:
- The name.
-
setName
Sets the name of the process flow.- Parameters:
name- The name.
-
getContextId
Gets the context of the process flow.- Returns:
- The context.
-
getContextPath
Gets the path of the context of the process flow.- Returns:
- The path.
-
getDescription
Gets the description of the process flow.- Returns:
- The description.
-
setDescription
Sets the description of the process flow.- Parameters:
description- The description.
-
getLastModified
Gets the date on which the process flow was last modified.- Returns:
- The date.
-
getLastModifiedBy
Gets the userId of the user who last modified the process flow.- Returns:
- The userId.
-
getCreated
Gets the date on which the process flow was created.- Returns:
- The date on which the process flow was created.
-
getCreatedBy
Gets the userId of the user who created the process flow.- Returns:
- The userId.
-
getOwner
Gets the userId of the owner of the process flow.- Returns:
- The userId.
-
setOwner
Sets the userId of the owner of the process flow.- Parameters:
owner- The userId.
-
getStatus
Gets the status of the process flow.- Returns:
- The status.
-
getProcessDefinitionInfo
Gets the process flow definition information that was used to create the process flow.- Returns:
- The process flow definition information.
-
getRevision
public long getRevision()Gets the internal revision number of the process flow object.- Returns:
- The internal revision number.
-
getAutoFlowType
Gets the type of the source from which the process flow was automatically created. If the process flow was created manually, null is returned.- Returns:
- The type of the source from which the process flow was automatically created.
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractIdentifiable
-
equals
- Overrides:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-