|
|||||||||
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.selectptobject.SelectPTObjectModel com.plumtree.portalpages.portlets.savedsearch.prefs.SavSrchDisplayFieldsListModel
public class SavSrchDisplayFieldsListModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_MAX
Number total of columns |
static int |
EXPLIST_COL_ORIENTATION
This is the column that holds the display orientation option (column/row) that we doisplay in the list. |
static java.lang.String |
ORIENTATION_COL
|
static java.lang.String |
ORIENTATION_ROW
|
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 | |
---|---|
SavSrchDisplayFieldsListModel()
|
Method Summary | |
---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Clear the list and add all the values from the tree. |
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 |
InitializeReadOnlySelectPTObject(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle,
int[] _arrObjectClassIDs,
int _nListKey)
Initializes the read only expandable list. |
void |
InitializeSelectPTObject(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int[] _arrObjectClassIDs,
int _nListKey)
Initializes the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
boolean |
IsOrientationRow(int _iRowIndex)
|
void |
ModifyRow(XPHashtable _htFormData)
Action for modifying a row |
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.expandablelist.IExpListModelRO |
---|
GetAddIcon, GetAddIconAlt, GetAddLabel, GetAlertMessageForEmptyList, GetArrExpListColInfo, GetDeleteIcon, GetDeleteIconAlt, GetDelRowConfirmMsg, GetEmptyListInstructions, GetEmptyListMainMessage, GetEnableMoveRowActions, GetIsListReadOnly, GetListKey, GetMainColumnSort, GetMainColumnSortDirection, GetModelStorageName, GetReadOnlyItems, GetSectionTitle, GetTableInstructions, GetUniqueInt, GetUniqueString, GetUnusedProperties, GetWrapColumnHeaders, IsAddButtonDisabled, IsCheckBoxesDisabled, IsPaginationEnabled |
Methods inherited from interface com.plumtree.uiinfrastructure.form.pagination.IPaginationModelRO |
---|
GetCurrentLowerObjectCount, GetCurrentUpperObjectCount, GetNumObjects, GetPaginationSize |
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_MAX
public static final int EXPLIST_COL_ORIENTATION
public static final java.lang.String ORIENTATION_ROW
public static final java.lang.String ORIENTATION_COL
Constructor Detail |
---|
public SavSrchDisplayFieldsListModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class SelectPTObjectModel
IManagedObject.Create()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class SelectPTObjectModel
public void InitializeReadOnlySelectPTObject(java.lang.String _sSectionTitle, java.lang.String _sSectionSubTitle, int[] _arrObjectClassIDs, int _nListKey)
InitializeReadOnlySelectPTObject
in class SelectPTObjectModel
_sSectionTitle
- Main title._sSectionSubTitle
- Sub title_arrObjectClassIDs
- Class ID of the Objects displayed on the list._nListKey
- In case you have multiple Expandable Lists on
the same DP, they should have a different key (otherwise, just set it to 1).public void InitializeSelectPTObject(java.lang.String _sSectionTitle, java.lang.String _sSectionSubTitle, PTImageType _imgAddIcon, java.lang.String _sAddLabel, int[] _arrObjectClassIDs, int _nListKey)
InitializeSelectPTObject
in class SelectPTObjectModel
_sSectionTitle
- Main title._sSectionSubTitle
- Sub title_imgAddIcon
- Icon for the add action._sAddLabel
- Text to display next to the add icon._arrObjectClassIDs
- Class ID of the Objects displayed on the list._nListKey
- In case you have multiple Expandable Lists on
the same DP, they should have a different key (otherwise, just set it to 1).public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray
in class SelectPTObjectModel
_saData
- public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost
in class SelectPTObjectModel
_htFormData
- Form datapublic void ModifyRow(XPHashtable _htFormData)
ExpListModel
ModifyRow
in class ExpListModel
public boolean IsOrientationRow(int _iRowIndex)
IsOrientationRow
in interface ISavSrchDisplayFieldsListModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |