Package org.jbpm.services.task.commands
Class AddContentFromUserCommand
- java.lang.Object
-
- org.jbpm.services.task.commands.TaskCommand<T>
-
- org.jbpm.services.task.commands.UserGroupCallbackTaskCommand<Long>
-
- org.jbpm.services.task.commands.AddContentFromUserCommand
-
- All Implemented Interfaces:
Serializable
,org.kie.api.command.Command<Long>
,org.kie.api.command.ExecutableCommand<Long>
public class AddContentFromUserCommand extends UserGroupCallbackTaskCommand<Long>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jbpm.services.task.commands.TaskCommand
groupIds, targetEntityId, taskId, userId
-
-
Constructor Summary
Constructors Constructor Description AddContentFromUserCommand()
AddContentFromUserCommand(long taskId, String userId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
execute(org.kie.api.runtime.Context cntxt)
byte[]
getDocumentContentBytes()
Map<String,Object>
getOutputContentMap()
void
setDocumentContentBytes(byte[] documentContentBytes)
void
setOutputContentMap(Map<String,Object> outputContentMap)
-
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
-
-
-
-
Constructor Detail
-
AddContentFromUserCommand
public AddContentFromUserCommand()
-
AddContentFromUserCommand
public AddContentFromUserCommand(long taskId, String userId)
-
-
Method Detail
-
getDocumentContentBytes
public byte[] getDocumentContentBytes()
-
setDocumentContentBytes
public void setDocumentContentBytes(byte[] documentContentBytes)
-
execute
public Long execute(org.kie.api.runtime.Context cntxt)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<Long>
- Overrides:
execute
in classUserGroupCallbackTaskCommand<Long>
-
-