public interface IResourceHistory extends Serializable
IResourceHistory.IEvent,
IResourceHistory.ISnapshot,
IWorkflowInstance,
ILinkedResource| Modifier and Type | Interface and Description |
|---|---|
static interface |
IResourceHistory.IEvent
The document event structure.
|
static interface |
IResourceHistory.ISnapshot
The snapshot structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(IResourceHistory.IEvent event)
Allows to add a custom event the the history of the document.
|
void |
addEvent(String name,
String source,
IUser fulfiller,
IUser addressee,
String description,
String doneBy)
Allows to create and add a custom event.
|
void |
addSnapshot(IResourceHistory.ISnapshot snapshot)
Allows to add a snapshot to a document.
|
void |
addSnapshot(String description,
IUser fulfiller)
Allows to create a snapshot and add it to a document.
|
Collection<? extends IResourceHistory.IEvent> |
getEvents()
Gets the list of
IResourceHistory.IEvent objects. |
Collection<? extends IResourceHistory.ISnapshot> |
getSnapshots()
Gets the list of snapshots.
|
void addEvent(IResourceHistory.IEvent event)
event - The IResourceHistory.IEvent object to add.void addEvent(String name, String source, IUser fulfiller, IUser addressee, String description, String doneBy)
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.Collection<? extends IResourceHistory.IEvent> getEvents()
IResourceHistory.IEvent objects.IResourceHistory.IEvent objects.void addSnapshot(IResourceHistory.ISnapshot snapshot)
snapshot - The IResourceHistory.ISnapshot object to add.void addSnapshot(String description, IUser fulfiller)
description - The description of the snapshot.fulfiller - The person who create the snapshot.Collection<? extends IResourceHistory.ISnapshot> getSnapshots()
IResourceHistory.ISnapshot objects.Copyright © 2021 Visiativ Software. All rights reserved.