Class WorkflowStep
java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.WorkflowStep
- All Implemented Interfaces:
Serializable
Class representing a workflow step in Planner REST Service.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowStep(String id, String name, String description, String personId, String fatherId, String processId, Integer emailsend, String emailsubject, String emailtext, String teamId, Integer finishSet, boolean deleted, Integer firstTodo, Integer lastTodo, String addPersonRule, Integer sort, int type, int generateTodo, Integer automaticGenerateTodo, int defaultDurationType, String defaultDurationValue, String serverJobName, String serverJobLabel, String serverJobHelptext, int serverJobExecutionType, String serverJobExecutionDatetime) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleangetServerJobParams()addPersonRule of the WorkflowStepautomaticGenerateTodo of the WorkflowStepintdefaultDurationType of the WorkflowStepdefaultDurationValue of the WorkflowStepdescription of the WorkflowStepemailsend of the WorkflowStepemailsubject of the WorkflowStepemailtext of the WorkflowStepfatherId of the WorkflowStepfinishSet of the WorkflowStepfirstTodo of the WorkflowStepintgenerateTodo of the WorkflowStepgetId()id of the WorkflowSteplastTodo of the WorkflowStepgetLinks()links of the WorkflowStepgetName()name of the WorkflowStepintnextActionEnum of the WorkflowStep 0 - undefined, 0 - onsucces , 1 - onBusinessError, 2 - onTechnicalErrornextActionIdOnBussinessError of the WorkflowStepnextActionIdOnSucess of the WorkflowStepnextActionIdOnTechnicalError of the WorkflowSteppersonId of the WorkflowStepintserver job priority of the WorkflowStepprocessId of the WorkflowStepserverJobExecutionDatetime of the WorkflowStepintserverJobExecutionType of the WorkflowStepserverJobHelptext of the WorkflowStepserverJobLabel of the WorkflowStepserverJobName of the WorkflowStepserverJobParams of the WorkflowStepgetSort()sort of the WorkflowStepteamId of the WorkflowStepintgetType()type of the WorkflowStepintworkflowStepType of the WorkflowStepbooleandeleted flag of the WorkflowStepvoidputServerJobParams(String key, String value) voidsetAddPersonRule(String addPersonRule) voidsetAutomaticGenerateTodo(Integer automaticGenerateTodo) voidsetDefaultDurationType(int defaultDurationType) voidsetDefaultDurationValue(String defaultDurationValue) voidsetDeleted(boolean deleted) voidsetDescription(String description) voidsetEmailsend(Integer emailsend) voidsetEmailsubject(String emailsubject) voidsetEmailtext(String emailtext) voidsetFatherId(String fatherId) voidsetFinishSet(Integer finishSet) voidsetFirstTodo(Integer firstTodo) voidsetGenerateTodo(int generateTodo) voidvoidsetLastTodo(Integer lastTodo) voidvoidsetNextActionEnum(int nextActionEnum) voidsetNextActionIdOnBussinessError(String nextActionIdOnBussinessError) voidsetNextActionIdOnSucess(String nextActionIdOnSucess) voidsetNextActionIdOnTechnicalError(String nextActionIdOnTechnicalError) voidsetPersonId(String personId) voidsetPriority(int priority) voidsetProcessId(String processId) voidsetServerJobExecutionDatetime(String serverJobExecutionDatetime) voidsetServerJobExecutionType(int serverJobExecutionType) voidsetServerJobHelptext(String serverJobHelptext) voidsetServerJobLabel(String serverJobLabel) voidsetServerJobName(String serverJobName) voidvoidvoidsetType(int type) voidsetWorkflowStepType(int workflowStepType) Methods inherited from class com.priint.pubserver.plannerapi.resource.PlannerApiResource
getStatuscode, getStatusmessage, setStatuscode, setStatusmessage
-
Constructor Details
-
WorkflowStep
public WorkflowStep() -
WorkflowStep
public WorkflowStep(String id, String name, String description, String personId, String fatherId, String processId, Integer emailsend, String emailsubject, String emailtext, String teamId, Integer finishSet, boolean deleted, Integer firstTodo, Integer lastTodo, String addPersonRule, Integer sort, int type, int generateTodo, Integer automaticGenerateTodo, int defaultDurationType, String defaultDurationValue, String serverJobName, String serverJobLabel, String serverJobHelptext, int serverJobExecutionType, String serverJobExecutionDatetime)
-
-
Method Details
-
getId
id of the WorkflowStep -
setId
-
getName
name of the WorkflowStep -
setName
-
getDescription
description of the WorkflowStep -
setDescription
-
getPersonId
personId of the WorkflowStep -
setPersonId
-
getFatherId
fatherId of the WorkflowStep -
setFatherId
-
getProcessId
processId of the WorkflowStep -
setProcessId
-
getEmailsend
emailsend of the WorkflowStep -
setEmailsend
-
getEmailsubject
emailsubject of the WorkflowStep -
setEmailsubject
-
getEmailtext
emailtext of the WorkflowStep -
setEmailtext
-
getTeamId
teamId of the WorkflowStep -
setTeamId
-
getFinishSet
finishSet of the WorkflowStep -
setFinishSet
-
isDeleted
public boolean isDeleted()deleted flag of the WorkflowStep -
setDeleted
public void setDeleted(boolean deleted) -
getFirstTodo
firstTodo of the WorkflowStep -
setFirstTodo
-
getLastTodo
lastTodo of the WorkflowStep -
setLastTodo
-
getAddPersonRule
addPersonRule of the WorkflowStep -
setAddPersonRule
-
getSort
sort of the WorkflowStep -
setSort
-
getType
public int getType()type of the WorkflowStep -
setType
public void setType(int type) -
getGenerateTodo
public int getGenerateTodo()generateTodo of the WorkflowStep -
setGenerateTodo
public void setGenerateTodo(int generateTodo) -
getAutomaticGenerateTodo
automaticGenerateTodo of the WorkflowStep -
setAutomaticGenerateTodo
-
getDefaultDurationType
public int getDefaultDurationType()defaultDurationType of the WorkflowStep -
setDefaultDurationType
public void setDefaultDurationType(int defaultDurationType) -
getDefaultDurationValue
defaultDurationValue of the WorkflowStep -
setDefaultDurationValue
-
getServerJobName
serverJobName of the WorkflowStep -
setServerJobName
-
getServerJobLabel
serverJobLabel of the WorkflowStep -
setServerJobLabel
-
getServerJobHelptext
serverJobHelptext of the WorkflowStep -
setServerJobHelptext
-
getServerJobExecutionType
public int getServerJobExecutionType()serverJobExecutionType of the WorkflowStep -
setServerJobExecutionType
public void setServerJobExecutionType(int serverJobExecutionType) -
getServerJobExecutionDatetime
serverJobExecutionDatetime of the WorkflowStep -
setServerJobExecutionDatetime
public void setServerJobExecutionDatetime(String serverJobExecutionDatetime) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
getWorkflowStepType
public int getWorkflowStepType()workflowStepType of the WorkflowStep -
setWorkflowStepType
public void setWorkflowStepType(int workflowStepType) -
getServerJobParams
serverJobParams of the WorkflowStep -
cleanServerJobParams
public void cleanServerJobParams()cleangetServerJobParams() -
putServerJobParams
-
getNextActionIdOnSucess
nextActionIdOnSucess of the WorkflowStep -
setNextActionIdOnSucess
-
getNextActionIdOnBussinessError
nextActionIdOnBussinessError of the WorkflowStep -
setNextActionIdOnBussinessError
-
getNextActionIdOnTechnicalError
nextActionIdOnTechnicalError of the WorkflowStep -
setNextActionIdOnTechnicalError
-
getLinks
links of the WorkflowStep -
getNextActionEnum
public int getNextActionEnum()nextActionEnum of the WorkflowStep 0 - undefined, 0 - onsucces , 1 - onBusinessError, 2 - onTechnicalError -
setNextActionEnum
public void setNextActionEnum(int nextActionEnum) -
getPriority
public int getPriority()server job priority of the WorkflowStep -
setPriority
public void setPriority(int priority)
-