Package org.jbpm.services.task.commands
Class GetContentByIdForUserCommand
- java.lang.Object
-
- org.jbpm.services.task.commands.TaskCommand<T>
-
- org.jbpm.services.task.commands.UserGroupCallbackTaskCommand<org.kie.api.task.model.Content>
-
- org.jbpm.services.task.commands.GetContentByIdForUserCommand
-
- All Implemented Interfaces:
Serializable
,org.kie.api.command.Command<org.kie.api.task.model.Content>
,org.kie.api.command.ExecutableCommand<org.kie.api.task.model.Content>
public class GetContentByIdForUserCommand extends UserGroupCallbackTaskCommand<org.kie.api.task.model.Content>
- 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 GetContentByIdForUserCommand()
GetContentByIdForUserCommand(Long contentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.task.model.Content
execute(org.kie.api.runtime.Context cntxt)
Long
getContentId()
void
setContentId(Long contentId)
-
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
-
GetContentByIdForUserCommand
public GetContentByIdForUserCommand()
-
GetContentByIdForUserCommand
public GetContentByIdForUserCommand(Long contentId)
-
-
Method Detail
-
getContentId
public Long getContentId()
-
setContentId
public void setContentId(Long contentId)
-
execute
public org.kie.api.task.model.Content execute(org.kie.api.runtime.Context cntxt)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<org.kie.api.task.model.Content>
- Overrides:
execute
in classUserGroupCallbackTaskCommand<org.kie.api.task.model.Content>
-
-