|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.tree.ATreeModel
com.plumtree.portaluiinfrastructure.tree.ServerTreeModel
public class ServerTreeModel
| Field Summary | |
|---|---|
static int |
m_nCOMMPAGE_TREE
Community Page Type |
static int |
m_nPROP_PICK_TREE
Interface types -- This should probably be an enum |
protected IPTTreeIterator |
m_ptIterator
Private data members |
static int |
s_nSITEMAP_TREE
Site Map Type |
static java.lang.String |
STR_MVC_CLASS_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 | |
|---|---|
ServerTreeModel()
|
|
| 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)
Expand or collapse a node in the tree. |
protected java.lang.String |
GetKeyFromNode(TreeLeafNode node)
This function creates a unique key given a node. |
java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(AActivitySpace parent)
This method initializes the model. |
void |
SetClassIDsToDisplay(int[] nIDs)
This method will set the class IDs to be displayed. |
void |
SetIterator(int nInterfaceType,
java.lang.String strInitData)
This method initializes the model to a particular IPTTreeIterator Each iterator type will need custom code in this method. |
void |
SetLocationsToHide(java.lang.String strLocs)
Note: because of the fact that locations may contain commas (','), we use the semi-colon (';') to delimit the locations. |
void |
SetLocationsToSelect(java.lang.String strLocs)
Note: because of the fact that locations may contain commas (','), we use the semi-colon (';') to delimit the locations. |
void |
SetObjectIDsToDisplay(int[] nIDs)
This method will display only the given objects. |
void |
SetObjectIDsToHide(int[] nIDs)
This method will hide the given objects. |
void |
SetObjectIDsToSelect(int[] nIDs)
This method will select the given objects. |
| 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
public static final int m_nPROP_PICK_TREE
public static final int s_nSITEMAP_TREE
public static final int m_nCOMMPAGE_TREE
protected IPTTreeIterator m_ptIterator
| Constructor Detail |
|---|
public ServerTreeModel()
| Method Detail |
|---|
public java.lang.Object Create()
ATreeModel
Create in interface IManagedObjectCreate in class ATreeModelIManagedObject.Create()
public void ExpandNode(boolean bExpand,
int nNodeID)
ATreeModel
ExpandNode in interface ITreeModelExpandNode in class ATreeModelpublic java.lang.String GetName()
IMVCObject
GetName in interface IMVCObjectGetName in class ATreeModelIMVCObject.GetName()public void Init(AActivitySpace parent)
IModel
Init in interface IModelInit in class ATreeModelparent - the parent Activity SpaceIModel.Init(AActivitySpace)public void SetClassIDsToDisplay(int[] nIDs)
ITreeModel
SetClassIDsToDisplay in interface ITreeModelSetClassIDsToDisplay in class ATreeModel
public void SetIterator(int nInterfaceType,
java.lang.String strInitData)
public void SetObjectIDsToDisplay(int[] nIDs)
ITreeModel
SetObjectIDsToDisplay in interface ITreeModelSetObjectIDsToDisplay in class ATreeModelITreeModel.SetObjectIDsToDisplay(int[])public void SetObjectIDsToHide(int[] nIDs)
ITreeModel
SetObjectIDsToHide in interface ITreeModelSetObjectIDsToHide in class ATreeModelITreeModel.SetObjectIDsToHide(int[])public void SetObjectIDsToSelect(int[] nIDs)
ITreeModel
SetObjectIDsToSelect in interface ITreeModelSetObjectIDsToSelect in class ATreeModelnIDs - public void SetLocationsToSelect(java.lang.String strLocs)
SetLocationsToSelect in interface IServerTreeModelcom.plumtree.portaluiinfrastructure.tree.IServerTreeModel#SetLocationsToSelect(String[])public void SetLocationsToHide(java.lang.String strLocs)
SetLocationsToHide in interface IServerTreeModelIServerTreeModel.SetLocationsToHide(String)protected java.lang.String GetKeyFromNode(TreeLeafNode node)
ATreeModel
GetKeyFromNode in class ATreeModelATreeModel.GetKeyFromNode(TreeLeafNode)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||