Package com.axemble.vdoc.sdk.interfaces
Interface IResourceHistory
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- PortalResourceHistory,- ProcessResourceHistory
This class represents the history of a resource.
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe document event structure.static interfaceThe snapshot structure.
- 
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.
- 
Method Details- 
addEventAllows to add a custom event the the history of the document.- Parameters:
- event- The- IResourceHistory.IEventobject to add.
 
- 
addEventvoid addEvent(String name, String source, IUser fulfiller, IUser addressee, String description, String doneBy) Allows to create and add a custom event.- 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.
 
- 
getEventsCollection<? extends IResourceHistory.IEvent> getEvents()Gets the list ofIResourceHistory.IEventobjects.- Returns:
- A java.util.Collection of IResourceHistory.IEventobjects.
 
- 
addSnapshotAllows to add a snapshot to a document.- Parameters:
- snapshot- The- IResourceHistory.ISnapshotobject to add.
 
- 
addSnapshotAllows to create a snapshot and add it to a document.- Parameters:
- description- The description of the snapshot.
- fulfiller- The person who create the snapshot.
 
- 
getSnapshotsCollection<? extends IResourceHistory.ISnapshot> getSnapshots()Gets the list of snapshots.- Returns:
- A java.util.Collection of IResourceHistory.ISnapshotobjects.
 
 
-