|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portalpages.browsing.editors.userprofile.UserProfileModel
public class UserProfileModel
| Field Summary | |
|---|---|
protected XPArrayList |
m_alProfilePages
|
protected int |
m_currProfilePage
|
protected XPHashtable |
m_htPageToPortletMapping
|
protected XPHashtable |
m_htPropTypeTable
|
protected XPHashtable |
m_htPropValueTable
|
protected int |
m_numProfilePages
|
protected XPHashtable |
m_numProfileSectionsTable
Web Service ID for User Profile Portlets. |
static java.lang.String |
STR_MVC_CLASS_NAME
object name |
| Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
| Constructor Summary | |
|---|---|
UserProfileModel()
|
|
| Method Summary | |
|---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Code executed when the Editor is starting. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskOnChangePage(java.lang.String _sNewSpaceName,
java.lang.String _sNewPageName)
This method can be implemented by classes extending this one. |
void |
Finish()
Code executed in finish. |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetNameFromObjectID(int nClassID,
int nObjectID)
Returns the name for an object |
int |
GetNumProfilePages()
|
int |
GetNumProfileSections(int _profilePageIndex)
|
protected IASQueryResult |
GetObjectPropData(IPTObjectProperties _ptObjProp)
Return object property non-reference data |
protected IASQueryResult |
GetObjectPropRefData(IPTObjectProperties _ptObjProp)
Return object property reference data |
XPArrayList |
GetProfilePages()
Returns an XPHashtable, with portlet ID as the key, profile page ID as the value. |
Redirect |
GetRedirectAfterFinish()
DCA - The 508 has a different logic than standard. |
XPHashtable |
GetUserValues()
|
void |
Init(AActivitySpace aspace)
Inits the Model with the Activity Space. |
IPTGadget |
LookupPortlet(IPTProfilePage _ptProfilePage)
|
protected XPHashtable |
PutUserPropertiesIntoHashtable()
|
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetCurrentProfilePage(int index)
|
void |
SetNumProfileSectionsTable(int profilePageNum,
int numProfileSections)
|
| Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
protected XPHashtable m_numProfileSectionsTable
protected XPHashtable m_htPropValueTable
protected XPHashtable m_htPropTypeTable
protected int m_numProfilePages
protected int m_currProfilePage
protected XPHashtable m_htPageToPortletMapping
protected XPArrayList m_alProfilePages
| Constructor Detail |
|---|
public UserProfileModel()
| Method Detail |
|---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart in class EditorModelpublic XPArrayList GetProfilePages()
public IPTGadget LookupPortlet(IPTProfilePage _ptProfilePage)
public void Init(AActivitySpace aspace)
EditorModel
Init in interface IModelInit in class EditorModelaspace -
public void DoTaskOnChangePage(java.lang.String _sNewSpaceName,
java.lang.String _sNewPageName)
EditorModel
DoTaskOnChangePage in class EditorModel_sNewSpaceName - _sNewPageName - public void SetCurrentProfilePage(int index)
index - public XPHashtable GetUserValues()
protected IASQueryResult GetObjectPropData(IPTObjectProperties _ptObjProp)
_ptObjProp - IPTObjectProperties
XPExceptionprotected IASQueryResult GetObjectPropRefData(IPTObjectProperties _ptObjProp)
_ptObjProp - IPTObjectProperties
XPExceptionprotected XPHashtable PutUserPropertiesIntoHashtable()
ptSession - profileUserID -
public java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public void Finish()
Finish in interface IRepostModelFinish in class EditorModelpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModel
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class EditorModel_sPageName - _htFormData -
public int GetNumProfilePages()
public void SetNumProfileSectionsTable(int profilePageNum,
int numProfileSections)
sectionNum - numCategories - public int GetNumProfileSections(int _profilePageIndex)
_sectionIndex -
public Redirect GetRedirectAfterFinish()
GetRedirectAfterFinish in interface IRepostModelGetRedirectAfterFinish in class EditorModel
public java.lang.String GetNameFromObjectID(int nClassID,
int nObjectID)
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 | ||||||||