|
|||||||||
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.admin.ptutilities.condition.RulesListModel
public class RulesListModel
Field Summary | |
---|---|
static int |
EXPLIST_ACTIONNAME
Action of Row |
static int |
EXPLIST_ACTIONVALUE
Action of Row |
static int |
EXPLIST_DESCRIPTION
Name of Row |
static int |
EXPLIST_NAME
Name of Row |
static int |
EXPLIST_OBJECTID
Name of Row |
static int |
RULES_PAGINATION_SIZE
|
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
RulesListModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
ASURL |
GetEditObjectURL(int _nClassID,
int _nObjectID,
java.lang.String sEditorASName)
Returns the URL to edit the object. |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetPaginationSize()
This is the number of objects displayed per page. |
PTImageType |
GetRowIcon()
Returns the icon to display on each row before the input text. |
void |
InitializeRulesList(java.lang.String _sSectionTitle,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int[] _arrObjectClassIDs,
java.lang.Object[][] arrExpListColInfo,
int _nListKey)
Initializes the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
void |
SetEnableMoveRowActions(boolean _bEnableMoveRowActions)
Because this select ptobject list needs to support both move row actions enable and disable, we need to change the colspan of the header row when this happens. |
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.portaluiinfrastructure.expandablelist.selectptobject.ISelectPTObjectModelRO |
---|
ClearHiddenObjects, GetAccessLevel, GetCommunityFolderID, GetCommunityMode, GetCreateNewInfo, GetCreateNewURL, GetDefaultRowIcon, GetDisplayObjects, GetEditObjectURL, GetHiddenObjects, GetNoRowIcons, GetObjectClassIDs, GetRowIconByClassID, GetSelectedItems, GetSelectedNamesAsHTML, GetTreeLeafType, GetTreeMultiSelect, GetTreeQueryFilter, GetTreeSpaceID, GetTreeSubTitle, GetTreeTitle, GetUniquePopUpName, IsEditLinkEnabled, IsObjectReadOnly |
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 |
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_OBJECTID
public static final int EXPLIST_NAME
public static final int EXPLIST_DESCRIPTION
public static final int EXPLIST_ACTIONNAME
public static final int EXPLIST_ACTIONVALUE
public static final int RULES_PAGINATION_SIZE
Constructor Detail |
---|
public RulesListModel()
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 InitializeRulesList(java.lang.String _sSectionTitle, PTImageType _imgAddIcon, java.lang.String _sAddLabel, int[] _arrObjectClassIDs, java.lang.Object[][] arrExpListColInfo, int _nListKey)
_sSectionTitle
- Main 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 DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class SelectPTObjectModel
public PTImageType GetRowIcon()
GetRowIcon
in interface IRulesListModelRO
GetRowIcon()
public void SetEnableMoveRowActions(boolean _bEnableMoveRowActions)
SelectPTObjectModel
SetEnableMoveRowActions
in class SelectPTObjectModel
_bEnableMoveRowActions
- public ASURL GetEditObjectURL(int _nClassID, int _nObjectID, java.lang.String sEditorASName)
GetEditObjectURL
in interface IRulesListModelRO
_nClassID
- _nObjectID
- _sEditorASName
-
com.plumtree.portalpages.admin.ptutilities.condition.RulesListModel#GetEditObjectURL()
public int GetPaginationSize()
IPaginationModelRO
GetPaginationSize
in interface IPaginationModelRO
GetPaginationSize
in class ExpListModel
IPaginationModelRO.GetPaginationSize()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |