|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.tree.ATreeModel com.plumtree.portalpages.admin.editors.group.ActivityRightsTreeModel
public class ActivityRightsTreeModel
This version of the tree allows for browsing and selecting of objects with no hierarchical structure
Field Summary | |
---|---|
protected IPTTreeIterator |
m_ptIterator
Tree iterator |
static java.lang.String |
STR_MVC_CLASS_NAME
object name |
Fields inherited from class com.plumtree.uiinfrastructure.tree.ATreeModel |
---|
m_asOwner, m_bAllChecked, m_bAllowEmptyTreeSubmission, m_bEmptyList, m_bFlatList, m_bHelpEnabled, m_bMultiSelect, m_bShowRoot, m_nLastExpandedNodeID, m_nSelectMode, m_nSelectOptions, m_nSubmitMode, m_Root, m_strActionSubTitle, m_strOnClickFunction, m_strParentFormItems, m_strParentFormName, m_strParentFormSpaceID, m_strParentFormSubmit, m_strTitle, m_xpmSelectedItems |
Constructor Summary | |
---|---|
ActivityRightsTreeModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
ExpandNode(boolean bExpand,
int nNodeID)
This is called when a node is expanded. |
java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(AActivitySpace parent)
This method initializes the model. |
void |
LoadRights()
Initializes and begins the loading of the tree. |
void |
SetClassIDsToDisplay(int[] nIDs)
If there are multiple class ids, determine which ones to display. |
void |
SetObjectIDsToDisplay(int[] nIDs)
Determines what items in the tree are to be displayed. |
void |
SetObjectIDsToHide(int[] nIDs)
Determines what items in the tree are hidden. |
void |
SetObjectIDsToSelect(int[] nIDs)
Determines what items in the tree are selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.uiinfrastructure.tree.ITreeModel |
---|
GetNextUniqueID, RemoveFromSelection, ResetTree, ResetUniqueIDs, SetActionSubTitle, SetAllowEmptySubmission, SetHelpTopic, SetMultipleSelect, SetOnClickFunction, SetParentFormName, SetParentFormSpaceID, SetParentFormSubmitFunction, SetSelectMode, SetSelectOptions, SetShowRoot, SetSubmitMode, SetTitle |
Methods inherited from interface com.plumtree.uiinfrastructure.tree.ITreeModelRO |
---|
GetActionSubTitle, GetAllChecked, GetAllowEmptySubmission, GetDisplayingFlatList, GetHelpEnabled, GetLastExpandedNodeID, GetMultipleSelect, GetOnClickFunction, GetParentFormName, GetParentFormSpaceID, GetParentFormSubmitFunction, GetRootTreeIterator, GetSelectedItems, GetSelectMode, GetSelectOptions, GetShowRoot, GetSubmitMode, GetTitle, GetTreeIsEmpty |
Methods inherited from interface com.plumtree.uiinfrastructure.form.IRepostModel |
---|
Finish, GetRedirectAfterFinish, SavePage |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel |
---|
CleanupAllData, CleanupTempData |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
protected IPTTreeIterator m_ptIterator
Constructor Detail |
---|
public ActivityRightsTreeModel()
Method Detail |
---|
public java.lang.Object Create()
ATreeModel
Create
in interface IManagedObject
Create
in class ATreeModel
IManagedObject.Create()
public void ExpandNode(boolean bExpand, int nNodeID)
ExpandNode
in interface ITreeModel
ExpandNode
in class ATreeModel
bExpand
- expands the branchnNodeID
- the uniqueid for this nodepublic java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
GetName
in class ATreeModel
IMVCObject.GetName()
public void Init(AActivitySpace parent)
IModel
Init
in interface IModel
Init
in class ATreeModel
parent
- the parent Activity SpaceIModel.Init(AActivitySpace)
public void LoadRights()
public void SetClassIDsToDisplay(int[] nIDs)
SetClassIDsToDisplay
in interface ITreeModel
SetClassIDsToDisplay
in class ATreeModel
nIDs
- determines which classids to displaypublic void SetObjectIDsToDisplay(int[] nIDs)
SetObjectIDsToDisplay
in interface ITreeModel
SetObjectIDsToDisplay
in class ATreeModel
nIDs
- determines which nodes are not hidden.ITreeModel.SetObjectIDsToDisplay(int[])
public void SetObjectIDsToHide(int[] nIDs)
SetObjectIDsToHide
in interface ITreeModel
SetObjectIDsToHide
in class ATreeModel
nIDs
- determines which nodes are hiddenITreeModel.SetObjectIDsToHide(int[])
public void SetObjectIDsToSelect(int[] nIDs)
SetObjectIDsToSelect
in interface ITreeModel
SetObjectIDsToSelect
in class ATreeModel
nIDs
- determines which nodes are selected
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |