|
|||||||||
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.properties.ExpListPropModel com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropModel com.plumtree.portalpages.browsing.editors.userprofile.UserProfileObjEditModel
public class UserProfileObjEditModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_MAX
Number total of columns |
static int |
EXPLIST_COL_MULTIID
|
static int |
EXPLIST_COL_REFVALUE_NAME
|
static int |
EXPLIST_COL_ROWID
|
protected XPHashtable |
m_htPropSortIndex
|
protected int |
m_numPropsTotal
|
protected int |
m_numRefProps
|
protected IPTProfileSection |
m_profileSection
|
protected IPTQueryResult |
m_ptqrPropertyInfo
|
static java.lang.String |
STR_MVC_CLASS_NAME
object name |
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropModel |
---|
EXPLIST_COL_DATATABLE, EXPLIST_COL_DATATABLE_INDEX, EXPLIST_COL_SORT_INDEX, m_bDisplayPageIsMandatory, m_bSupportsEOD, m_imgRowIcon, m_oDefaultValue, m_propValueSortingOrder, m_ptObject, m_ptObjProp, m_ptSession, m_strTreeQueryFilter, PROP_OBJECTID_DESCRIPTION, PROP_OBJECTID_NAME, ROW_STATUS_DELETED, SUBSPACE_KEY_PICKTREE, SUBSPACE_KEY_REFTREE |
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropModel |
---|
EXPLIST_COL_NAME, EXPLIST_COL_PROPID, EXPLIST_COL_STATUS, EXPLIST_COL_TYPE, EXPLIST_COL_VALUE, m_ptJSDateTimePickerMgr, m_ptPageMgr, ROW_STATUS_ADDED, ROW_STATUS_MODIFIED, ROW_STATUS_NO_CHANGE, STR_ROW_PROPERTY_DATE_PICKER_UNIQUE_ID_PREFIX |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
UserProfileObjEditModel()
|
Method Summary | |
---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Adds a new row to the list of object property values. |
boolean |
CheckRowIsReadOnly(int _nRowIndex)
Checks to see if the property is read-only |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteRowsOnRepost(XPHashtable _htFormData)
Deletes am existing row from the list of object property values. |
java.lang.String |
GetName()
Returns the Class name. |
protected java.lang.String |
GetNameFromObjectID(int nClassID,
int nObjectID)
Returns the name for an object |
int |
GetNumPropsTotal()
Get the total number of Properties in this Category. |
int |
GetNumRefProps()
Get the number of reference Properties in this Category. |
int |
GetRowID(int _nRowIndex)
Based on the ExpList row index (EXPLIST_COL_ID), return the property index of the given row index. |
java.lang.Object |
GetRowPropertyInfo(int _nRowIndex,
int nPropID)
Gets values of the given Property attribute for a row. |
void |
Init(IPTProfileSection _ptProfileSection)
Initialize the expandable list associated with this Section. |
void |
InitializeObjectProperties(IPTSession _ptSession,
java.lang.String _sSectionTitle,
int _nListKey)
Initialize the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
void |
LoadProperties(IPTSession ptSession)
Load the Properties into the expandable list representation. |
protected int |
SaveDataValue(int _nRowIndex,
XPHashtable _htFormData)
Saves the data value for the row |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropModel |
---|
CheckDisplayPageIsMandatory, CheckObjectSupportsEOD, CheckPickValuesAreValid, CheckRowIsHREF, CheckRowIsMandatory, CheckRowIsMultiValued, CheckRowIsVisible, DoTaskOnComeBackFromSubEditor, Finish, GetDataKey, GetObjectPropData, GetObjectPropRefData, GetPickListValues, GetRowRefValueName, GetSelectedReference, GetStringFromObjectValue, HasAccessToGlobalObjectPropMapEditor, InitializeObjectProperties, LoadProperties, ModifyRow, SaveRow, SaveSection, UpdateMandatoryPageStatus, ValidateTree |
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropModel |
---|
GetDateTimeFromDatePicker, GetDateTimePickerControlManager, GetPasswordKey, GetPropValueFromString, GetRowErrorMessage, GetRowName, GetRowPropertyID, GetRowStatus, GetRowType, GetRowValue, GetUniqueDateTimePickerKey, ReverseCurrentSort, SaveDateTimeRow, SavePasswordValue, SetRowStatus, SetRowValue, SortByColumn, UpdateDateTimeUniqueKeys, UpdateRowInList, ValidateMandatoryDataValue |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData |
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.editor.commonpages.objectproperties.IObjPropModelRO |
---|
CheckDisplayPageIsMandatory, CheckObjectSupportsEOD, CheckPickValuesAreValid, CheckRowIsHREF, CheckRowIsMandatory, CheckRowIsMultiValued, CheckRowIsVisible, GetPickListValues, GetRowRefValueName, GetSelectedReference, GetStringFromObjectValue, HasAccessToGlobalObjectPropMapEditor |
Methods inherited from interface com.plumtree.portaluiinfrastructure.expandablelist.properties.IExpListPropModelRO |
---|
GetDateTimePickerControlManager, GetRowName, GetRowPropertyID, GetRowStatus, GetRowType, GetRowValue, GetUniqueDateTimePickerKey |
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 |
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_ROWID
public static final int EXPLIST_COL_MULTIID
public static final int EXPLIST_COL_REFVALUE_NAME
protected IPTProfileSection m_profileSection
protected int m_numRefProps
protected int m_numPropsTotal
protected XPHashtable m_htPropSortIndex
protected IPTQueryResult m_ptqrPropertyInfo
Constructor Detail |
---|
public UserProfileObjEditModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class ObjPropModel
IManagedObject.Create()
public void Init(IPTProfileSection _ptProfileSection)
Init
in interface IModel
Init
in class ExpListPropModel
__ptProfileSection
- - IPTProfileSection that this expandable list represents.public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost
in class ObjPropModel
_htFormData
- - Hashtable of form datacom.plumtree.uiinfrastructure.expandablelist.ObjPropModel#AddRowsOnRepost(XPHashtable)
public void DeleteRowsOnRepost(XPHashtable _htFormData)
DeleteRowsOnRepost
in class ObjPropModel
_htFormData
- Hash table of form dataExpListModel.DeleteRowsOnRepost(XPHashtable)
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class ObjPropModel
IMVCObject.GetName()
public void InitializeObjectProperties(IPTSession _ptSession, java.lang.String _sSectionTitle, int _nListKey)
_ptSession
- _ptObjProp
- _sSectionTitle
- _nListKey
- public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray
in class ObjPropModel
_saData
- ExpListModel.InitializeSortedArray(PTGrowableSortedArrayWrapper)
public void LoadProperties(IPTSession ptSession)
ptSession
- public int GetNumRefProps()
public int GetNumPropsTotal()
public boolean CheckRowIsReadOnly(int _nRowIndex)
CheckRowIsReadOnly
in interface IObjPropModelRO
CheckRowIsReadOnly
in class ObjPropModel
_nRowIndex
- Current row index
IObjPropModelRO.CheckRowIsReadOnly(int)
public java.lang.Object GetRowPropertyInfo(int _nRowIndex, int nPropID)
GetRowPropertyInfo
in interface IObjPropModelRO
GetRowPropertyInfo
in class ObjPropModel
_nRowIndex
- Row index to look upnPropID
- Property attribute to look up
IObjPropModelRO.GetRowPropertyInfo(int,
int)
protected int SaveDataValue(int _nRowIndex, XPHashtable _htFormData)
SaveDataValue
in class ExpListPropModel
_nRowIndex
- Row index_htFormData
- Form data
public int GetRowID(int _nRowIndex)
_nRowIndex
-
protected java.lang.String GetNameFromObjectID(int nClassID, int nObjectID)
GetNameFromObjectID
in class ObjPropModel
nClassID
- Class ID of objectnObjectID
- Object ID of object
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |