Package com.liferay.portal.kernel.model
Class PasswordPolicyWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PasswordPolicy>
com.liferay.portal.kernel.model.PasswordPolicyWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<PasswordPolicy>
,ClassedModel
,ModelWrapper<PasswordPolicy>
,MVCCModel
,PasswordPolicy
,PasswordPolicyModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,Serializable
,Cloneable
,Comparable<PasswordPolicy>
public class PasswordPolicyWrapper
extends BaseModelWrapper<PasswordPolicy>
implements ModelWrapper<PasswordPolicy>, PasswordPolicy
This class is a wrapper for PasswordPolicy
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.PasswordPolicy
PASSWORD_POLICY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the allow dictionary words of this password policy.boolean
Returns the changeable of this password policy.boolean
Returns the change required of this password policy.boolean
Returns the check syntax of this password policy.long
Returns the company ID of this password policy.Returns the create date of this password policy.boolean
Returns the default policy of this password policy.Returns the description of this password policy.boolean
Returns the expireable of this password policy.int
Returns the grace limit of this password policy.boolean
Returns the history of this password policy.int
Returns the history count of this password policy.boolean
Returns the lockout of this password policy.long
Returns the lockout duration of this password policy.long
Returns the max age of this password policy.int
Returns the max failure of this password policy.long
Returns the min age of this password policy.int
Returns the min alphanumeric of this password policy.int
Returns the min length of this password policy.int
Returns the min lower case of this password policy.int
Returns the min numbers of this password policy.int
Returns the min symbols of this password policy.int
Returns the min upper case of this password policy.Returns the modified date of this password policy.long
Returns the mvcc version of this password policy.getName()
Returns the name of this password policy.long
Returns the password policy ID of this password policy.long
Returns the primary key of this password policy.getRegex()
Returns the regex of this password policy.boolean
Returns the require unlock of this password policy.long
Returns the reset failure count of this password policy.long
Returns the reset ticket max age of this password policy.long
Returns the user ID of this password policy.Returns the user name of this password policy.Returns the user uuid of this password policy.getUuid()
Returns the uuid of this password policy.long
Returns the warning time of this password policy.boolean
Returnstrue
if this password policy is allow dictionary words.boolean
Returnstrue
if this password policy is changeable.boolean
Returnstrue
if this password policy is change required.boolean
Returnstrue
if this password policy is check syntax.boolean
Returnstrue
if this password policy is default policy.boolean
Returnstrue
if this password policy is expireable.boolean
Returnstrue
if this password policy is history.boolean
Returnstrue
if this password policy is lockout.boolean
Returnstrue
if this password policy is require unlock.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setAllowDictionaryWords
(boolean allowDictionaryWords) Sets whether this password policy is allow dictionary words.void
setChangeable
(boolean changeable) Sets whether this password policy is changeable.void
setChangeRequired
(boolean changeRequired) Sets whether this password policy is change required.void
setCheckSyntax
(boolean checkSyntax) Sets whether this password policy is check syntax.void
setCompanyId
(long companyId) Sets the company ID of this password policy.void
setCreateDate
(Date createDate) Sets the create date of this password policy.void
setDefaultPolicy
(boolean defaultPolicy) Sets whether this password policy is default policy.void
setDescription
(String description) Sets the description of this password policy.void
setExpireable
(boolean expireable) Sets whether this password policy is expireable.void
setGraceLimit
(int graceLimit) Sets the grace limit of this password policy.void
setHistory
(boolean history) Sets whether this password policy is history.void
setHistoryCount
(int historyCount) Sets the history count of this password policy.void
setLockout
(boolean lockout) Sets whether this password policy is lockout.void
setLockoutDuration
(long lockoutDuration) Sets the lockout duration of this password policy.void
setMaxAge
(long maxAge) Sets the max age of this password policy.void
setMaxFailure
(int maxFailure) Sets the max failure of this password policy.void
setMinAge
(long minAge) Sets the min age of this password policy.void
setMinAlphanumeric
(int minAlphanumeric) Sets the min alphanumeric of this password policy.void
setMinLength
(int minLength) Sets the min length of this password policy.void
setMinLowerCase
(int minLowerCase) Sets the min lower case of this password policy.void
setMinNumbers
(int minNumbers) Sets the min numbers of this password policy.void
setMinSymbols
(int minSymbols) Sets the min symbols of this password policy.void
setMinUpperCase
(int minUpperCase) Sets the min upper case of this password policy.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this password policy.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this password policy.void
Sets the name of this password policy.void
setPasswordPolicyId
(long passwordPolicyId) Sets the password policy ID of this password policy.void
setPrimaryKey
(long primaryKey) Sets the primary key of this password policy.void
Sets the regex of this password policy.void
setRequireUnlock
(boolean requireUnlock) Sets whether this password policy is require unlock.void
setResetFailureCount
(long resetFailureCount) Sets the reset failure count of this password policy.void
setResetTicketMaxAge
(long resetTicketMaxAge) Sets the reset ticket max age of this password policy.void
setUserId
(long userId) Sets the user ID of this password policy.void
setUserName
(String userName) Sets the user name of this password policy.void
setUserUuid
(String userUuid) Sets the user uuid of this password policy.void
Sets the uuid of this password policy.void
setWarningTime
(long warningTime) Sets the warning time of this password policy.protected PasswordPolicyWrapper
wrap
(PasswordPolicy passwordPolicy) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
PasswordPolicyWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<PasswordPolicy>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<PasswordPolicy>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PasswordPolicy>
- Specified by:
cloneWithOriginalValues
in interfacePasswordPolicyModel
-
getAllowDictionaryWords
public boolean getAllowDictionaryWords()Returns the allow dictionary words of this password policy.- Specified by:
getAllowDictionaryWords
in interfacePasswordPolicyModel
- Returns:
- the allow dictionary words of this password policy
-
getChangeable
public boolean getChangeable()Returns the changeable of this password policy.- Specified by:
getChangeable
in interfacePasswordPolicyModel
- Returns:
- the changeable of this password policy
-
getChangeRequired
public boolean getChangeRequired()Returns the change required of this password policy.- Specified by:
getChangeRequired
in interfacePasswordPolicyModel
- Returns:
- the change required of this password policy
-
getCheckSyntax
public boolean getCheckSyntax()Returns the check syntax of this password policy.- Specified by:
getCheckSyntax
in interfacePasswordPolicyModel
- Returns:
- the check syntax of this password policy
-
getCompanyId
public long getCompanyId()Returns the company ID of this password policy.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfacePasswordPolicyModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this password policy
-
getCreateDate
Returns the create date of this password policy.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfacePasswordPolicyModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this password policy
-
getDefaultPolicy
public boolean getDefaultPolicy()Returns the default policy of this password policy.- Specified by:
getDefaultPolicy
in interfacePasswordPolicyModel
- Returns:
- the default policy of this password policy
-
getDescription
Returns the description of this password policy.- Specified by:
getDescription
in interfacePasswordPolicyModel
- Returns:
- the description of this password policy
-
getExpireable
public boolean getExpireable()Returns the expireable of this password policy.- Specified by:
getExpireable
in interfacePasswordPolicyModel
- Returns:
- the expireable of this password policy
-
getGraceLimit
public int getGraceLimit()Returns the grace limit of this password policy.- Specified by:
getGraceLimit
in interfacePasswordPolicyModel
- Returns:
- the grace limit of this password policy
-
getHistory
public boolean getHistory()Returns the history of this password policy.- Specified by:
getHistory
in interfacePasswordPolicyModel
- Returns:
- the history of this password policy
-
getHistoryCount
public int getHistoryCount()Returns the history count of this password policy.- Specified by:
getHistoryCount
in interfacePasswordPolicyModel
- Returns:
- the history count of this password policy
-
getLockout
public boolean getLockout()Returns the lockout of this password policy.- Specified by:
getLockout
in interfacePasswordPolicyModel
- Returns:
- the lockout of this password policy
-
getLockoutDuration
public long getLockoutDuration()Returns the lockout duration of this password policy.- Specified by:
getLockoutDuration
in interfacePasswordPolicyModel
- Returns:
- the lockout duration of this password policy
-
getMaxAge
public long getMaxAge()Returns the max age of this password policy.- Specified by:
getMaxAge
in interfacePasswordPolicyModel
- Returns:
- the max age of this password policy
-
getMaxFailure
public int getMaxFailure()Returns the max failure of this password policy.- Specified by:
getMaxFailure
in interfacePasswordPolicyModel
- Returns:
- the max failure of this password policy
-
getMinAge
public long getMinAge()Returns the min age of this password policy.- Specified by:
getMinAge
in interfacePasswordPolicyModel
- Returns:
- the min age of this password policy
-
getMinAlphanumeric
public int getMinAlphanumeric()Returns the min alphanumeric of this password policy.- Specified by:
getMinAlphanumeric
in interfacePasswordPolicyModel
- Returns:
- the min alphanumeric of this password policy
-
getMinLength
public int getMinLength()Returns the min length of this password policy.- Specified by:
getMinLength
in interfacePasswordPolicyModel
- Returns:
- the min length of this password policy
-
getMinLowerCase
public int getMinLowerCase()Returns the min lower case of this password policy.- Specified by:
getMinLowerCase
in interfacePasswordPolicyModel
- Returns:
- the min lower case of this password policy
-
getMinNumbers
public int getMinNumbers()Returns the min numbers of this password policy.- Specified by:
getMinNumbers
in interfacePasswordPolicyModel
- Returns:
- the min numbers of this password policy
-
getMinSymbols
public int getMinSymbols()Returns the min symbols of this password policy.- Specified by:
getMinSymbols
in interfacePasswordPolicyModel
- Returns:
- the min symbols of this password policy
-
getMinUpperCase
public int getMinUpperCase()Returns the min upper case of this password policy.- Specified by:
getMinUpperCase
in interfacePasswordPolicyModel
- Returns:
- the min upper case of this password policy
-
getModifiedDate
Returns the modified date of this password policy.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfacePasswordPolicyModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this password policy
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this password policy.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfacePasswordPolicyModel
- Returns:
- the mvcc version of this password policy
-
getName
Returns the name of this password policy.- Specified by:
getName
in interfacePasswordPolicyModel
- Returns:
- the name of this password policy
-
getPasswordPolicyId
public long getPasswordPolicyId()Returns the password policy ID of this password policy.- Specified by:
getPasswordPolicyId
in interfacePasswordPolicyModel
- Returns:
- the password policy ID of this password policy
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this password policy.- Specified by:
getPrimaryKey
in interfacePasswordPolicyModel
- Returns:
- the primary key of this password policy
-
getRegex
Returns the regex of this password policy.- Specified by:
getRegex
in interfacePasswordPolicyModel
- Returns:
- the regex of this password policy
-
getRequireUnlock
public boolean getRequireUnlock()Returns the require unlock of this password policy.- Specified by:
getRequireUnlock
in interfacePasswordPolicyModel
- Returns:
- the require unlock of this password policy
-
getResetFailureCount
public long getResetFailureCount()Returns the reset failure count of this password policy.- Specified by:
getResetFailureCount
in interfacePasswordPolicyModel
- Returns:
- the reset failure count of this password policy
-
getResetTicketMaxAge
public long getResetTicketMaxAge()Returns the reset ticket max age of this password policy.- Specified by:
getResetTicketMaxAge
in interfacePasswordPolicyModel
- Returns:
- the reset ticket max age of this password policy
-
getUserId
public long getUserId()Returns the user ID of this password policy.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfacePasswordPolicyModel
- Returns:
- the user ID of this password policy
-
getUserName
Returns the user name of this password policy.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfacePasswordPolicyModel
- Returns:
- the user name of this password policy
-
getUserUuid
Returns the user uuid of this password policy.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfacePasswordPolicyModel
- Returns:
- the user uuid of this password policy
-
getUuid
Returns the uuid of this password policy.- Specified by:
getUuid
in interfacePasswordPolicyModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this password policy
-
getWarningTime
public long getWarningTime()Returns the warning time of this password policy.- Specified by:
getWarningTime
in interfacePasswordPolicyModel
- Returns:
- the warning time of this password policy
-
isAllowDictionaryWords
public boolean isAllowDictionaryWords()Returnstrue
if this password policy is allow dictionary words.- Specified by:
isAllowDictionaryWords
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is allow dictionary words;false
otherwise
-
isChangeable
public boolean isChangeable()Returnstrue
if this password policy is changeable.- Specified by:
isChangeable
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is changeable;false
otherwise
-
isChangeRequired
public boolean isChangeRequired()Returnstrue
if this password policy is change required.- Specified by:
isChangeRequired
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is change required;false
otherwise
-
isCheckSyntax
public boolean isCheckSyntax()Returnstrue
if this password policy is check syntax.- Specified by:
isCheckSyntax
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is check syntax;false
otherwise
-
isDefaultPolicy
public boolean isDefaultPolicy()Returnstrue
if this password policy is default policy.- Specified by:
isDefaultPolicy
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is default policy;false
otherwise
-
isExpireable
public boolean isExpireable()Returnstrue
if this password policy is expireable.- Specified by:
isExpireable
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is expireable;false
otherwise
-
isHistory
public boolean isHistory()Returnstrue
if this password policy is history.- Specified by:
isHistory
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is history;false
otherwise
-
isLockout
public boolean isLockout()Returnstrue
if this password policy is lockout.- Specified by:
isLockout
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is lockout;false
otherwise
-
isRequireUnlock
public boolean isRequireUnlock()Returnstrue
if this password policy is require unlock.- Specified by:
isRequireUnlock
in interfacePasswordPolicyModel
- Returns:
true
if this password policy is require unlock;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setAllowDictionaryWords
public void setAllowDictionaryWords(boolean allowDictionaryWords) Sets whether this password policy is allow dictionary words.- Specified by:
setAllowDictionaryWords
in interfacePasswordPolicyModel
- Parameters:
allowDictionaryWords
- the allow dictionary words of this password policy
-
setChangeable
public void setChangeable(boolean changeable) Sets whether this password policy is changeable.- Specified by:
setChangeable
in interfacePasswordPolicyModel
- Parameters:
changeable
- the changeable of this password policy
-
setChangeRequired
public void setChangeRequired(boolean changeRequired) Sets whether this password policy is change required.- Specified by:
setChangeRequired
in interfacePasswordPolicyModel
- Parameters:
changeRequired
- the change required of this password policy
-
setCheckSyntax
public void setCheckSyntax(boolean checkSyntax) Sets whether this password policy is check syntax.- Specified by:
setCheckSyntax
in interfacePasswordPolicyModel
- Parameters:
checkSyntax
- the check syntax of this password policy
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this password policy.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfacePasswordPolicyModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this password policy
-
setCreateDate
Sets the create date of this password policy.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfacePasswordPolicyModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this password policy
-
setDefaultPolicy
public void setDefaultPolicy(boolean defaultPolicy) Sets whether this password policy is default policy.- Specified by:
setDefaultPolicy
in interfacePasswordPolicyModel
- Parameters:
defaultPolicy
- the default policy of this password policy
-
setDescription
Sets the description of this password policy.- Specified by:
setDescription
in interfacePasswordPolicyModel
- Parameters:
description
- the description of this password policy
-
setExpireable
public void setExpireable(boolean expireable) Sets whether this password policy is expireable.- Specified by:
setExpireable
in interfacePasswordPolicyModel
- Parameters:
expireable
- the expireable of this password policy
-
setGraceLimit
public void setGraceLimit(int graceLimit) Sets the grace limit of this password policy.- Specified by:
setGraceLimit
in interfacePasswordPolicyModel
- Parameters:
graceLimit
- the grace limit of this password policy
-
setHistory
public void setHistory(boolean history) Sets whether this password policy is history.- Specified by:
setHistory
in interfacePasswordPolicyModel
- Parameters:
history
- the history of this password policy
-
setHistoryCount
public void setHistoryCount(int historyCount) Sets the history count of this password policy.- Specified by:
setHistoryCount
in interfacePasswordPolicyModel
- Parameters:
historyCount
- the history count of this password policy
-
setLockout
public void setLockout(boolean lockout) Sets whether this password policy is lockout.- Specified by:
setLockout
in interfacePasswordPolicyModel
- Parameters:
lockout
- the lockout of this password policy
-
setLockoutDuration
public void setLockoutDuration(long lockoutDuration) Sets the lockout duration of this password policy.- Specified by:
setLockoutDuration
in interfacePasswordPolicyModel
- Parameters:
lockoutDuration
- the lockout duration of this password policy
-
setMaxAge
public void setMaxAge(long maxAge) Sets the max age of this password policy.- Specified by:
setMaxAge
in interfacePasswordPolicyModel
- Parameters:
maxAge
- the max age of this password policy
-
setMaxFailure
public void setMaxFailure(int maxFailure) Sets the max failure of this password policy.- Specified by:
setMaxFailure
in interfacePasswordPolicyModel
- Parameters:
maxFailure
- the max failure of this password policy
-
setMinAge
public void setMinAge(long minAge) Sets the min age of this password policy.- Specified by:
setMinAge
in interfacePasswordPolicyModel
- Parameters:
minAge
- the min age of this password policy
-
setMinAlphanumeric
public void setMinAlphanumeric(int minAlphanumeric) Sets the min alphanumeric of this password policy.- Specified by:
setMinAlphanumeric
in interfacePasswordPolicyModel
- Parameters:
minAlphanumeric
- the min alphanumeric of this password policy
-
setMinLength
public void setMinLength(int minLength) Sets the min length of this password policy.- Specified by:
setMinLength
in interfacePasswordPolicyModel
- Parameters:
minLength
- the min length of this password policy
-
setMinLowerCase
public void setMinLowerCase(int minLowerCase) Sets the min lower case of this password policy.- Specified by:
setMinLowerCase
in interfacePasswordPolicyModel
- Parameters:
minLowerCase
- the min lower case of this password policy
-
setMinNumbers
public void setMinNumbers(int minNumbers) Sets the min numbers of this password policy.- Specified by:
setMinNumbers
in interfacePasswordPolicyModel
- Parameters:
minNumbers
- the min numbers of this password policy
-
setMinSymbols
public void setMinSymbols(int minSymbols) Sets the min symbols of this password policy.- Specified by:
setMinSymbols
in interfacePasswordPolicyModel
- Parameters:
minSymbols
- the min symbols of this password policy
-
setMinUpperCase
public void setMinUpperCase(int minUpperCase) Sets the min upper case of this password policy.- Specified by:
setMinUpperCase
in interfacePasswordPolicyModel
- Parameters:
minUpperCase
- the min upper case of this password policy
-
setModifiedDate
Sets the modified date of this password policy.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfacePasswordPolicyModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this password policy
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this password policy.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfacePasswordPolicyModel
- Parameters:
mvccVersion
- the mvcc version of this password policy
-
setName
Sets the name of this password policy.- Specified by:
setName
in interfacePasswordPolicyModel
- Parameters:
name
- the name of this password policy
-
setPasswordPolicyId
public void setPasswordPolicyId(long passwordPolicyId) Sets the password policy ID of this password policy.- Specified by:
setPasswordPolicyId
in interfacePasswordPolicyModel
- Parameters:
passwordPolicyId
- the password policy ID of this password policy
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this password policy.- Specified by:
setPrimaryKey
in interfacePasswordPolicyModel
- Parameters:
primaryKey
- the primary key of this password policy
-
setRegex
Sets the regex of this password policy.- Specified by:
setRegex
in interfacePasswordPolicyModel
- Parameters:
regex
- the regex of this password policy
-
setRequireUnlock
public void setRequireUnlock(boolean requireUnlock) Sets whether this password policy is require unlock.- Specified by:
setRequireUnlock
in interfacePasswordPolicyModel
- Parameters:
requireUnlock
- the require unlock of this password policy
-
setResetFailureCount
public void setResetFailureCount(long resetFailureCount) Sets the reset failure count of this password policy.- Specified by:
setResetFailureCount
in interfacePasswordPolicyModel
- Parameters:
resetFailureCount
- the reset failure count of this password policy
-
setResetTicketMaxAge
public void setResetTicketMaxAge(long resetTicketMaxAge) Sets the reset ticket max age of this password policy.- Specified by:
setResetTicketMaxAge
in interfacePasswordPolicyModel
- Parameters:
resetTicketMaxAge
- the reset ticket max age of this password policy
-
setUserId
public void setUserId(long userId) Sets the user ID of this password policy.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfacePasswordPolicyModel
- Parameters:
userId
- the user ID of this password policy
-
setUserName
Sets the user name of this password policy.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfacePasswordPolicyModel
- Parameters:
userName
- the user name of this password policy
-
setUserUuid
Sets the user uuid of this password policy.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfacePasswordPolicyModel
- Parameters:
userUuid
- the user uuid of this password policy
-
setUuid
Sets the uuid of this password policy.- Specified by:
setUuid
in interfacePasswordPolicyModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this password policy
-
setWarningTime
public void setWarningTime(long warningTime) Sets the warning time of this password policy.- Specified by:
setWarningTime
in interfacePasswordPolicyModel
- Parameters:
warningTime
- the warning time of this password policy
-
toXmlString
- Specified by:
toXmlString
in interfacePasswordPolicyModel
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<PasswordPolicy>
-