|
|||||||||
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.portalpages.browsing.unsubscribe.communities.MyCommunitiesListModel
public class MyCommunitiesListModel
Field Summary | |
---|---|
static int |
COMMLIST_COL_ID
|
static int |
COMMLIST_COL_MAX
|
static int |
COMMLIST_COL_MEMBERSHIPTYPE
|
static int |
COMMLIST_COL_NAME
|
static int |
COMMLIST_DEFAULT_INITIAL_SIZE
Default initial size for the sorted array. |
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
MyCommunitiesListModel()
|
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. |
boolean |
displayAllMandatoryAlert()
Returns the m_bDisplayAllMandatoryAlert. |
java.lang.String |
GetName()
Returns the Class name. |
void |
InitCommExpList(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle,
java.lang.String _sUnsubscribeLabel)
Initializes the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
boolean |
IsFreeMembership(int _nRowIndex)
|
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. |
void |
Unsubscribe(XPHashtable _htFormData,
UnsubscribeCommunitiesModel _model)
|
void |
Unsubscribe508(int _nRowIndex,
UnsubscribeCommunitiesModel _model)
|
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 COMMLIST_COL_MAX
public static final int COMMLIST_COL_NAME
public static final int COMMLIST_COL_ID
public static final int COMMLIST_COL_MEMBERSHIPTYPE
public static final int COMMLIST_DEFAULT_INITIAL_SIZE
Constructor Detail |
---|
public MyCommunitiesListModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray
in class ExpListModel
_saData
- public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form dataprotected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
SaveRow
in class ExpListModel
_saData
- _nRowIndex
- _htFormData
- _nListKey
-
public void InitCommExpList(java.lang.String _sSectionTitle, java.lang.String _sSectionSubTitle, java.lang.String _sUnsubscribeLabel)
_sSectionTitle
- Main title._sSectionSubTitle
- Sub title_sAddLabel
- Text to display next to the add icon._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 boolean IsFreeMembership(int _nRowIndex)
IsFreeMembership
in interface IMyCommunitiesListModelRO
_nRowIndex
-
public void Unsubscribe(XPHashtable _htFormData, UnsubscribeCommunitiesModel _model)
_htFormData
- public void Unsubscribe508(int _nRowIndex, UnsubscribeCommunitiesModel _model)
public boolean displayAllMandatoryAlert()
displayAllMandatoryAlert
in interface IMyCommunitiesListModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |