<< Click to Display Table of Contents >>
IRepositoryHistory
This interface provides information on the item's change history.
Property Detail
AccessType
HistoryAccess AccessType
Gets the methods with access to the Item History Interface as numerals.
Repository
IRepository Repository
Gets the object where the IRepository Interface is implemented.
Method Detail
RollBack
bool RollBack(object session, string itemID, int version, string comment)
Recover the designated item to the designated version.
Parameters:
session - Session ID
itemID - Item ID
version - Version to recover
comment - Comments
GetItem
Stream GetItem(object session, string itemID, int version)
Gets the item of the assigned version among the items corresponding to the item ID.
Parameters:
session - Session ID
itemID - Item ID
version - Version of the item to get
GetHistoryInfos
IHistoryInfo[] GetHistoryInfos(object session, string itemID)
Gets the history information of the designated item.
Parameters:
session - Session ID
itemID - Item ID
GetDeleteHistoryItemInfo
IHistoryInfo[] GetDeletedItemHistoryInfos(object session, string itemID)
Gets the list of deleted histories.
Parameters:
session - Session ID
itemIDs - Item ID
RemoveHistory
bool RemoveHistory(object session, string itemID, int version)
Deletes the history of a specific version of the assigned item.
Parameters:
session - Session ID
itemID - Item ID
version - The version