| java.lang.Object com.flexive.war.beans.admin.structure.ScriptListWrapper
ScriptListWrapper | public class ScriptListWrapper (Code) | | Conveniently wraps script mappings to simplify GUI Manipulaiton.
author: Gerhard Glos (gerhard.glos@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Inner Class :public class ScriptListEntry | |
ID_SCRIPT_ADDED | final public static int ID_SCRIPT_ADDED(Code) | | |
ID_SCRIPT_REMOVED | final public static int ID_SCRIPT_REMOVED(Code) | | |
ID_SCRIPT_UPDATED | final public static int ID_SCRIPT_UPDATED(Code) | | |
SORT_STATUS_ASCENDING | final public static int SORT_STATUS_ASCENDING(Code) | | |
SORT_STATUS_DESCENDING | final public static int SORT_STATUS_DESCENDING(Code) | | |
SORT_STATUS_UNSORTED | final public static int SORT_STATUS_UNSORTED(Code) | | |
ScriptListWrapper | ScriptListWrapper(long id, boolean isType)(Code) | | Constructs a new script list wrapper
Parameters: id - the id of the type or assignment Parameters: isType - if the id is from a type or assignment |
getDelta | public List<ScriptListEntry> getDelta(long id, boolean isType)(Code) | | builds the delta to the original scriptMapping. Returns a List of ScriptListEntry objects,
where the id is set to ScriptListWrapper.ID_SCRIPT_REMOVED for scripts that where removed from
the script list and where the id is set to ScriptListWrapper.ID_SCRIPT_ADDED for scripts that
where added to the script list. ID_SCRIPT_UPDATED for scripts that have been updated.
Parameters: id - the id of the type or assignment for the script mapping Parameters: isType - if the script mapping is from a type or assignment a list of ScriptEntry objects which have changed in the script list relative tothe original scriptMapping. |
getScriptList | public List<ScriptListEntry> getScriptList()(Code) | | |
getSortStatusEvent | public int getSortStatusEvent()(Code) | | |
getSortStatusScriptInfo | public int getSortStatusScriptInfo()(Code) | | |
remove | public void remove(int entryId)(Code) | | |
setSortStatusEvent | public void setSortStatusEvent(int sortStatusEvent)(Code) | | |
setSortStatusScriptInfo | public void setSortStatusScriptInfo(int sortStatusScriptInfo)(Code) | | |
sortByEvents | public void sortByEvents()(Code) | | |
sortByScripts | public void sortByScripts()(Code) | | |
|
|