Class TaskOperationView
- java.lang.Object
-
- org.jbpm.persistence.api.integration.model.TaskOperationView
-
- All Implemented Interfaces:
Serializable,InstanceView<org.kie.api.task.TaskEvent>
public class TaskOperationView extends Object implements InstanceView<org.kie.api.task.TaskEvent>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskOperationView(org.kie.api.task.TaskEvent taskEvent, org.kie.internal.task.api.model.TaskEvent.TaskEventType type, org.kie.api.task.TaskLifeCycleEventListener.AssignmentType assignType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyFromSource()Triggers to copy data from source to view.org.kie.api.task.TaskLifeCycleEventListener.AssignmentTypegetAssignType()StringgetCompositeId()Returns the id of the view.DategetDate()org.kie.api.task.TaskEventgetSource()Returns "raw" object instance for this vieworg.kie.internal.task.api.model.TaskEvent.TaskEventTypegetType()StringgetUserId()StringtoString()
-
-
-
Method Detail
-
getType
public org.kie.internal.task.api.model.TaskEvent.TaskEventType getType()
-
getAssignType
public org.kie.api.task.TaskLifeCycleEventListener.AssignmentType getAssignType()
-
getUserId
public String getUserId()
-
getDate
public Date getDate()
-
copyFromSource
public void copyFromSource()
Description copied from interface:InstanceViewTriggers to copy data from source to view. Different implementations of the view might have different needs on when this would happen. PersistentEventManager will invoke it before delivering if it was not done before.- Specified by:
copyFromSourcein interfaceInstanceView<org.kie.api.task.TaskEvent>
-
getSource
public org.kie.api.task.TaskEvent getSource()
Description copied from interface:InstanceViewReturns "raw" object instance for this view- Specified by:
getSourcein interfaceInstanceView<org.kie.api.task.TaskEvent>- Returns:
- source of this view
-
getCompositeId
public String getCompositeId()
Description copied from interface:InstanceViewReturns the id of the view. Might be used by implementors to determine if two views are representations of the same underlying object- Specified by:
getCompositeIdin interfaceInstanceView<org.kie.api.task.TaskEvent>
-
-