|
|||||||||
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.editor.commonpages.keywords.KeywordsModel
public class KeywordsModel
This is the implementation of the Expandable List framework for the Keywords on an object. Add will not be allowed at this time.
Field Summary | |
---|---|
static int |
KEYWORDSMODEL_COL_INDEX
First column: an index to keep the list sorted. |
static int |
KEYWORDSMODEL_COL_KEYWORD
Second column: name. |
static int |
KEYWORDSMODEL_COL_MAX
Max number of columns |
static int |
KEYWORDSMODEL_COL_URL
Fourth column: language. |
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for the activity space |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
KeywordsModel()
|
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 |
GetName()
Returns the Class name. |
void |
InitializeKeywords(IPTObject objToEdit,
int _nListKey)
Initializes the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
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 when a repost occurs. |
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 KEYWORDSMODEL_COL_MAX
public static final int KEYWORDSMODEL_COL_INDEX
public static final int KEYWORDSMODEL_COL_KEYWORD
public static final int KEYWORDSMODEL_COL_URL
Constructor Detail |
---|
public KeywordsModel()
Method Detail |
---|
public void AddRowsOnRepost(XPHashtable _htFormData)
ExpListModel
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form datacom.plumtree.uiinfrastructure.expandablelist.ExpListModel#AddRowsOnRepost(com.plumtree.openfoundation.util.XPHashtable)
public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray
in class ExpListModel
_saData
- ExpListModel.InitializeSortedArray(com.plumtree.uiinfrastructure.arraywrapper.PTGrowableSortedArrayWrapper)
public void InitializeKeywords(IPTObject objToEdit, int _nListKey)
objToEdit
- is the IPTObject to be editedpublic 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()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |