Package com.axemble.vdoc.sdk.impl
Class ProcessResourceHistory
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.ProcessResourceHistory
- All Implemented Interfaces:
- IResourceHistory,- Serializable
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceHistoryIResourceHistory.IEvent, IResourceHistory.ISnapshot
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.workflow.domain.WorkflowInstanceFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedProcessResourceHistory(IModule module, IWorkflowInstance workflowInstance) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddEvent(IResourceHistory.IEvent event) Allows to add a custom event the the history of the document.voidaddEvent(String name, String source, IUser fulfiller, IUser addressee, String description, String doneBy) Allows to create and add a custom event.voidaddSnapshot(IResourceHistory.ISnapshot snapshot) Allows to add a snapshot to a document.voidaddSnapshot(String description, IUser fulfiller) Allows to create a snapshot and add it to a document.Collection<? extends IResourceHistory.IEvent> Gets the list ofIResourceHistory.IEventobjects.Collection<? extends IResourceHistory.ISnapshot> Gets the list of snapshots.Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModule
- 
Field Details- 
workflowInstanceprotected com.axemble.vdp.workflow.domain.WorkflowInstance workflowInstance
 
- 
- 
Constructor Details- 
ProcessResourceHistory
 
- 
- 
Method Details- 
addEventpublic void addEvent(String name, String source, IUser fulfiller, IUser addressee, String description, String doneBy) Description copied from interface:IResourceHistoryAllows to create and add a custom event.- Specified by:
- addEventin interface- IResourceHistory
- Parameters:
- name- The system name of the performed action.
- source- The system name of the current task.
- fulfiller- The person who performed the action.
- addressee- The person for whom the action was performed.
- description- The comment of the fulfiller.
- doneBy- The role of the fulfiller.
 
- 
addEventDescription copied from interface:IResourceHistoryAllows to add a custom event the the history of the document.- Specified by:
- addEventin interface- IResourceHistory
- Parameters:
- event- The- IResourceHistory.IEventobject to add.
 
- 
getEventsDescription copied from interface:IResourceHistoryGets the list ofIResourceHistory.IEventobjects.- Specified by:
- getEventsin interface- IResourceHistory
- Returns:
- A java.util.Collection of IResourceHistory.IEventobjects.
 
- 
addSnapshotDescription copied from interface:IResourceHistoryAllows to add a snapshot to a document.- Specified by:
- addSnapshotin interface- IResourceHistory
- Parameters:
- snapshot- The- IResourceHistory.ISnapshotobject to add.
 
- 
addSnapshotDescription copied from interface:IResourceHistoryAllows to create a snapshot and add it to a document.- Specified by:
- addSnapshotin interface- IResourceHistory
- Parameters:
- description- The description of the snapshot.
- fulfiller- The person who create the snapshot.
 
- 
getSnapshotsDescription copied from interface:IResourceHistoryGets the list of snapshots.- Specified by:
- getSnapshotsin interface- IResourceHistory
- Returns:
- A java.util.Collection of IResourceHistory.ISnapshotobjects.
 
 
-