@ProviderType public interface PasswordPolicyModel extends BaseModel<PasswordPolicy>, MVCCModel, ShardedModel, StagedAuditedModel
This interface and its corresponding implementation PasswordPolicyModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PasswordPolicyImpl
.
PasswordPolicy
,
PasswordPolicyImpl
,
PasswordPolicyModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(PasswordPolicy passwordPolicy) |
boolean |
getAllowDictionaryWords()
Returns the allow dictionary words of this password policy.
|
boolean |
getChangeable()
Returns the changeable of this password policy.
|
boolean |
getChangeRequired()
Returns the change required of this password policy.
|
boolean |
getCheckSyntax()
Returns the check syntax of this password policy.
|
long |
getCompanyId()
Returns the company ID of this password policy.
|
Date |
getCreateDate()
Returns the create date of this password policy.
|
boolean |
getDefaultPolicy()
Returns the default policy of this password policy.
|
String |
getDescription()
Returns the description of this password policy.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
boolean |
getExpireable()
Returns the expireable of this password policy.
|
int |
getGraceLimit()
Returns the grace limit of this password policy.
|
boolean |
getHistory()
Returns the history of this password policy.
|
int |
getHistoryCount()
Returns the history count of this password policy.
|
boolean |
getLockout()
Returns the lockout of this password policy.
|
long |
getLockoutDuration()
Returns the lockout duration of this password policy.
|
long |
getMaxAge()
Returns the max age of this password policy.
|
int |
getMaxFailure()
Returns the max failure of this password policy.
|
long |
getMinAge()
Returns the min age of this password policy.
|
int |
getMinAlphanumeric()
Returns the min alphanumeric of this password policy.
|
int |
getMinLength()
Returns the min length of this password policy.
|
int |
getMinLowerCase()
Returns the min lower case of this password policy.
|
int |
getMinNumbers()
Returns the min numbers of this password policy.
|
int |
getMinSymbols()
Returns the min symbols of this password policy.
|
int |
getMinUpperCase()
Returns the min upper case of this password policy.
|
Date |
getModifiedDate()
Returns the modified date of this password policy.
|
long |
getMvccVersion()
Returns the mvcc version of this password policy.
|
String |
getName()
Returns the name of this password policy.
|
long |
getPasswordPolicyId()
Returns the password policy ID of this password policy.
|
long |
getPrimaryKey()
Returns the primary key of this password policy.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getRegex()
Returns the regex of this password policy.
|
boolean |
getRequireUnlock()
Returns the require unlock of this password policy.
|
long |
getResetFailureCount()
Returns the reset failure count of this password policy.
|
long |
getResetTicketMaxAge()
Returns the reset ticket max age of this password policy.
|
long |
getUserId()
Returns the user ID of this password policy.
|
String |
getUserName()
Returns the user name of this password policy.
|
String |
getUserUuid()
Returns the user uuid of this password policy.
|
String |
getUuid()
Returns the uuid of this password policy.
|
long |
getWarningTime()
Returns the warning time of this password policy.
|
int |
hashCode() |
boolean |
isAllowDictionaryWords()
Returns
true if this password policy is allow dictionary words. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isChangeable()
Returns
true if this password policy is changeable. |
boolean |
isChangeRequired()
Returns
true if this password policy is change required. |
boolean |
isCheckSyntax()
Returns
true if this password policy is check syntax. |
boolean |
isDefaultPolicy()
Returns
true if this password policy is default policy. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isExpireable()
Returns
true if this password policy is expireable. |
boolean |
isHistory()
Returns
true if this password policy is history. |
boolean |
isLockout()
Returns
true if this password policy is lockout. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isRequireUnlock()
Returns
true if this password policy is require unlock. |
void |
setAllowDictionaryWords(boolean allowDictionaryWords)
Sets whether this password policy is allow dictionary words.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
setName(String name)
Sets the name of this password policy.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRegex(String regex)
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 |
setUuid(String uuid)
Sets the uuid of this password policy.
|
void |
setWarningTime(long warningTime)
Sets the warning time of this password policy.
|
CacheModel<PasswordPolicy> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
PasswordPolicy |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
PasswordPolicy |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getStagedModelType
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this password policylong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this password policy@AutoEscape String getUuid()
getUuid
in interface StagedModel
void setUuid(String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this password policylong getPasswordPolicyId()
void setPasswordPolicyId(long passwordPolicyId)
passwordPolicyId
- the password policy ID of this password policylong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this password policylong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this password policyString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this password policy@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this password policyDate getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this password policyDate getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this password policyboolean getDefaultPolicy()
boolean isDefaultPolicy()
true
if this password policy is default policy.true
if this password policy is default policy; false
otherwisevoid setDefaultPolicy(boolean defaultPolicy)
defaultPolicy
- the default policy of this password policy@AutoEscape String getName()
void setName(String name)
name
- the name of this password policy@AutoEscape String getDescription()
void setDescription(String description)
description
- the description of this password policyboolean getChangeable()
boolean isChangeable()
true
if this password policy is changeable.true
if this password policy is changeable; false
otherwisevoid setChangeable(boolean changeable)
changeable
- the changeable of this password policyboolean getChangeRequired()
boolean isChangeRequired()
true
if this password policy is change required.true
if this password policy is change required; false
otherwisevoid setChangeRequired(boolean changeRequired)
changeRequired
- the change required of this password policylong getMinAge()
void setMinAge(long minAge)
minAge
- the min age of this password policyboolean getCheckSyntax()
boolean isCheckSyntax()
true
if this password policy is check syntax.true
if this password policy is check syntax; false
otherwisevoid setCheckSyntax(boolean checkSyntax)
checkSyntax
- the check syntax of this password policyboolean getAllowDictionaryWords()
boolean isAllowDictionaryWords()
true
if this password policy is allow dictionary words.true
if this password policy is allow dictionary words; false
otherwisevoid setAllowDictionaryWords(boolean allowDictionaryWords)
allowDictionaryWords
- the allow dictionary words of this password policyint getMinAlphanumeric()
void setMinAlphanumeric(int minAlphanumeric)
minAlphanumeric
- the min alphanumeric of this password policyint getMinLength()
void setMinLength(int minLength)
minLength
- the min length of this password policyint getMinLowerCase()
void setMinLowerCase(int minLowerCase)
minLowerCase
- the min lower case of this password policyint getMinNumbers()
void setMinNumbers(int minNumbers)
minNumbers
- the min numbers of this password policyint getMinSymbols()
void setMinSymbols(int minSymbols)
minSymbols
- the min symbols of this password policyint getMinUpperCase()
void setMinUpperCase(int minUpperCase)
minUpperCase
- the min upper case of this password policy@AutoEscape String getRegex()
void setRegex(String regex)
regex
- the regex of this password policyboolean getHistory()
boolean isHistory()
true
if this password policy is history.true
if this password policy is history; false
otherwisevoid setHistory(boolean history)
history
- the history of this password policyint getHistoryCount()
void setHistoryCount(int historyCount)
historyCount
- the history count of this password policyboolean getExpireable()
boolean isExpireable()
true
if this password policy is expireable.true
if this password policy is expireable; false
otherwisevoid setExpireable(boolean expireable)
expireable
- the expireable of this password policylong getMaxAge()
void setMaxAge(long maxAge)
maxAge
- the max age of this password policylong getWarningTime()
void setWarningTime(long warningTime)
warningTime
- the warning time of this password policyint getGraceLimit()
void setGraceLimit(int graceLimit)
graceLimit
- the grace limit of this password policyboolean getLockout()
boolean isLockout()
true
if this password policy is lockout.true
if this password policy is lockout; false
otherwisevoid setLockout(boolean lockout)
lockout
- the lockout of this password policyint getMaxFailure()
void setMaxFailure(int maxFailure)
maxFailure
- the max failure of this password policylong getLockoutDuration()
void setLockoutDuration(long lockoutDuration)
lockoutDuration
- the lockout duration of this password policyboolean getRequireUnlock()
boolean isRequireUnlock()
true
if this password policy is require unlock.true
if this password policy is require unlock; false
otherwisevoid setRequireUnlock(boolean requireUnlock)
requireUnlock
- the require unlock of this password policylong getResetFailureCount()
void setResetFailureCount(long resetFailureCount)
resetFailureCount
- the reset failure count of this password policylong getResetTicketMaxAge()
void setResetTicketMaxAge(long resetTicketMaxAge)
resetTicketMaxAge
- the reset ticket max age of this password policyboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<PasswordPolicy>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<PasswordPolicy>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<PasswordPolicy>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<PasswordPolicy>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<PasswordPolicy>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PasswordPolicy>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<PasswordPolicy>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PasswordPolicy>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<PasswordPolicy>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<PasswordPolicy>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PasswordPolicy>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<PasswordPolicy>
clone
in interface StagedModel
int compareTo(PasswordPolicy passwordPolicy)
compareTo
in interface Comparable<PasswordPolicy>
int hashCode()
hashCode
in class Object
CacheModel<PasswordPolicy> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<PasswordPolicy>
PasswordPolicy toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<PasswordPolicy>
AutoEscapeBeanHandler
PasswordPolicy toUnescapedModel()
toUnescapedModel
in interface BaseModel<PasswordPolicy>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PasswordPolicy>