<< Click to Display Table of Contents >>

IOZRepositoryItemHistory

This interface provides information on the item's change history.


Method Detail

getAccessTypeItemHistory

public int getAccessTypeItemHistory()

Gets the methods with access to the Item History Interface as numbers.

int ACCESS_ITEM_HISTORY_NOT = 0x00000000

int ACCESS_ROLLBACK_ITEM = 0x00000001

int ACCESS_GET_ITEM_BY_VERSION = 0x00000002

int ACCESS_GET_HISTORY_ITEMLIST = 0x00000004

int ACCESS_GET_DELETE_HISTORY_ITEMLIST = 0x00000008

int ACCESS_REMOVE_HISTORY_ITEM = 0x00000010

getOZRepository

public IOZRepository getOZRepository() throws OZRepositoryException

Gets the class where the OZRepository Interface is implemented.

rollBackItem

public boolean rollBackItem(Object sessionID, String itemID, int itemVersion, String comment) throws OZRepositoryException

Rolls back a item to a designated version.

Parameters:

sessionID - Session ID

itemID - ID of the item to roll back

itemVersion - Version to roll back

comment - Comment

getItemByVersion

public InputStream getItemByVersion(Object sessionID, String itemID, int version) throws OZRepositoryException

Gets the item of the designated version among the items corresponding to the item ID.

Parameters:

sessionID - Session ID

itemID - ID of the item to get

version - The version of the item to get

getHistoryItemList

public IOZHistoryInfoList getHistoryItemList(Object sessionID, String itemID) throws OZRepositoryException

Gets the history information of the item.

Parameters:

sessionID - Session ID

itemIDs - Item ID from which to get history

getDeleteHistoryItemInfo

public IOZHistoryInfoList getDeleteHistoryItemInfo(Object sessionID, String itemID) throws OZRepositoryException

Gets the deleted history list.

Parameters:

sessionID - Session ID

itemIDs - Item ID from which to get deleted history

removeHistoryItem

public boolean removeHistoryItem(Object sessionID, String itemID, int itemVersion) throws OZRepositoryException

Deletes the item’s specific version of history.

Parameters:

sessionID - Session ID

itemID - Item ID to delete its history

item version - History version to be deleted