Package com.axemble.vdoc.sdk.impl
Class PortalResourceHistory
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalResourceHistory
- All Implemented Interfaces:
IResourceHistory,Serializable
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceHistory
IResourceHistory.IEvent, IResourceHistory.ISnapshot -
Field Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPortalResourceHistory(IModule module, IResource resource) -
Method Summary
Modifier 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 addresse, 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.Gets the list ofIResourceHistory.IEventobjects.Gets the list of snapshots.Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
-
Field Details
-
resource
-
-
Constructor Details
-
PortalResourceHistory
-
-
Method Details
-
addEvent
Description copied from interface:IResourceHistoryAllows to add a custom event the the history of the document.- Specified by:
addEventin interfaceIResourceHistory- Parameters:
event- TheIResourceHistory.IEventobject to add.
-
addEvent
public void addEvent(String name, String source, IUser fulfiller, IUser addresse, String description, String doneBy) Description copied from interface:IResourceHistoryAllows to create and add a custom event.- Specified by:
addEventin interfaceIResourceHistory- Parameters:
name- The system name of the performed action.source- The system name of the current task.fulfiller- The person who performed the action.addresse- The person for whom the action was performed.description- The comment of the fulfiller.doneBy- The role of the fulfiller.
-
getEvents
Description copied from interface:IResourceHistoryGets the list ofIResourceHistory.IEventobjects.- Specified by:
getEventsin interfaceIResourceHistory- Returns:
- A java.util.Collection of
IResourceHistory.IEventobjects.
-
addSnapshot
Description copied from interface:IResourceHistoryAllows to add a snapshot to a document.- Specified by:
addSnapshotin interfaceIResourceHistory- Parameters:
snapshot- TheIResourceHistory.ISnapshotobject to add.
-
addSnapshot
Description copied from interface:IResourceHistoryAllows to create a snapshot and add it to a document.- Specified by:
addSnapshotin interfaceIResourceHistory- Parameters:
description- The description of the snapshot.fulfiller- The person who create the snapshot.
-
getSnapshots
Description copied from interface:IResourceHistoryGets the list of snapshots.- Specified by:
getSnapshotsin interfaceIResourceHistory- Returns:
- A java.util.Collection of
IResourceHistory.ISnapshotobjects.
-