|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorHelperModel
com.plumtree.uiinfrastructure.expandablelist.ExpListModel
com.plumtree.portalpages.admin.ptutilities.userlockmanager.UserLockListModel
public class UserLockListModel
| Field Summary | |
|---|---|
static int |
EXPLIST_COL_DATELOCKED
This column contains the Date Locked. |
static int |
EXPLIST_COL_LOGINNAME
This column contains the Reason for Lock. |
static int |
EXPLIST_COL_MAX
Number total of columns |
static int |
EXPLIST_COL_NAME
This column contains the Name. |
static int |
EXPLIST_COL_USERID
This column contains the User Object ID |
static int |
EXPLIST_SORT_ORDER
This column contains the sort order. |
static java.lang.String |
FILTER_ADMIN_DISABLED
Filter reason string for admin disabled. |
static java.lang.String |
FILTER_AGENT_DISABLED
Filter reason string for agent disabled. |
static java.lang.String |
FILTER_ALL
Filter reason string for retrieving all. |
static java.lang.String |
FILTER_BAD_LOGIN
Filter reason string for too many bad login attempts. |
protected java.lang.String |
m_sDefaultValue
This is used on add to populate the input text of the newly added 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 | |
|---|---|
UserLockListModel()
|
|
| Method Summary | |
|---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Adds one row at the bottom of the list |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteRowsOnRepost(XPHashtable _htFormData)
Gets the array of checked rows and delete them from the list. |
void |
Finish()
|
int[] |
GetArrayOfObjToDelete(XPHashtable _htFormData)
ROB: Make the available for other models. |
java.lang.String |
GetCurrentFilter()
Get the reason that the list is currently filtering on. |
java.lang.String |
GetName()
Returns the Class name. |
void |
InitializeExpandableList(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle1,
java.lang.String _sSectionSubTitle2,
java.lang.String _sSectionSubTitle3,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int _nListKey)
Initializes the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
void |
InitializeUserLockList()
Initialize and load the expandable list. |
void |
Load(java.lang.String filter)
Load the expandable list with locked users |
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Saves the data on the row _nRowIndex. |
int |
SaveSection(XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetDefaultObjects(java.lang.Object[][] _arrRows)
Add the array passed in argument to the list. |
void |
UnlockUsers()
This function unlocks users that have been checked in the UI |
| 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_MAX
public static final int EXPLIST_COL_USERID
public static final int EXPLIST_COL_NAME
public static final int EXPLIST_SORT_ORDER
public static final int EXPLIST_COL_LOGINNAME
public static final int EXPLIST_COL_DATELOCKED
public static final java.lang.String FILTER_ADMIN_DISABLED
public static final java.lang.String FILTER_AGENT_DISABLED
public static final java.lang.String FILTER_BAD_LOGIN
public static final java.lang.String FILTER_ALL
protected java.lang.String m_sDefaultValue
| Constructor Detail |
|---|
public UserLockListModel()
| Method Detail |
|---|
public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost in class ExpListModel_htFormData - Form datapublic java.lang.Object Create()
EditorHelperModel
Create in interface IManagedObjectCreate in class EditorHelperModelIManagedObject.Create()public java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorHelperModelpublic void InitializeUserLockList()
public void InitializeExpandableList(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle1,
java.lang.String _sSectionSubTitle2,
java.lang.String _sSectionSubTitle3,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int _nListKey)
_sSectionTitle - Main title._sSectionSubTitle - Sub title_imgAddIcon - Icon for the add action._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 void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray in class ExpListModel_saData -
protected int SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
SaveRow in class ExpListModel_saData - List to update the data on row _nRowIndex_nRowIndex - Index of the row to save._htFormData - Data posted by the form.
public int SaveSection(XPHashtable _htFormData)
SaveSection in class ExpListModel_sPageName - _htFormData -
public int[] GetArrayOfObjToDelete(XPHashtable _htFormData)
GetArrayOfObjToDelete in class ExpListModel_htFormData -
public void SetDefaultObjects(java.lang.Object[][] _arrRows)
_arrRows - Array of rows to add.public void UnlockUsers()
public void DeleteRowsOnRepost(XPHashtable _htFormData)
DeleteRowsOnRepost in class ExpListModel_htFormData - public void Finish()
public void Load(java.lang.String filter)
filter - public java.lang.String GetCurrentFilter()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||