|
|||||||||
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.uiinfrastructure.expandablelist.growablelist.GrowableListModel com.plumtree.portalpages.admin.editors.webservice.plugins.AddUserInfoPluginModel
public class AddUserInfoPluginModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_CLASSID
This column contains the Object Class IDs. |
static int |
EXPLIST_COL_OBJECTID
This column contains the Object IDs. |
static int |
EXPLIST_COL_STRING
This is the String that we doisplay in the list. |
protected java.lang.String |
m_sTreeSpaceID
Tree Space ID. |
static java.lang.String |
STR_MVC_CLASS_NAME
|
static java.lang.String |
SUBSPACE_NAME_SELECTTREE
Key name used by the Activity Space to store the tree. |
Fields inherited from class com.plumtree.uiinfrastructure.expandablelist.growablelist.GrowableListModel |
---|
CLIENT_VALIDATION_TYPE_NON_EMPTY_STRING, CLIENT_VALIDATION_TYPE_NONE, CLIENT_VALIDATION_TYPE_STRING_NO_SPACE, CLIENT_VALIDATION_TYPE_VALID_URL, EXPLIST_COL_MAX, EXPLIST_SORTEDARRAY_PROPID_INPUTTEXT, m_imgRowIcon, m_nClientValidationType, m_sAlertMessage, m_sDefaultValue |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
AddUserInfoPluginModel()
|
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. |
void |
DeleteRowsOnRepost(XPHashtable _htFormData)
Gets the array of checked rows and delete them from the list. |
void |
DoTaskBeforeWSStore()
Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call. |
void |
DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID,
java.lang.String strRemoteServerName,
java.lang.String strRemoteServerBaseURL)
Called when the Remote Server is changed. |
void |
DoTaskOnWSModeUpdate(int nNewWSMode)
Called when the Web Service type is changed. |
java.lang.String |
GetName()
Returns the Class name. |
XPArrayList |
GetSelectedItemsFromTree()
Returns the list of Userinfo's retrieved from the Tree. |
java.lang.String |
GetTreeSpaceID()
Returns tree AS ID. |
java.lang.String |
GetValidationFunction()
This returns the name of the client-side validation function that the model wants added to the page-level validation funtion. |
boolean |
InCurrentList(java.lang.String strItem)
Searches the current list of GetListValues for strItem. |
void |
InitWSModel(IPTWebService ptWebService)
Initializes the sub-model. |
protected void |
SaveTreeID(XPHashtable _htFormData)
Helper method to save the Tree ID on repost. |
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.growablelist.GrowableListModel |
---|
AddRowsToList, GetAlertMessage, GetClientValidationType, GetListValues, GetRowIcon, InitializeGrowableList, InitializeSortedArray, SaveRow, SetClientValidationType, SetDefaultValue, SetRowIcon |
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.growablelist.IGrowableListModelRO |
---|
GetAlertMessage, GetClientValidationType, GetRowIcon |
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 java.lang.String SUBSPACE_NAME_SELECTTREE
public static final int EXPLIST_COL_CLASSID
public static final int EXPLIST_COL_OBJECTID
public static final int EXPLIST_COL_STRING
protected java.lang.String m_sTreeSpaceID
Constructor Detail |
---|
public AddUserInfoPluginModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class GrowableListModel
IManagedObject.Create()
public void DoTaskBeforeWSStore()
IWSSubModel
DoTaskBeforeWSStore
in interface IWSSubModel
IWSSubModel.DoTaskBeforeWSStore()
public void DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID, java.lang.String strRemoteServerName, java.lang.String strRemoteServerBaseURL)
IWSSubModel
DoTaskOnRemoteServerUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnRemoteServerUpdate(String, String, String)
public void DoTaskOnWSModeUpdate(int nNewWSMode)
IWSSubModel
DoTaskOnWSModeUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnWSModeUpdate(int)
public java.lang.String GetName()
GrowableListModel
GetName
in interface IMVCObject
GetName
in class GrowableListModel
IMVCObject.GetName()
public XPArrayList GetSelectedItemsFromTree()
public java.lang.String GetTreeSpaceID()
GetTreeSpaceID
in interface IAddUserInfoPluginModelRO
public java.lang.String GetValidationFunction()
IWSSubModel
GetValidationFunction
in interface IWSSubModel
IWSSubModel.GetValidationFunction()
public boolean InCurrentList(java.lang.String strItem)
strItem
-
public void InitWSModel(IPTWebService ptWebService)
IWSSubModel
InitWSModel
in interface IWSSubModel
com.plumtree.portalpages.admin.editors.webservice.IWSSubModel#InitWSModel()
public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost
in class GrowableListModel
_htFormData
- Form datapublic void DeleteRowsOnRepost(XPHashtable _htFormData)
ExpListModel
DeleteRowsOnRepost
in class ExpListModel
ExpListModel.DeleteRowsOnRepost(XPHashtable)
protected void SaveTreeID(XPHashtable _htFormData)
_htFormData
- Form data
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |