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 TypeMethodDescriptionbooleanReturns the allow dictionary words of this password policy.booleanReturns the changeable of this password policy.booleanReturns the change required of this password policy.booleanReturns the check syntax of this password policy.longReturns the company ID of this password policy.Returns the create date of this password policy.booleanReturns the default policy of this password policy.Returns the description of this password policy.booleanReturns the expireable of this password policy.intReturns the grace limit of this password policy.booleanReturns the history of this password policy.intReturns the history count of this password policy.booleanReturns the lockout of this password policy.longReturns the lockout duration of this password policy.longReturns the max age of this password policy.intReturns the max failure of this password policy.longReturns the min age of this password policy.intReturns the min alphanumeric of this password policy.intReturns the min length of this password policy.intReturns the min lower case of this password policy.intReturns the min numbers of this password policy.intReturns the min symbols of this password policy.intReturns the min upper case of this password policy.Returns the modified date of this password policy.longReturns the mvcc version of this password policy.getName()Returns the name of this password policy.longReturns the password policy ID of this password policy.longReturns the primary key of this password policy.getRegex()Returns the regex of this password policy.booleanReturns the require unlock of this password policy.longReturns the reset failure count of this password policy.longReturns the reset ticket max age of this password policy.longReturns 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.longReturns the warning time of this password policy.booleanReturnstrueif this password policy is allow dictionary words.booleanReturnstrueif this password policy is changeable.booleanReturnstrueif this password policy is change required.booleanReturnstrueif this password policy is check syntax.booleanReturnstrueif this password policy is default policy.booleanReturnstrueif this password policy is expireable.booleanReturnstrueif this password policy is history.booleanReturnstrueif this password policy is lockout.booleanReturnstrueif this password policy is require unlock.voidsetAllowDictionaryWords(boolean allowDictionaryWords) Sets whether this password policy is allow dictionary words.voidsetChangeable(boolean changeable) Sets whether this password policy is changeable.voidsetChangeRequired(boolean changeRequired) Sets whether this password policy is change required.voidsetCheckSyntax(boolean checkSyntax) Sets whether this password policy is check syntax.voidsetCompanyId(long companyId) Sets the company ID of this password policy.voidsetCreateDate(Date createDate) Sets the create date of this password policy.voidsetDefaultPolicy(boolean defaultPolicy) Sets whether this password policy is default policy.voidsetDescription(String description) Sets the description of this password policy.voidsetExpireable(boolean expireable) Sets whether this password policy is expireable.voidsetGraceLimit(int graceLimit) Sets the grace limit of this password policy.voidsetHistory(boolean history) Sets whether this password policy is history.voidsetHistoryCount(int historyCount) Sets the history count of this password policy.voidsetLockout(boolean lockout) Sets whether this password policy is lockout.voidsetLockoutDuration(long lockoutDuration) Sets the lockout duration of this password policy.voidsetMaxAge(long maxAge) Sets the max age of this password policy.voidsetMaxFailure(int maxFailure) Sets the max failure of this password policy.voidsetMinAge(long minAge) Sets the min age of this password policy.voidsetMinAlphanumeric(int minAlphanumeric) Sets the min alphanumeric of this password policy.voidsetMinLength(int minLength) Sets the min length of this password policy.voidsetMinLowerCase(int minLowerCase) Sets the min lower case of this password policy.voidsetMinNumbers(int minNumbers) Sets the min numbers of this password policy.voidsetMinSymbols(int minSymbols) Sets the min symbols of this password policy.voidsetMinUpperCase(int minUpperCase) Sets the min upper case of this password policy.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this password policy.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this password policy.voidSets the name of this password policy.voidsetPasswordPolicyId(long passwordPolicyId) Sets the password policy ID of this password policy.voidsetPrimaryKey(long primaryKey) Sets the primary key of this password policy.voidSets the regex of this password policy.voidsetRequireUnlock(boolean requireUnlock) Sets whether this password policy is require unlock.voidsetResetFailureCount(long resetFailureCount) Sets the reset failure count of this password policy.voidsetResetTicketMaxAge(long resetTicketMaxAge) Sets the reset ticket max age of this password policy.voidsetUserId(long userId) Sets the user ID of this password policy.voidsetUserName(String userName) Sets the user name of this password policy.voidsetUserUuid(String userUuid) Sets the user uuid of this password policy.voidSets the uuid of this password policy.voidsetWarningTime(long warningTime) Sets the warning time of this password policy.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this password policy
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this password policy.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this password policy
-
getUuid
Returns the uuid of this password policy.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this password policy
-
setUuid
Sets the uuid of this password policy.- Specified by:
setUuidin 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this password policy
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this password policy.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this password policy
-
getUserId
long getUserId()Returns the user ID of this password policy.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this password policy
-
setUserId
void setUserId(long userId) Sets the user ID of this password policy.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this password policy
-
getUserUuid
String getUserUuid()Returns the user uuid of this password policy.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this password policy
-
setUserUuid
Sets the user uuid of this password policy.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this password policy
-
getUserName
Returns the user name of this password policy.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this password policy
-
setUserName
Sets the user name of this password policy.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this password policy
-
getCreateDate
Date getCreateDate()Returns the create date of this password policy.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this password policy
-
setCreateDate
Sets the create date of this password policy.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this password policy
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this password policy.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this password policy
-
setModifiedDate
Sets the modified date of this password policy.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this password policy is default policy.- Returns:
trueif this password policy is default policy;falseotherwise
-
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()Returnstrueif this password policy is changeable.- Returns:
trueif this password policy is changeable;falseotherwise
-
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()Returnstrueif this password policy is change required.- Returns:
trueif this password policy is change required;falseotherwise
-
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()Returnstrueif this password policy is check syntax.- Returns:
trueif this password policy is check syntax;falseotherwise
-
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()Returnstrueif this password policy is allow dictionary words.- Returns:
trueif this password policy is allow dictionary words;falseotherwise
-
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()Returnstrueif this password policy is history.- Returns:
trueif this password policy is history;falseotherwise
-
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()Returnstrueif this password policy is expireable.- Returns:
trueif this password policy is expireable;falseotherwise
-
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()Returnstrueif this password policy is lockout.- Returns:
trueif this password policy is lockout;falseotherwise
-
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()Returnstrueif this password policy is require unlock.- Returns:
trueif this password policy is require unlock;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<PasswordPolicy>
-
toXmlString
-