|
|||||||||
| 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.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 IManagedObjectCreate in class EditorModelIManagedObject.Create()public void DoTaskAfterStore()
DoTaskAfterStore in class EditorModelpublic void DoTaskBeforeStore()
DoTaskBeforeStore in class EditorModelpublic void Finish()
EditorModel
Finish in interface IRepostModelFinish in class EditorModelpublic boolean GetAllowNumericAuthentication()
GetAllowNumericAuthentication in interface ISetServerSettingsModelROpublic boolean GetAllowUserCreation()
GetAllowUserCreation in interface ISetServerSettingsModelROpublic boolean GetAutoAssignNumericID()
GetAutoAssignNumericID in interface ISetServerSettingsModelROpublic java.lang.String GetDefaultLocale()
GetDefaultLocale in interface ISetServerSettingsModelROpublic java.lang.String GetDefaultTimeZone()
GetDefaultTimeZone in interface ISetServerSettingsModelROpublic java.lang.String GetDocumentDisplayURL()
GetDocumentDisplayURL in interface ISetServerSettingsModelROpublic boolean GetEnableAccountLocking()
GetEnableAccountLocking in interface ISetServerSettingsModelROpublic boolean GetEnableSubportalRulesDebugMode()
GetEnableSubportalRulesDebugMode in interface ISetServerSettingsModelROpublic boolean GetEnablePortletErrorsDebugMode()
GetEnablePortletErrorsDebugMode in interface ISetServerSettingsModelROpublic java.lang.String GetSharedFilesPath()
GetSharedFilesPath in interface ISetServerSettingsModelROpublic java.lang.String GetSoapServerURL()
GetSoapServerURL in interface ISetServerSettingsModelROpublic int GetMinutesToLockAccounts()
GetMinutesToLockAccounts in interface ISetServerSettingsModelROpublic boolean HasMinutesToLockAccountsError()
HasMinutesToLockAccountsError in interface ISetServerSettingsModelROpublic int GetMinutesToTrackFailedLogins()
GetMinutesToTrackFailedLogins in interface ISetServerSettingsModelROpublic boolean HasMinutesToTrackFailedLoginsError()
HasMinutesToTrackFailedLoginsError in interface ISetServerSettingsModelROpublic int GetNumberOfFailedLoginsAllowed()
GetNumberOfFailedLoginsAllowed in interface ISetServerSettingsModelROpublic boolean HasNumberOfFailedLoginsAllowedError()
HasNumberOfFailedLoginsAllowedError in interface ISetServerSettingsModelROpublic java.lang.String GetPrimaryWebServerURL()
GetPrimaryWebServerURL in interface ISetServerSettingsModelROpublic int GetPasswordLength()
GetPasswordLength in interface ISetServerSettingsModelROpublic boolean HasPasswordLengthError()
HasPasswordLengthError in interface ISetServerSettingsModelROpublic boolean GetPasswordIncludeNumbers()
GetPasswordIncludeNumbers in interface ISetServerSettingsModelROpublic boolean GetPasswordIncludeCasing()
GetPasswordIncludeCasing in interface ISetServerSettingsModelROpublic boolean GetPasswordIncludePunctuation()
GetPasswordIncludePunctuation in interface ISetServerSettingsModelROpublic boolean GetPasswordNoUserIDs()
GetPasswordNoUserIDs in interface ISetServerSettingsModelROpublic int GetPasswordReuseHistory()
GetPasswordReuseHistory in interface ISetServerSettingsModelROpublic boolean HasPasswordReuseHistoryError()
HasPasswordReuseHistoryError in interface ISetServerSettingsModelROpublic int GetPasswordExpiration()
GetPasswordExpiration in interface ISetServerSettingsModelROpublic boolean HasPasswordExpirationError()
HasPasswordExpirationError in interface ISetServerSettingsModelROpublic int GetPasswordExpirationWarning()
GetPasswordExpirationWarning in interface ISetServerSettingsModelROpublic boolean HasPasswordExpirationWarningError()
HasPasswordExpirationWarningError in interface ISetServerSettingsModelROpublic java.lang.Object[] GetServerSettings()
GetServerSettings in interface ISetServerSettingsModelROpublic void Init(AActivitySpace parent)
EditorModel
Init in interface IModelInit in class EditorModelparent - 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 IRepostModelSavePage 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 IMVCObjectGetName in class EditorModel
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||