Constructors
NSViewStateAgent()
Methods
DeleteHistory(String,Integer)
Deletes the history elementGetCurrent(String)
Gets the current (most recent) value of the history list.This is the item with rank = 1. If no item exists a default value is returned. This is usually the first item in the table representing the history list.
GetHistories()
Returns all history items that belong to the currently logged in userGetHistoriesByName(String)
Returns the named history list that belong to the currently logged in userGetHistoriesByNames(String[])
Returns the named history lists that belong to the currently logged in userGetHistoriesByNamesAndIds(NSHistoryRequest[])
Returns history data for the named entities and the given IDs, which may not directly correspond to the current history records in the database.<para/>Use this method if you know exactly which items you need, regardless of whether they are in the current history or not.<para/>The history in the database is not changed or even looked at by this method.GetHistory(Integer)
Gets an NSHistory object.GetHistoryLengthPrefValue()
Gets the logged-on user’s preferred history list length. Will return the system preference if no user preferences are available.GetNextCurrent(String,Integer)
Returns the next current item. If no item exists a default value is returned.This is usually the first item in the table representing the history list.
GetPreviousCurrent(String,Integer)
Returns the previous current item. If no item exists a default value is returned.This is usually the first item in the table representing the history list.
SaveCurrent(NSHistory)
Saves the current history item.This history item is saved with Rank = 1, and all the remaining elements rank values are shifted one down.The list is maintained with the max lenght of the History list length preference.