Package com.liferay.portal.kernel.model
Interface PasswordPolicyModel
- All Superinterfaces:
AuditedModel
,BaseModel<PasswordPolicy>
,ClassedModel
,Cloneable
,Comparable<PasswordPolicy>
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
- All Known Subinterfaces:
PasswordPolicy
- All Known Implementing Classes:
PasswordPolicyWrapper
@ProviderType
public interface PasswordPolicyModel
extends BaseModel<PasswordPolicy>, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the PasswordPolicy service. Represents a row in the "PasswordPolicy" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.PasswordPolicyModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.PasswordPolicyImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this password policy.- Returns:
- the primary key of this password policy
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this password policy.- Parameters:
primaryKey
- the primary key of this password policy
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this password policy.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this password policy
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this password policy.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this password policy
-
getUuid
Returns the uuid of this password policy.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this password policy
-
setUuid
Sets the uuid of this password policy.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this password policy
-
getPasswordPolicyId
long getPasswordPolicyId()Returns the password policy ID of this password policy.- Returns:
- the password policy ID of this password policy
-
setPasswordPolicyId
void setPasswordPolicyId(long passwordPolicyId) Sets the password policy ID of this password policy.- Parameters:
passwordPolicyId
- the password policy ID of this password policy
-
getCompanyId
long getCompanyId()Returns the company ID of this password policy.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this password policy
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this password policy.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this password policy
-
getUserId
long getUserId()Returns the user ID of this password policy.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this password policy
-
setUserId
void setUserId(long userId) Sets the user ID of this password policy.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this password policy
-
getUserUuid
String getUserUuid()Returns the user uuid of this password policy.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this password policy
-
setUserUuid
Sets the user uuid of this password policy.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this password policy
-
getUserName
Returns the user name of this password policy.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this password policy
-
setUserName
Sets the user name of this password policy.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this password policy
-
getCreateDate
Date getCreateDate()Returns the create date of this password policy.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this password policy
-
setCreateDate
Sets the create date of this password policy.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this password policy
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this password policy.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this password policy
-
setModifiedDate
Sets the modified date of this password policy.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this password policy
-
getDefaultPolicy
boolean getDefaultPolicy()Returns the default policy of this password policy.- Returns:
- the default policy of this password policy
-
isDefaultPolicy
boolean isDefaultPolicy()Returnstrue
if this password policy is default policy.- Returns:
true
if this password policy is default policy;false
otherwise
-
setDefaultPolicy
void setDefaultPolicy(boolean defaultPolicy) Sets whether this password policy is default policy.- Parameters:
defaultPolicy
- the default policy of this password policy
-
getName
Returns the name of this password policy.- Returns:
- the name of this password policy
-
setName
Sets the name of this password policy.- Parameters:
name
- the name of this password policy
-
getDescription
Returns the description of this password policy.- Returns:
- the description of this password policy
-
setDescription
Sets the description of this password policy.- Parameters:
description
- the description of this password policy
-
getChangeable
boolean getChangeable()Returns the changeable of this password policy.- Returns:
- the changeable of this password policy
-
isChangeable
boolean isChangeable()Returnstrue
if this password policy is changeable.- Returns:
true
if this password policy is changeable;false
otherwise
-
setChangeable
void setChangeable(boolean changeable) Sets whether this password policy is changeable.- Parameters:
changeable
- the changeable of this password policy
-
getChangeRequired
boolean getChangeRequired()Returns the change required of this password policy.- Returns:
- the change required of this password policy
-
isChangeRequired
boolean isChangeRequired()Returnstrue
if this password policy is change required.- Returns:
true
if this password policy is change required;false
otherwise
-
setChangeRequired
void setChangeRequired(boolean changeRequired) Sets whether this password policy is change required.- Parameters:
changeRequired
- the change required of this password policy
-
getMinAge
long getMinAge()Returns the min age of this password policy.- Returns:
- the min age of this password policy
-
setMinAge
void setMinAge(long minAge) Sets the min age of this password policy.- Parameters:
minAge
- the min age of this password policy
-
getCheckSyntax
boolean getCheckSyntax()Returns the check syntax of this password policy.- Returns:
- the check syntax of this password policy
-
isCheckSyntax
boolean isCheckSyntax()Returnstrue
if this password policy is check syntax.- Returns:
true
if this password policy is check syntax;false
otherwise
-
setCheckSyntax
void setCheckSyntax(boolean checkSyntax) Sets whether this password policy is check syntax.- Parameters:
checkSyntax
- the check syntax of this password policy
-
getAllowDictionaryWords
boolean getAllowDictionaryWords()Returns the allow dictionary words of this password policy.- Returns:
- the allow dictionary words of this password policy
-
isAllowDictionaryWords
boolean isAllowDictionaryWords()Returnstrue
if this password policy is allow dictionary words.- Returns:
true
if this password policy is allow dictionary words;false
otherwise
-
setAllowDictionaryWords
void setAllowDictionaryWords(boolean allowDictionaryWords) Sets whether this password policy is allow dictionary words.- Parameters:
allowDictionaryWords
- the allow dictionary words of this password policy
-
getMinAlphanumeric
int getMinAlphanumeric()Returns the min alphanumeric of this password policy.- Returns:
- the min alphanumeric of this password policy
-
setMinAlphanumeric
void setMinAlphanumeric(int minAlphanumeric) Sets the min alphanumeric of this password policy.- Parameters:
minAlphanumeric
- the min alphanumeric of this password policy
-
getMinLength
int getMinLength()Returns the min length of this password policy.- Returns:
- the min length of this password policy
-
setMinLength
void setMinLength(int minLength) Sets the min length of this password policy.- Parameters:
minLength
- the min length of this password policy
-
getMinLowerCase
int getMinLowerCase()Returns the min lower case of this password policy.- Returns:
- the min lower case of this password policy
-
setMinLowerCase
void setMinLowerCase(int minLowerCase) Sets the min lower case of this password policy.- Parameters:
minLowerCase
- the min lower case of this password policy
-
getMinNumbers
int getMinNumbers()Returns the min numbers of this password policy.- Returns:
- the min numbers of this password policy
-
setMinNumbers
void setMinNumbers(int minNumbers) Sets the min numbers of this password policy.- Parameters:
minNumbers
- the min numbers of this password policy
-
getMinSymbols
int getMinSymbols()Returns the min symbols of this password policy.- Returns:
- the min symbols of this password policy
-
setMinSymbols
void setMinSymbols(int minSymbols) Sets the min symbols of this password policy.- Parameters:
minSymbols
- the min symbols of this password policy
-
getMinUpperCase
int getMinUpperCase()Returns the min upper case of this password policy.- Returns:
- the min upper case of this password policy
-
setMinUpperCase
void setMinUpperCase(int minUpperCase) Sets the min upper case of this password policy.- Parameters:
minUpperCase
- the min upper case of this password policy
-
getRegex
Returns the regex of this password policy.- Returns:
- the regex of this password policy
-
setRegex
Sets the regex of this password policy.- Parameters:
regex
- the regex of this password policy
-
getHistory
boolean getHistory()Returns the history of this password policy.- Returns:
- the history of this password policy
-
isHistory
boolean isHistory()Returnstrue
if this password policy is history.- Returns:
true
if this password policy is history;false
otherwise
-
setHistory
void setHistory(boolean history) Sets whether this password policy is history.- Parameters:
history
- the history of this password policy
-
getHistoryCount
int getHistoryCount()Returns the history count of this password policy.- Returns:
- the history count of this password policy
-
setHistoryCount
void setHistoryCount(int historyCount) Sets the history count of this password policy.- Parameters:
historyCount
- the history count of this password policy
-
getExpireable
boolean getExpireable()Returns the expireable of this password policy.- Returns:
- the expireable of this password policy
-
isExpireable
boolean isExpireable()Returnstrue
if this password policy is expireable.- Returns:
true
if this password policy is expireable;false
otherwise
-
setExpireable
void setExpireable(boolean expireable) Sets whether this password policy is expireable.- Parameters:
expireable
- the expireable of this password policy
-
getMaxAge
long getMaxAge()Returns the max age of this password policy.- Returns:
- the max age of this password policy
-
setMaxAge
void setMaxAge(long maxAge) Sets the max age of this password policy.- Parameters:
maxAge
- the max age of this password policy
-
getWarningTime
long getWarningTime()Returns the warning time of this password policy.- Returns:
- the warning time of this password policy
-
setWarningTime
void setWarningTime(long warningTime) Sets the warning time of this password policy.- Parameters:
warningTime
- the warning time of this password policy
-
getGraceLimit
int getGraceLimit()Returns the grace limit of this password policy.- Returns:
- the grace limit of this password policy
-
setGraceLimit
void setGraceLimit(int graceLimit) Sets the grace limit of this password policy.- Parameters:
graceLimit
- the grace limit of this password policy
-
getLockout
boolean getLockout()Returns the lockout of this password policy.- Returns:
- the lockout of this password policy
-
isLockout
boolean isLockout()Returnstrue
if this password policy is lockout.- Returns:
true
if this password policy is lockout;false
otherwise
-
setLockout
void setLockout(boolean lockout) Sets whether this password policy is lockout.- Parameters:
lockout
- the lockout of this password policy
-
getMaxFailure
int getMaxFailure()Returns the max failure of this password policy.- Returns:
- the max failure of this password policy
-
setMaxFailure
void setMaxFailure(int maxFailure) Sets the max failure of this password policy.- Parameters:
maxFailure
- the max failure of this password policy
-
getLockoutDuration
long getLockoutDuration()Returns the lockout duration of this password policy.- Returns:
- the lockout duration of this password policy
-
setLockoutDuration
void setLockoutDuration(long lockoutDuration) Sets the lockout duration of this password policy.- Parameters:
lockoutDuration
- the lockout duration of this password policy
-
getRequireUnlock
boolean getRequireUnlock()Returns the require unlock of this password policy.- Returns:
- the require unlock of this password policy
-
isRequireUnlock
boolean isRequireUnlock()Returnstrue
if this password policy is require unlock.- Returns:
true
if this password policy is require unlock;false
otherwise
-
setRequireUnlock
void setRequireUnlock(boolean requireUnlock) Sets whether this password policy is require unlock.- Parameters:
requireUnlock
- the require unlock of this password policy
-
getResetFailureCount
long getResetFailureCount()Returns the reset failure count of this password policy.- Returns:
- the reset failure count of this password policy
-
setResetFailureCount
void setResetFailureCount(long resetFailureCount) Sets the reset failure count of this password policy.- Parameters:
resetFailureCount
- the reset failure count of this password policy
-
getResetTicketMaxAge
long getResetTicketMaxAge()Returns the reset ticket max age of this password policy.- Returns:
- the reset ticket max age of this password policy
-
setResetTicketMaxAge
void setResetTicketMaxAge(long resetTicketMaxAge) Sets the reset ticket max age of this password policy.- Parameters:
resetTicketMaxAge
- the reset ticket max age of this password policy
-
cloneWithOriginalValues
PasswordPolicy cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PasswordPolicy>
-
toXmlString
-