com.plumtree.portaluiinfrastructure.tree.template
Class TemplateTreeModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.tree.ATreeModel
      extended by com.plumtree.portaluiinfrastructure.tree.AObjectTreeModel
          extended by com.plumtree.portaluiinfrastructure.tree.AdminTreeModel
              extended by com.plumtree.portaluiinfrastructure.tree.template.TemplateTreeModel
All Implemented Interfaces:
IObjectTreeModel, IObjectTreeModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IRepostModel, ITreeModel, ITreeModelRO

public class TemplateTreeModel
extends AdminTreeModel

Author:
michaeld

Nested Class Summary
 
Nested classes/interfaces inherited from class com.plumtree.portaluiinfrastructure.tree.AdminTreeModel
AdminTreeModel.ObjectManagerHolder
 
Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          MVC object name
 
Fields inherited from class com.plumtree.portaluiinfrastructure.tree.AdminTreeModel
m_bDisplayingPortlets, m_bDisplayPreSelectedList, m_bShowGlobalObjects, m_GroupObjMgr, m_nCommunityMode, m_nDisplayedClassIDs, m_nFilterClassID, m_nOBJECTS_TO_LIST, m_nPortletAlignment, m_nPortletType, m_nPortletWebServiceID, m_nProviderPropIDType, m_nUserTypeFilter, m_nxpCommunityFolderIDs, m_ObjMgrs, m_ptCatalog, m_ptSession, m_sProviderCLSID, m_UserObjMgr
 
Fields inherited from class com.plumtree.portaluiinfrastructure.tree.AObjectTreeModel
ALLCOMMUNITIES, m_bDisplayingSearchResults, m_bSearchInitialized, m_nAccessLevel, m_ptClassTypeDescManager, m_ptFolderSelectqf, m_ptqf, NOCOMMUNITIES, THISCOMMUNITY
 
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
TemplateTreeModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 boolean GetDisplayInheritTemplate()
           
 java.lang.String GetName()
          Return the name of the MVC object.
 void ResetTree()
          This method initializes tree variables.
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
 void SetDisplayInheritTemplate(boolean _bDisplayInheritTemplate)
           
 
Methods inherited from class com.plumtree.portaluiinfrastructure.tree.AdminTreeModel
AppendFolderToNodeName, CalculateFolderSelectQueryFilter, CheckDisabledCommunity, CheckForIdenticalNames, CheckIsHidden, ExpandDisplayedItemsOnly, ExpandGroup, ExpandNode, ExpandToFlatList, ExpandToSelectedItem, GetDisplayedClassIDs, GetFilterClassID, GetFilterCLSID, GetFilterCLSIDPropID, GetFolderClassID, GetItemDisplayed, GetPortletAlignment, GetPortletType, GetPortletWebServiceID, GetSearchEnabled, GetUserTypeFilter, Init, RefreshHiddenObjects, SetClassIDsToDisplay, SetCommunityMode, SetObjectIDsToDisplay, SetObjectIDsToHide, SetObjectIDsToSelect, SetQueryFilter, SetQueryFilter, SetRootFolderID
 
Methods inherited from class com.plumtree.portaluiinfrastructure.tree.AObjectTreeModel
GetAccessLevel, GetDisplayingSearchResults, GetItemSelected, GetLeafIfAlreadySelected, GetSearchStarted, ResetToBrowsingMode, SelectNode, SetAccessLevel, SetCompositeImage, SetCompositeImage, SetLeafImage
 
Methods inherited from class com.plumtree.uiinfrastructure.tree.ATreeModel
CleanupAllData, CleanupTempData, ClearSelectedItems, Finish, GetActionSubTitle, GetAllChecked, GetAllowEmptySubmission, GetCompositeIfAlreadySelected, GetDisplayingFlatList, GetHelpEnabled, GetKeyFromNode, GetLastExpandedNodeID, GetMultipleSelect, GetNextUniqueID, GetOnClickFunction, GetParentFormName, GetParentFormSpaceID, GetParentFormSubmitFunction, GetRedirectAfterFinish, GetRootTreeIterator, GetSelectedItems, GetSelectMode, GetSelectOptions, GetShowRoot, GetSubmitMode, GetTitle, GetTreeIsEmpty, RefreshTree, RemoveFromSelection, ResetUniqueIDs, SetActionSubTitle, SetAllowEmptySubmission, SetHelpTopic, SetMultipleSelect, SetOnClickFunction, SetParentFormName, SetParentFormSpaceID, SetParentFormSubmitFunction, SetSelectMode, SetSelectOptions, SetShowRoot, SetSubmitMode, SetTitle
 
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.ITreeModelRO
GetActionSubTitle, GetAllChecked, GetAllowEmptySubmission, GetDisplayingFlatList, GetHelpEnabled, GetLastExpandedNodeID, GetMultipleSelect, GetOnClickFunction, GetParentFormName, GetParentFormSpaceID, GetParentFormSubmitFunction, GetRootTreeIterator, GetSelectedItems, GetSelectMode, GetSelectOptions, GetShowRoot, GetSubmitMode, GetTitle, GetTreeIsEmpty
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
MVC object name

See Also:
Constant Field Values
Constructor Detail

TemplateTreeModel

public TemplateTreeModel()
Method Detail

GetDisplayInheritTemplate

public boolean GetDisplayInheritTemplate()

SetDisplayInheritTemplate

public void SetDisplayInheritTemplate(boolean _bDisplayInheritTemplate)

ResetTree

public void ResetTree()
Description copied from interface: ITreeModel
This method initializes tree variables. sub-classes can extend this method.

Specified by:
ResetTree in interface ITreeModel
Overrides:
ResetTree in class AdminTreeModel
See Also:
ITreeModel.ResetTree()

SavePage

public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
Description copied from interface: IRepostModel
Calls the right save function according to the page name passed in argument.

Specified by:
SavePage in interface IRepostModel
Overrides:
SavePage in class AObjectTreeModel
Returns:
int Page status for server side validation
See Also:
com.plumtree.uiinfrastructure.form.IRepostModel#SavePage(java.lang.String, com.plumtree.openfoundation.util.XPHashtable)

Create

public java.lang.Object Create()
Description copied from class: ATreeModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Overrides:
Create in class AdminTreeModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class AdminTreeModel
Returns:
the name of the object.
See Also:
IMVCObject.GetName()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.