|
|||||||||
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.portaluiinfrastructure.editor.ObjEditorModel com.plumtree.portalpages.admin.editors.profilesource.ProfileSourceModel
public abstract class ProfileSourceModel
Field Summary | |
---|---|
protected java.lang.Object[][] |
m_arrOriginalPropMapInfo
|
protected java.lang.Object[][] |
m_arrPropMapInfo
Member variable for the property map information |
protected java.lang.String[][] |
m_asAuthPartners
Member variable for the Auth Partners list |
protected int |
m_nPartnerID
Member variable for the partner ID |
protected java.lang.String |
m_sProviderCLSID
Member variable for the Provider CLSID |
protected java.lang.String |
m_strUniqueKeyPropertyName
Member variable for the selected property's name |
protected java.lang.String |
m_sUniqueKeyTreePickerSpaceID
Member variable for tree picker space ID |
static int |
MAPLIST_NUMCOLUMNS
The number of non-plumtree object columns in the mapping list |
static int |
MAPLIST_PTOBJECTPOSITION
The zero-based position of the Plumtree object in the mapping list |
static java.lang.String |
STR_MVC_CLASS_NAME
The unique identifier for the class |
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
ProfileSourceModel()
|
Method Summary | |
---|---|
void |
ClearHistory()
Repost action for clearing the history |
void |
DoTaskAfterStore()
Code executed after the object is stored. |
void |
DoTaskBeforeStore()
Code executed before the object is stored. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting. |
protected static void |
Error(java.lang.String sMethod,
java.lang.Exception e,
java.lang.String sMessage)
Method Error. |
java.lang.String[][] |
GetPartnerList()
Returns the partner list |
abstract java.lang.Object[][] |
GetPartnerQueryFilter()
Method for retrieving the partner query method |
abstract java.lang.String |
GetPropertyMapInstructions()
|
java.lang.String |
GetPropName(int nPropID)
Helper to lookup the property name given a property ID. |
abstract java.lang.String |
GetProviderCLSID()
Returns the ProviderCLSID |
int |
GetSelectedPartner()
Returns the selected partner id |
int |
GetUniqueKey()
Returns the unique key (property ID) that will be sent to the providers during a profile sync. |
java.lang.String |
GetUniqueKeyPickerSpaceID()
Returns the unique key picker space ID. |
java.lang.String |
GetUniqueKeyPropertyName()
If a real property is selected, return the name of the property for easy viewing... |
java.lang.String |
GetUserProperties()
Returns a comma-delimited list of property IDs that are mapped to the user object. |
static java.lang.String |
GetUserProperties(IPTSession ptSession)
|
protected void |
InitAuthPartners()
Method InitAuthPartners. |
abstract boolean |
IsPartnerMandatory()
Returns true if the partner is mandatory |
abstract boolean |
IsPartnerSupported()
Returns true if Partner is supported |
protected void |
PopulateSelectPTObject(java.lang.Object[] aoGroups)
Populates the Group Select PTObject with data |
protected boolean |
PropertyMapHasChanged()
Does a simple match of the original prop map info vs. |
protected int |
SaveMainPage(XPHashtable _htFormData)
Saves the main page - auth partners, group/user selection and unique key chooser. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected int |
SavePropMapPage(XPHashtable _htFormData)
Saves the data on the property map page. |
void |
SetSelectedPartner(int nID)
Sets the selected partner |
void |
SetUniqueKey(int nUniqueKey)
|
void |
StartPropMapList()
Initializes the multi-column list for mapping properties |
protected void |
StartSelectPTObject()
Helper method to start the Select PTObject List. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, Create, DoTaskOnChangePage, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetName, GetRedirectAfterFinish, 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 |
Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO |
---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject |
---|
GetName |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int MAPLIST_NUMCOLUMNS
public static final int MAPLIST_PTOBJECTPOSITION
protected java.lang.String m_sProviderCLSID
protected java.lang.Object[][] m_arrPropMapInfo
protected java.lang.Object[][] m_arrOriginalPropMapInfo
protected java.lang.String[][] m_asAuthPartners
protected int m_nPartnerID
protected java.lang.String m_sUniqueKeyTreePickerSpaceID
protected java.lang.String m_strUniqueKeyPropertyName
Constructor Detail |
---|
public ProfileSourceModel()
Method Detail |
---|
public abstract java.lang.Object[][] GetPartnerQueryFilter()
GetPartnerQueryFilter
in interface IProfileSourceModelRO
public abstract java.lang.String GetProviderCLSID()
GetProviderCLSID
in interface IProfileSourceModelRO
public abstract boolean IsPartnerMandatory()
public abstract boolean IsPartnerSupported()
IsPartnerSupported
in interface IProfileSourceModelRO
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
XPException
protected boolean PropertyMapHasChanged()
public void DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public void ClearHistory()
public java.lang.String[][] GetPartnerList()
GetPartnerList
in interface IProfileSourceModelRO
public int GetSelectedPartner()
GetSelectedPartner
in interface IProfileSourceModelRO
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
protected int SaveMainPage(XPHashtable _htFormData)
_htFormData
- public void SetSelectedPartner(int nID)
nID
- The ID for the selected partnerpublic static java.lang.String GetUserProperties(IPTSession ptSession)
public void StartPropMapList()
protected static void Error(java.lang.String sMethod, java.lang.Exception e, java.lang.String sMessage)
e
- sMethod
- sMessage
- "ptmsgs_portaladminmsgs")
XPException
protected void InitAuthPartners()
protected void PopulateSelectPTObject(java.lang.Object[] aoGroups)
aoGroups
- Object[]protected int SavePropMapPage(XPHashtable _htFormData)
_htFormData
-
XPException
protected void StartSelectPTObject()
public abstract java.lang.String GetPropertyMapInstructions()
GetPropertyMapInstructions
in interface IProfileSourceModelRO
public int GetUniqueKey()
IProfileSourceModelRO
GetUniqueKey
in interface IProfileSourceModelRO
public void SetUniqueKey(int nUniqueKey)
public java.lang.String GetUniqueKeyPropertyName()
IProfileSourceModelRO
GetUniqueKeyPropertyName
in interface IProfileSourceModelRO
public java.lang.String GetUserProperties()
IProfileSourceModelRO
GetUserProperties
in interface IProfileSourceModelRO
public java.lang.String GetPropName(int nPropID)
nPropID
- - property id to resolve
public java.lang.String GetUniqueKeyPickerSpaceID()
IProfileSourceModelRO
GetUniqueKeyPickerSpaceID
in interface IProfileSourceModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |