|
|||||||||
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.admin.serversettings.general.SetServerSettingsModel
public class SetServerSettingsModel
Field Summary | |
---|---|
static int |
MAX_PASSWORD_LENGTH
|
static int |
MAXIMUM_PASSWORD_HISTORY
|
static int |
MIN_PASSWORD_LENGTH
|
static java.lang.String |
STR_MVC_CLASS_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 | |
---|---|
SetServerSettingsModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
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()
Initializes IPTProperty with the property type member variable just before we store the object in the DB. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
boolean |
GetAllowNumericAuthentication()
|
boolean |
GetAllowUserCreation()
|
boolean |
GetAutoAssignNumericID()
|
java.lang.String |
GetDefaultLocale()
|
java.lang.String |
GetDefaultTimeZone()
|
java.lang.String |
GetDocumentDisplayURL()
|
boolean |
GetEnableAccountLocking()
|
boolean |
GetEnablePortletErrorsDebugMode()
|
boolean |
GetEnableSubportalRulesDebugMode()
|
java.lang.String |
GetInviteCipherKey()
GetInviteCipherKey - the key used to encrypt the codes for CreateAccount invites |
int |
GetMinutesToLockAccounts()
|
int |
GetMinutesToTrackFailedLogins()
|
java.lang.String |
GetName()
Returns the Class name. |
int |
GetNumberOfFailedLoginsAllowed()
|
int |
GetPasswordExpiration()
|
int |
GetPasswordExpirationWarning()
|
boolean |
GetPasswordIncludeCasing()
|
boolean |
GetPasswordIncludeNumbers()
|
boolean |
GetPasswordIncludePunctuation()
|
int |
GetPasswordLength()
|
boolean |
GetPasswordNoUserIDs()
|
int |
GetPasswordReuseHistory()
|
java.lang.String |
GetPrimaryWebServerURL()
|
java.lang.Object[] |
GetServerSettings()
|
java.lang.String |
GetSharedFilesPath()
|
java.lang.String |
GetSoapServerURL()
|
boolean |
HasMinutesToLockAccountsError()
|
boolean |
HasMinutesToTrackFailedLoginsError()
|
boolean |
HasNumberOfFailedLoginsAllowedError()
|
boolean |
HasPasswordExpirationError()
|
boolean |
HasPasswordExpirationWarningError()
|
boolean |
HasPasswordLengthError()
|
boolean |
HasPasswordReuseHistoryError()
|
void |
Init(AActivitySpace parent)
Inits the Model with the Activity Space. |
void |
RepostAdvPage()
Does nothing for now. |
void |
RepostMainPage()
Modifies the object description on repost. |
protected int |
SaveGeneralPage(XPHashtable _htFormData)
Saves the data on the General Settings page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected int |
SavePortalUrlsPage(XPHashtable _htFormData)
|
protected int |
SaveUserSettingsPage(XPHashtable _htFormData)
Saves the data on the User Settings page. |
void |
SetAllowNumericAuthentication(boolean b)
|
void |
SetAllowUserCreation(boolean b)
|
void |
SetAutoAssignNumericID(boolean b)
|
void |
SetDefaultLocale(java.lang.String s)
|
void |
SetDefaultTimeZone(java.lang.String s)
|
void |
SetDocumentDisplayURL(java.lang.String s)
|
void |
SetEnableAccountLocking(boolean b)
|
void |
SetEnableDebugPortletErrorsMode(boolean b)
|
void |
SetEnableDebugSubportalRulesMode(boolean b)
|
void |
SetInviteCipherKey(java.lang.String sKey)
SetInviteCipherKey - the key used to encrypt the codes for CreateAccount invites |
void |
SetMinutesToLockAccounts(int i)
|
void |
SetMinutesToTrackFailedLogins(int i)
|
void |
SetNumberOfFailedLoginsAllowed(int i)
|
void |
SetPasswordExpiration(int _nPasswordExpiration)
|
void |
SetPasswordExpirationWarning(int _nPasswordExpirationWarning)
|
void |
SetPasswordIncludeCasing(boolean _bPasswordCasing)
|
void |
SetPasswordIncludeNumbers(boolean _bPasswordNumbers)
|
void |
SetPasswordIncludePunctuation(boolean _bPasswordPunctuation)
|
void |
SetPasswordLength(int _nPasswordLength)
|
void |
SetPasswordNoUserIDs(boolean _bPasswordNoUserIDs)
|
void |
SetPasswordReuseHistory(int _nPasswordReuseHistory)
|
void |
SetPrimaryWebServerURL(java.lang.String s)
|
void |
SetSharedFilesPath(java.lang.String s)
|
void |
SetSoapServerURL(java.lang.String s)
|
protected void |
SetUIValidationError()
|
protected void |
SetUIValidationError(java.lang.String _strError)
|
void |
UpdateLoginTokenKey()
|
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, 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.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int MIN_PASSWORD_LENGTH
public static final int MAX_PASSWORD_LENGTH
public static final int MAXIMUM_PASSWORD_HISTORY
Constructor Detail |
---|
public SetServerSettingsModel()
Method Detail |
---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class EditorModel
_htFormData
-
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 Finish()
EditorModel
Finish
in interface IRepostModel
Finish
in class EditorModel
public boolean GetAllowNumericAuthentication()
GetAllowNumericAuthentication
in interface ISetServerSettingsModelRO
public boolean GetAllowUserCreation()
GetAllowUserCreation
in interface ISetServerSettingsModelRO
public boolean GetAutoAssignNumericID()
GetAutoAssignNumericID
in interface ISetServerSettingsModelRO
public java.lang.String GetDefaultLocale()
GetDefaultLocale
in interface ISetServerSettingsModelRO
public java.lang.String GetDefaultTimeZone()
GetDefaultTimeZone
in interface ISetServerSettingsModelRO
public java.lang.String GetDocumentDisplayURL()
GetDocumentDisplayURL
in interface ISetServerSettingsModelRO
public boolean GetEnableAccountLocking()
GetEnableAccountLocking
in interface ISetServerSettingsModelRO
public boolean GetEnableSubportalRulesDebugMode()
GetEnableSubportalRulesDebugMode
in interface ISetServerSettingsModelRO
public boolean GetEnablePortletErrorsDebugMode()
GetEnablePortletErrorsDebugMode
in interface ISetServerSettingsModelRO
public java.lang.String GetSharedFilesPath()
GetSharedFilesPath
in interface ISetServerSettingsModelRO
public java.lang.String GetSoapServerURL()
GetSoapServerURL
in interface ISetServerSettingsModelRO
public int GetMinutesToLockAccounts()
GetMinutesToLockAccounts
in interface ISetServerSettingsModelRO
public boolean HasMinutesToLockAccountsError()
HasMinutesToLockAccountsError
in interface ISetServerSettingsModelRO
public int GetMinutesToTrackFailedLogins()
GetMinutesToTrackFailedLogins
in interface ISetServerSettingsModelRO
public boolean HasMinutesToTrackFailedLoginsError()
HasMinutesToTrackFailedLoginsError
in interface ISetServerSettingsModelRO
public int GetNumberOfFailedLoginsAllowed()
GetNumberOfFailedLoginsAllowed
in interface ISetServerSettingsModelRO
public boolean HasNumberOfFailedLoginsAllowedError()
HasNumberOfFailedLoginsAllowedError
in interface ISetServerSettingsModelRO
public java.lang.String GetPrimaryWebServerURL()
GetPrimaryWebServerURL
in interface ISetServerSettingsModelRO
public int GetPasswordLength()
GetPasswordLength
in interface ISetServerSettingsModelRO
public boolean HasPasswordLengthError()
HasPasswordLengthError
in interface ISetServerSettingsModelRO
public boolean GetPasswordIncludeNumbers()
GetPasswordIncludeNumbers
in interface ISetServerSettingsModelRO
public boolean GetPasswordIncludeCasing()
GetPasswordIncludeCasing
in interface ISetServerSettingsModelRO
public boolean GetPasswordIncludePunctuation()
GetPasswordIncludePunctuation
in interface ISetServerSettingsModelRO
public boolean GetPasswordNoUserIDs()
GetPasswordNoUserIDs
in interface ISetServerSettingsModelRO
public int GetPasswordReuseHistory()
GetPasswordReuseHistory
in interface ISetServerSettingsModelRO
public boolean HasPasswordReuseHistoryError()
HasPasswordReuseHistoryError
in interface ISetServerSettingsModelRO
public int GetPasswordExpiration()
GetPasswordExpiration
in interface ISetServerSettingsModelRO
public boolean HasPasswordExpirationError()
HasPasswordExpirationError
in interface ISetServerSettingsModelRO
public int GetPasswordExpirationWarning()
GetPasswordExpirationWarning
in interface ISetServerSettingsModelRO
public boolean HasPasswordExpirationWarningError()
HasPasswordExpirationWarningError
in interface ISetServerSettingsModelRO
public java.lang.Object[] GetServerSettings()
GetServerSettings
in interface ISetServerSettingsModelRO
public void Init(AActivitySpace parent)
EditorModel
Init
in interface IModel
Init
in class EditorModel
parent
- the parent Activity Spacecom.plumtree.portaluiinfrastructure.activityspace.IModel#Init(IActivitySpace)
public void RepostAdvPage()
public void RepostMainPage()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
public void SetAllowNumericAuthentication(boolean b)
b
- public void SetAllowUserCreation(boolean b)
b
- public void SetAutoAssignNumericID(boolean b)
b
- public void SetDefaultLocale(java.lang.String s)
s
- public void SetDefaultTimeZone(java.lang.String s)
s
- public void SetDocumentDisplayURL(java.lang.String s)
s
- public void SetSoapServerURL(java.lang.String s)
s
- public void SetSharedFilesPath(java.lang.String s)
s
- public void SetEnableAccountLocking(boolean b)
b
- public void SetEnableDebugSubportalRulesMode(boolean b)
b
- public void SetEnableDebugPortletErrorsMode(boolean b)
b
- public void SetMinutesToLockAccounts(int i)
s
- public void SetMinutesToTrackFailedLogins(int i)
s
- public void SetNumberOfFailedLoginsAllowed(int i)
s
- public void SetPrimaryWebServerURL(java.lang.String s)
s
- public void SetPasswordLength(int _nPasswordLength)
_nPasswordLength
- The minimum password lengthpublic void SetPasswordIncludeNumbers(boolean _bPasswordNumbers)
_bPasswordNumbers
- Whether or not numbers are required in the passwords.public void SetPasswordIncludeCasing(boolean _bPasswordCasing)
_bPasswordCasing
- Whether or not both upper and lower case letters are required in the passwords.public void SetPasswordIncludePunctuation(boolean _bPasswordPunctuation)
_bPasswordPunctuation
- Whether or not punctuation is required in the passwords.public void SetPasswordNoUserIDs(boolean _bPasswordNoUserIDs)
_bPasswordNoUserIDs
- Whether or not user IDs should be dissalowed in the passwords.public void SetPasswordReuseHistory(int _nPasswordReuseHistory)
_nPasswordReuseHistory
- The number of passwords to keep in history to check for reuse.public void SetPasswordExpiration(int _nPasswordExpiration)
_nPasswordExpiration
- The password expiration in days.public void SetPasswordExpirationWarning(int _nPasswordExpirationWarning)
_nPasswordExpirationWarning
- The password expiration warning in days.protected int SaveUserSettingsPage(XPHashtable _htFormData)
_htFormData
-
protected int SaveGeneralPage(XPHashtable _htFormData)
_htFormData
-
protected int SavePortalUrlsPage(XPHashtable _htFormData)
_htFormData
- protected void SetUIValidationError()
protected void SetUIValidationError(java.lang.String _strError)
public void UpdateLoginTokenKey()
public java.lang.String GetInviteCipherKey()
public void SetInviteCipherKey(java.lang.String sKey)
sKey
- public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |