Package org.jbpm.services.task.commands
Class SetTaskPropertyCommand
- java.lang.Object
-
- org.jbpm.services.task.commands.TaskCommand<T>
-
- org.jbpm.services.task.commands.UserGroupCallbackTaskCommand<Void>
-
- org.jbpm.services.task.commands.SetTaskPropertyCommand
-
- All Implemented Interfaces:
Serializable,org.kie.api.command.Command<Void>,org.kie.api.command.ExecutableCommand<Void>
public class SetTaskPropertyCommand extends UserGroupCallbackTaskCommand<Void>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDESCRIPTION_PROPERTYstatic intEXPIRATION_DATE_PROPERTYstatic intFAULT_PROPERTYstatic intOUTPUT_PROPERTYstatic intPRIORITY_PROPERTYstatic intSKIPPABLE_PROPERTYstatic intSUB_TASK_STRATEGY_PROPERTYstatic intTASK_NAMES_PROPERTY-
Fields inherited from class org.jbpm.services.task.commands.TaskCommand
groupIds, targetEntityId, taskId, userId
-
-
Constructor Summary
Constructors Constructor Description SetTaskPropertyCommand()SetTaskPropertyCommand(long taskId, String userId, Integer property, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidexecute(org.kie.api.runtime.Context cntxt)DategetExpirationDate()JaxbFaultDatagetFaultData()List<JaxbI18NText>getNamesOrDescriptions()ObjectgetOutput()IntegergetPriority()IntegergetProperty()BooleangetSkippable()org.kie.internal.task.api.model.SubTasksStrategygetSubTasksStrategy()voidsetExpirationDate(Date expirationDate)voidsetFaultData(JaxbFaultData faultData)voidsetNamesOrDescriptions(List<JaxbI18NText> namesOrDescriptions)voidsetOutput(Object output)voidsetPriority(Integer priority)voidsetProperty(Integer name)voidsetSkippable(Boolean skippable)voidsetSubTasksStrategy(org.kie.internal.task.api.model.SubTasksStrategy subTasksStrategy)-
Methods inherited from class org.jbpm.services.task.commands.UserGroupCallbackTaskCommand
addEmailFromCallbackOperation, addGroupFromCallbackOperation, addUserFromCallbackOperation, doCallbackAndReturnUserOperation, doCallbackEmailOperation, doCallbackGroupOperation, doCallbackGroupsOperation, doCallbackOperationForAttachment, doCallbackOperationForComment, doCallbackOperationForPeopleAssignments, doCallbackOperationForPotentialOwners, doCallbackOperationForTaskData, doCallbackOperationForTaskDeadlines, doCallbackUserOperation, doCallbackUserOperation, doUserGroupCallbackOperation, filterGroups, isBusinessAdmin, persistIfNotExists
-
Methods inherited from class org.jbpm.services.task.commands.TaskCommand
getGroupsIds, getTargetEntityId, getTaskId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, setUserId
-
-
-
-
Field Detail
-
FAULT_PROPERTY
public static final int FAULT_PROPERTY
- See Also:
- Constant Field Values
-
OUTPUT_PROPERTY
public static final int OUTPUT_PROPERTY
- See Also:
- Constant Field Values
-
PRIORITY_PROPERTY
public static final int PRIORITY_PROPERTY
- See Also:
- Constant Field Values
-
TASK_NAMES_PROPERTY
public static final int TASK_NAMES_PROPERTY
- See Also:
- Constant Field Values
-
EXPIRATION_DATE_PROPERTY
public static final int EXPIRATION_DATE_PROPERTY
- See Also:
- Constant Field Values
-
DESCRIPTION_PROPERTY
public static final int DESCRIPTION_PROPERTY
- See Also:
- Constant Field Values
-
SKIPPABLE_PROPERTY
public static final int SKIPPABLE_PROPERTY
- See Also:
- Constant Field Values
-
SUB_TASK_STRATEGY_PROPERTY
public static final int SUB_TASK_STRATEGY_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperty
public Integer getProperty()
-
setProperty
public void setProperty(Integer name)
-
getFaultData
public JaxbFaultData getFaultData()
-
setFaultData
public void setFaultData(JaxbFaultData faultData)
-
getOutput
public Object getOutput()
-
setOutput
public void setOutput(Object output)
-
getPriority
public Integer getPriority()
-
setPriority
public void setPriority(Integer priority)
-
getNamesOrDescriptions
public List<JaxbI18NText> getNamesOrDescriptions()
-
setNamesOrDescriptions
public void setNamesOrDescriptions(List<JaxbI18NText> namesOrDescriptions)
-
getExpirationDate
public Date getExpirationDate()
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
-
getSkippable
public Boolean getSkippable()
-
setSkippable
public void setSkippable(Boolean skippable)
-
getSubTasksStrategy
public org.kie.internal.task.api.model.SubTasksStrategy getSubTasksStrategy()
-
setSubTasksStrategy
public void setSubTasksStrategy(org.kie.internal.task.api.model.SubTasksStrategy subTasksStrategy)
-
execute
public Void execute(org.kie.api.runtime.Context cntxt)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Void>- Overrides:
executein classUserGroupCallbackTaskCommand<Void>
-
-