|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.uiinfrastructure.expandablelist.ExpListModel com.plumtree.portaluiinfrastructure.expandablelist.template.TemplateListModel
public class TemplateListModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_COUNT
Template Growable Array Column Count |
static int |
EXPLIST_COL_INHERIT_TEMPLATE
Template Growable Array Inherit Template Column |
static int |
EXPLIST_COL_TEMPLATE_ID
Template Growable Array Template ID Column |
static int |
EXPLIST_COL_TEMPLATE_NAME
Template Growable Array Template Name Column |
protected IPTSession |
m_Session
IPTSession |
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
static java.lang.String |
SUBSPACE_NAME_COMMTEMP
Key name used by the Activity Spce to store the community template editor. |
static java.lang.String |
SUBSPACE_NAME_SELECTTEMPLATETREE
Key name used by the Activity Space to store the select template tree. |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
TemplateListModel()
|
Method Summary | |
---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Will be called each time the add action is performed. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
java.lang.String |
GetInputValue(java.lang.String name)
Get the value for the given input. |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetTemplateClassID()
Get the class ID of the template. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Will be called when this class is initalized. |
void |
InitializeTemplateList(IPTSession _Session,
int _nTemplateClassID,
int _nTemplateID,
boolean _bInheritTemplate,
java.lang.String _strSectionTitle,
PTImageType _imgType,
int _nListKey)
|
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Will be called each ime there is a repost to save the data on the list. |
int |
SaveSection(XPHashtable _htFormData)
Saves the data on the Main page. |
void |
SetAddLabel(java.lang.String _strAddLabel)
Set the label of the add button. |
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 |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int EXPLIST_COL_TEMPLATE_ID
public static final int EXPLIST_COL_TEMPLATE_NAME
public static final int EXPLIST_COL_INHERIT_TEMPLATE
public static final int EXPLIST_COL_COUNT
public static final java.lang.String SUBSPACE_NAME_SELECTTEMPLATETREE
public static final java.lang.String SUBSPACE_NAME_COMMTEMP
protected IPTSession m_Session
Constructor Detail |
---|
public TemplateListModel()
Method Detail |
---|
public void SetAddLabel(java.lang.String _strAddLabel)
label
- for the add buttonpublic void AddRowsOnRepost(XPHashtable _htFormData)
ExpListModel
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form datacom.plumtree.uiinfrastructure.expandablelist.ExpListModel#AddRowsOnRepost(com.plumtree.openfoundation.util.XPHashtable)
public void InitializeTemplateList(IPTSession _Session, int _nTemplateClassID, int _nTemplateID, boolean _bInheritTemplate, java.lang.String _strSectionTitle, PTImageType _imgType, int _nListKey)
public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
ExpListModel
InitializeSortedArray
in class ExpListModel
ExpListModel.InitializeSortedArray(com.plumtree.uiinfrastructure.arraywrapper.PTGrowableSortedArrayWrapper)
public int SaveSection(XPHashtable _htFormData)
SaveSection
in class ExpListModel
_htFormData
-
protected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
ExpListModel
SaveRow
in class ExpListModel
com.plumtree.uiinfrastructure.expandablelist.ExpListModel#SaveRow(com.plumtree.uiinfrastructure.arraywrapper.PTGrowableSortedArrayWrapper, int, com.plumtree.openfoundation.util.XPHashtable)
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public java.lang.String GetInputValue(java.lang.String name)
ITemplateListModelRO
GetInputValue
in interface ITemplateListModelRO
ITemplateListModelRO.GetInputValue(java.lang.String)
public int GetTemplateClassID()
ITemplateListModelRO
GetTemplateClassID
in interface ITemplateListModelRO
ITemplateListModelRO.GetTemplateClassID()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |