|
|||||||||
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.user.UserModel
public class UserModel
Field Summary | |
---|---|
protected int[] |
m_aExistingGroups
|
protected boolean |
m_bCheckBox
|
protected boolean |
m_bDeleteGroups
|
protected int |
m_nUserType
|
protected java.lang.String |
m_sSetting1
|
protected java.lang.String |
m_sSetting2
|
protected java.lang.String |
m_strConfirmPassword
|
protected java.lang.String |
m_strInitialEncryptedPassword
|
protected java.lang.String |
m_strInitialMobileUsr
|
protected java.lang.String |
m_strInitialUserName
|
protected java.lang.String |
m_strMobilePassword
|
protected java.lang.String |
m_strMobileUsr
|
protected java.lang.String |
m_strPassword
|
protected java.lang.String |
m_strUserName
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
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 | |
---|---|
UserModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskAfterStore()
Code executed after the object is stored. |
void |
DoTaskBeforeStore()
Code executed before the object is stored. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting. |
boolean |
EditingGuestUser()
Returns true if the User Type of the user is guest. |
boolean |
EditingInDefaultProfilesFolder()
We need this to know if we're locking the password and locking setting in the editor |
boolean |
EditingLockedAccount()
Return true if the user is locked. |
java.lang.String |
GetAuthUsername()
Returns the user's auth user name - the name sent to a remote provider in order to authenticate the user. |
boolean |
GetCheckBox()
|
java.lang.String |
GetConfirmPassword()
Return the confirm password variable. |
java.lang.String |
GetLoginName()
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPassword()
|
java.lang.String |
GetUniqueUsername()
Returns the user's auth unique name - the unique key sent by a remote provider to identify the user. |
java.lang.String |
GetUserMobileName()
|
java.lang.String |
GetUserMobilePsswrd()
|
protected java.lang.Object[][] |
InitializeCreateMode(SelectPTObjectModel mySelectPTObjectModel)
|
protected java.lang.Object[][] |
InitializeEditMode(SelectPTObjectModel mySelectPTObjectModel)
|
boolean |
IsCurrentUserAdministrator()
|
boolean |
IsPlumtreeAuthSource()
|
boolean |
IsRemoteUser()
Returns true if the user is tied
to a remote authentication source. |
int |
SaveDevicesPage(XPHashtable _htFormData)
|
int |
SaveMainPage(XPHashtable _htFormData)
|
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetConfirmPassword(java.lang.String _confirmPassword)
Sets the confirm password vairable. |
void |
SetDeleteGroups()
|
void |
StartDynamicMembershipsSelectPTObject()
|
void |
StartSelectPTObject()
Helper method to start the Select PTObject List. |
boolean |
UserTypeEditable()
Returns whether the guest account type is editable. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, 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, DoTaskOnChangePage, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, 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 |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
protected java.lang.String m_sSetting1
protected java.lang.String m_sSetting2
protected java.lang.String m_strMobilePassword
protected java.lang.String m_strMobileUsr
protected java.lang.String m_strInitialMobileUsr
protected java.lang.String m_strPassword
protected java.lang.String m_strConfirmPassword
protected java.lang.String m_strUserName
protected java.lang.String m_strInitialUserName
protected java.lang.String m_strInitialEncryptedPassword
protected int m_nUserType
protected int[] m_aExistingGroups
protected boolean m_bCheckBox
protected boolean m_bDeleteGroups
Constructor Detail |
---|
public UserModel()
Method Detail |
---|
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public boolean GetCheckBox()
GetCheckBox
in interface IUserModelRO
public java.lang.String GetLoginName()
GetLoginName
in interface IUserModelRO
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetPassword()
GetPassword
in interface IUserModelRO
public java.lang.String GetUserMobileName()
GetUserMobileName
in interface IUserModelRO
public java.lang.String GetUserMobilePsswrd()
GetUserMobilePsswrd
in interface IUserModelRO
public int SaveDevicesPage(XPHashtable _htFormData)
_htFormData
-
public int SaveMainPage(XPHashtable _htFormData)
_htFormData
-
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void StartSelectPTObject()
public void StartDynamicMembershipsSelectPTObject()
protected java.lang.Object[][] InitializeCreateMode(SelectPTObjectModel mySelectPTObjectModel)
mySelectPTObjectModel
-
protected java.lang.Object[][] InitializeEditMode(SelectPTObjectModel mySelectPTObjectModel)
mySelectPTObjectModel
-
public boolean EditingInDefaultProfilesFolder()
EditingInDefaultProfilesFolder
in interface IUserModelRO
IUserModelRO.EditingInDefaultProfilesFolder()
public boolean EditingGuestUser()
IUserModelRO
EditingGuestUser
in interface IUserModelRO
IUserModelRO.EditingGuestUser()
public boolean EditingLockedAccount()
EditingLockedAccount
in interface IUserModelRO
public boolean UserTypeEditable()
UserTypeEditable
in interface IUserModelRO
public boolean IsCurrentUserAdministrator()
IsCurrentUserAdministrator
in interface IUserModelRO
public boolean IsPlumtreeAuthSource()
IsPlumtreeAuthSource
in interface IUserModelRO
IUserModelRO.IsPlumtreeAuthSource()
public void SetDeleteGroups()
public java.lang.String GetAuthUsername()
IUserModelRO
GetAuthUsername
in interface IUserModelRO
public java.lang.String GetUniqueUsername()
IUserModelRO
GetUniqueUsername
in interface IUserModelRO
public boolean IsRemoteUser()
IUserModelRO
true
if the user is tied
to a remote authentication source. Otherwise,
false
is returned.
IsRemoteUser
in interface IUserModelRO
public java.lang.String GetConfirmPassword()
GetConfirmPassword
in interface IUserModelRO
public void SetConfirmPassword(java.lang.String _confirmPassword)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |