com.plumtree.portalpages.browsing.editors.community
Class CommunityTemplateSelectorModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperModel
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListModel
          extended by com.plumtree.portaluiinfrastructure.expandablelist.template.TemplateListModel
              extended by com.plumtree.portalpages.browsing.editors.community.CommunityTemplateSelectorModel
All Implemented Interfaces:
ITemplateListModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IExpListModelRO, IPaginationModel, IPaginationModelRO

public class CommunityTemplateSelectorModel
extends TemplateListModel

Author:
michaeld

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Object Name
 
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.template.TemplateListModel
EXPLIST_COL_COUNT, EXPLIST_COL_INHERIT_TEMPLATE, EXPLIST_COL_TEMPLATE_ID, EXPLIST_COL_TEMPLATE_NAME, m_Session, SUBSPACE_NAME_COMMTEMP, SUBSPACE_NAME_SELECTTEMPLATETREE
 
Fields inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListModel
EXPLIST_COLUMN_COLSPAN, EXPLIST_COLUMN_ENABLESORT, EXPLIST_COLUMN_ID, EXPLIST_COLUMN_INVALID, EXPLIST_COLUMN_TITLE, EXPLIST_COLUMN_WIDTH, EXPLIST_SORTEDARRAY_PROPID_INDEX, m_arrExpListColInfo, m_bAddButtonDisabled, m_bCheckBoxesDisabled, m_bEnableMoveRowActions, m_bIsReadOnly, m_bWrapColumnHeaders, m_imgAddIcon, m_imgDeleteIcon, m_nListKey, m_nNextIndex, m_saData, m_sAddIconAlt, m_sAddLabel, m_sDeleteIconAlt, m_sDelRowConfirmMsg, m_sEmptyListAlert, m_sInstructions, m_sMainMessage, m_sSectionTitle, m_sTableInstructions, MAX_ROWS, MOVEACTION_DOWN, MOVEACTION_FIRST, MOVEACTION_LAST, MOVEACTION_UP, parent
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
m_asOwner
 
Constructor Summary
CommunityTemplateSelectorModel()
           
 
Method Summary
 void AddRowsOnRepost(XPHashtable _htFormData)
          Instead of adding rows on repost we are setting the community template which can add a few rows at once.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Returns the Class name.
 void InitializeCommunityTemplateSelector(IPTSession _Session, int _nCommunityTemplateID, boolean bInheritCommunityTemplate, int _nListKey)
           
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.template.TemplateListModel
GetInputValue, GetTemplateClassID, InitializeSortedArray, InitializeTemplateList, SaveRow, SaveSection, SetAddLabel
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListModel
DeleteRowsOnRepost, DisableAddButton, DisableCheckBoxes, EnablePagination, GetAddIcon, GetAddIconAlt, GetAddLabel, GetAlertMessageForEmptyList, GetArrayOfObjToDelete, GetArrExpListColInfo, GetCurrentLowerObjectCount, GetCurrentUpperObjectCount, GetDeleteIcon, GetDeleteIconAlt, GetDelRowConfirmMsg, GetEmptyListInstructions, GetEmptyListMainMessage, GetEnableMoveRowActions, GetIsListReadOnly, GetItems, GetListKey, GetMainColumnSort, GetMainColumnSortDirection, GetModelStorageName, GetMoveAction, GetNumObjects, GetPaginationSize, GetReadOnlyItems, GetRowIndex, GetSectionTitle, GetTableInstructions, GetUniqueInt, GetUniqueString, GetUnusedProperties, GetWrapColumnHeaders, InitializeExpandableList, InitializeReadOnlyExpandableList, IsAddButtonDisabled, IsCheckBoxesDisabled, IsPaginationEnabled, ModifyRow, MoveDown, MoveFirst, MoveLast, MoveRow, MoveUp, ReverseCurrentSort, SetAddIcon, SetAddIconAlt, SetDeleteIcon, SetDeleteIconAlt, SetDelRowConfirmMsg, SetEmptyListMessages, SetEnableEmptyListClientValidation, SetEnableMoveRowActions, SetIsListReadOnly, SetListKey, SetPagination, SetSectionTitle, SetTableInstructions, SetWrapColumnHeaders, SortByColumn
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
CleanupAllData, CleanupTempData, Init
 
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.activityspace.IModel
CleanupAllData, CleanupTempData, Init
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Object Name

See Also:
Constant Field Values
Constructor Detail

CommunityTemplateSelectorModel

public CommunityTemplateSelectorModel()
Method Detail

InitializeCommunityTemplateSelector

public void InitializeCommunityTemplateSelector(IPTSession _Session,
                                                int _nCommunityTemplateID,
                                                boolean bInheritCommunityTemplate,
                                                int _nListKey)

AddRowsOnRepost

public void AddRowsOnRepost(XPHashtable _htFormData)
Instead of adding rows on repost we are setting the community template which can add a few rows at once.

Overrides:
AddRowsOnRepost in class TemplateListModel
Parameters:
_htFormData - Form data
See Also:
ExpListModel.AddRowsOnRepost(XPHashtable)

Create

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

Specified by:
Create in interface IManagedObject
Overrides:
Create in class TemplateListModel
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: EditorHelperModel
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class TemplateListModel
Returns:
String
See Also:
IMVCObject.GetName()



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