|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 EditorModel
public XPArrayList GetProfilePages()
public IPTGadget LookupPortlet(IPTProfilePage _ptProfilePage)
public void Init(AActivitySpace aspace)
EditorModel
Init
in interface IModel
Init
in class EditorModel
aspace
- 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
XPException
protected IASQueryResult GetObjectPropRefData(IPTObjectProperties _ptObjProp)
_ptObjProp
- IPTObjectProperties
XPException
protected XPHashtable PutUserPropertiesIntoHashtable()
ptSession
- profileUserID
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
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 IRepostModel
GetRedirectAfterFinish
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 |