com.plumtree.portaluiinfrastructure.tree.template
Class TemplateTreeAS
java.lang.Object
  
com.plumtree.uiinfrastructure.activityspace.AActivitySpace
      
com.plumtree.uiinfrastructure.form.AFormAS
          
com.plumtree.uiinfrastructure.tree.ATreeAS
              
com.plumtree.portaluiinfrastructure.tree.TreeAS
                  
com.plumtree.portaluiinfrastructure.tree.template.TemplateTreeAS
- All Implemented Interfaces: 
 - IManagedObject, IMVCObject, IFormAS, IEnvironment
 
public class TemplateTreeAS
- extends TreeAS
 
- Author:
 
  - michaeld
 
 
 
 
 
 
| 
Method Summary | 
 java.lang.Object | 
Create()
 
          This method is used by the ASManager to return new instances of managed
 objects. | 
 java.lang.String | 
GetName()
 
          This method is used to identify the type of this space. | 
 java.lang.String | 
GetRepostControlName()
 
          Returns the name of the repost control class. | 
 java.lang.String | 
GetTreeSpecificArrayDataToAppend(int iSelectedItemIndex)
 
          Override this method to attach additional information specific to your implementation of the tree. | 
 void | 
Init()
 
          Initialize the Activity Space. | 
 
 
 
 
| Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace | 
ChangeSubSpaceKey, CleanupAllData, DeleteSubSpace, GetAccessStyle, GetApplication, GetControl, GetControlExists, GetControlsEnumerator, GetCurrentFormData, GetCurrentHTTPRequest, GetCurrentHTTPResponse, GetCurrentNormalizedBaseURL, GetCurrentPage, GetCurrentRequestURL, GetHelpTopic, GetIsAccessStyleNonStandard, GetIsAccessStyleStandard, GetIsInPlaceRefreshDisplayOn, GetIsInPlaceRefreshEnabled, GetIsSecuredSpace, GetLanguage, GetLocale, GetModel, GetModelExists, GetModelsEnumerator, GetPageExists, GetPagesEnumerator, GetParentSpace, GetParentSpaceID, GetParentSpaceName, GetPersistentSubSession, GetResourceManager, GetSpaceID, GetString, GetStyleSheetLinks, GetSubSession, GetSubSpace, GetSubSpaceExists, GetSubSpaceKey, GetSubSpacesEnumerator, GetTimeZone, GetUserSession, GetVarPack, GetView, GetViewExists, GetViewsEnumerator, IsSubSpace, refString, RegisterControl, RegisterControl, RegisterModel, RegisterModel, RegisterPage, RegisterPage, RegisterSubSpace, RegisterView, RegisterView, ReInit, SetApplication, SetCurrentFormData, SetCurrentHTTPRequestResponseObjects, SetCurrentPage, SetCurrentRequestURL, SetHelpTopic, SetIsASSecured, SetIsInPlaceRefreshDisplayOn, SetIsInPlaceRefreshEnabled, SetOverWriteSubSpaces, SetParentSpace, SetPersistentSubSession, SetSpaceID, SetSubSession, SetSubSpaceKey, SetTrackCurrentPage, SetUserSession, unrefString, UnRegisterControl, UnRegisterModel, UnRegisterPage, UnRegisterView | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- Object Name
- See Also:
 - Constant Field Values
 
 
PLUGIN_INHERIT_TEMPLATE
public static final java.lang.String PLUGIN_INHERIT_TEMPLATE
- Inherit Page Temp plug in
- See Also:
 - Constant Field Values
 
 
INHERIT_OBJECT
public static final java.lang.String INHERIT_OBJECT
- The name of the javascript array member variable for the class id
- See Also:
 - Constant Field Values
 
 
TemplateTreeAS
public TemplateTreeAS()
Create
public java.lang.Object Create()
- Description copied from class: 
AActivitySpace 
- This method is used by the ASManager to return new instances of managed
 objects.
- Specified by:
 Create in interface IManagedObject- Overrides:
 Create in class TreeAS
 
- 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 class: 
AActivitySpace 
- This method is used to identify the type of this space.
- Specified by:
 GetName in interface IMVCObject- Overrides:
 GetName in class TreeAS
 
- Returns:
 - String the name of this AActivitySpace
 - See Also:
 IMVCObject.GetName()
 
 
Init
public void Init()
- Description copied from class: 
AActivitySpace 
- Initialize the Activity Space.
 This method is called after common attributes like ID, parent, session,
 application, etc... are set.
 Get methods are not valid until this method is called.
 This method should be overridden and called as super.Init();
- Overrides:
 Init in class TreeAS
 
- See Also:
 AActivitySpace.Init()
 
 
GetTreeSpecificArrayDataToAppend
public java.lang.String GetTreeSpecificArrayDataToAppend(int iSelectedItemIndex)
- Override this method to attach additional information specific to your implementation of the tree.
 Below is an example of how to do this.
 
                XPStringBuilder sb = new XPStringBuilder();
                sb.Append("myArray[").Append(iSelectedItemIndex).Append("].")
                        .Append(OBJECT_CLASS_ID).Append(" = '")
                        .Append(((TreeLeafNode) mySelectedItems.GetElement(iSelectedItemIndex)).m_nClassID)
                        .Append("';\n");
                return sb.ToString();
- Overrides:
 GetTreeSpecificArrayDataToAppend in class ATreeAS
 
- Parameters:
 index - of the selected Item
- Returns:
 - String
 
 
 
GetRepostControlName
public java.lang.String GetRepostControlName()
- Description copied from class: 
AFormAS 
- Returns the name of the repost control class.
 E.g.: PropRepostControl.GetName()
 This can also be overridden on a per DP basis.  See AFormDP#GetRepostControlName()
 The repost control does not necessarily need to extend RepostControl.  A form
 can be submitted to any type of control as long as it knows how to properly
 interpret the form.
- Specified by:
 GetRepostControlName in interface IFormAS- Overrides:
 GetRepostControlName in class ATreeAS
 
- Returns:
 - String
 - See Also:
 IFormAS.GetRepostControlName()