|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.PasswordPolicyWrapper
public class PasswordPolicyWrapper
This class is a wrapper for PasswordPolicy
.
PasswordPolicy
,
Serialized FormConstructor Summary | |
---|---|
PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PasswordPolicy passwordPolicy)
|
boolean |
getAllowDictionaryWords()
Gets the allow dictionary words of this password policy. |
boolean |
getChangeable()
Gets the changeable of this password policy. |
boolean |
getChangeRequired()
Gets the change required of this password policy. |
boolean |
getCheckSyntax()
Gets the check syntax of this password policy. |
long |
getCompanyId()
Gets the company id of this password policy. |
Date |
getCreateDate()
Gets the create date of this password policy. |
boolean |
getDefaultPolicy()
Gets the default policy of this password policy. |
String |
getDescription()
Gets the description of this password policy. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
boolean |
getExpireable()
Gets the expireable of this password policy. |
int |
getGraceLimit()
Gets the grace limit of this password policy. |
boolean |
getHistory()
Gets the history of this password policy. |
int |
getHistoryCount()
Gets the history count of this password policy. |
boolean |
getLockout()
Gets the lockout of this password policy. |
long |
getLockoutDuration()
Gets the lockout duration of this password policy. |
long |
getMaxAge()
Gets the max age of this password policy. |
int |
getMaxFailure()
Gets the max failure of this password policy. |
long |
getMinAge()
Gets the min age of this password policy. |
int |
getMinAlphanumeric()
Gets the min alphanumeric of this password policy. |
int |
getMinLength()
Gets the min length of this password policy. |
int |
getMinLowerCase()
Gets the min lower case of this password policy. |
int |
getMinNumbers()
Gets the min numbers of this password policy. |
int |
getMinSymbols()
Gets the min symbols of this password policy. |
int |
getMinUpperCase()
Gets the min upper case of this password policy. |
Date |
getModifiedDate()
Gets the modified date of this password policy. |
String |
getName()
Gets the name of this password policy. |
long |
getPasswordPolicyId()
Gets the password policy id of this password policy. |
long |
getPrimaryKey()
Gets the primary key of this password policy. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getRequireUnlock()
Gets the require unlock of this password policy. |
long |
getResetFailureCount()
Gets the reset failure count of this password policy. |
long |
getResetTicketMaxAge()
Gets the reset ticket max age of this password policy. |
long |
getUserId()
Gets the user id of this password policy. |
String |
getUserName()
Gets the user name of this password policy. |
String |
getUserUuid()
Gets the user uuid of this password policy. |
long |
getWarningTime()
Gets the warning time of this password policy. |
PasswordPolicy |
getWrappedPasswordPolicy()
|
int |
hashCode()
|
boolean |
isAllowDictionaryWords()
Determines whether this password policy is allow dictionary words. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isChangeable()
Determines whether this password policy is changeable. |
boolean |
isChangeRequired()
Determines whether this password policy is change required. |
boolean |
isCheckSyntax()
Determines whether this password policy is check syntax. |
boolean |
isDefaultPolicy()
Determines whether this password policy is default policy. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpireable()
Determines whether this password policy is expireable. |
boolean |
isHistory()
Determines whether this password policy is history. |
boolean |
isLockout()
Determines whether this password policy is lockout. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRequireUnlock()
Determines whether this password policy is require unlock. |
void |
setAllowDictionaryWords(boolean allowDictionaryWords)
Sets whether this {$entity.humanName} 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 {$entity.humanName} is changeable. |
void |
setChangeRequired(boolean changeRequired)
Sets whether this {$entity.humanName} is change required. |
void |
setCheckSyntax(boolean checkSyntax)
Sets whether this {$entity.humanName} 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 {$entity.humanName} is default policy. |
void |
setDescription(String description)
Sets the description of this password policy. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 {$entity.humanName} is expireable. |
void |
setGraceLimit(int graceLimit)
Sets the grace limit of this password policy. |
void |
setHistory(boolean history)
Sets whether this {$entity.humanName} is history. |
void |
setHistoryCount(int historyCount)
Sets the history count of this password policy. |
void |
setLockout(boolean lockout)
Sets whether this {$entity.humanName} 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 |
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 pk)
Sets the primary key of this password policy |
void |
setRequireUnlock(boolean requireUnlock)
Sets whether this {$entity.humanName} 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 |
setWarningTime(long warningTime)
Sets the warning time of this password policy. |
PasswordPolicy |
toEscapedModel()
Gets a copy of this password policy as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
Method Detail |
---|
public long getPrimaryKey()
PasswordPolicyModel
getPrimaryKey
in interface PasswordPolicyModel
public void setPrimaryKey(long pk)
PasswordPolicyModel
setPrimaryKey
in interface PasswordPolicyModel
pk
- the primary key of this password policypublic long getPasswordPolicyId()
PasswordPolicyModel
getPasswordPolicyId
in interface PasswordPolicyModel
public void setPasswordPolicyId(long passwordPolicyId)
PasswordPolicyModel
setPasswordPolicyId
in interface PasswordPolicyModel
passwordPolicyId
- the password policy id of this password policypublic long getCompanyId()
PasswordPolicyModel
getCompanyId
in interface PasswordPolicyModel
public void setCompanyId(long companyId)
PasswordPolicyModel
setCompanyId
in interface PasswordPolicyModel
companyId
- the company id of this password policypublic long getUserId()
PasswordPolicyModel
getUserId
in interface PasswordPolicyModel
public void setUserId(long userId)
PasswordPolicyModel
setUserId
in interface PasswordPolicyModel
userId
- the user id of this password policypublic String getUserUuid() throws SystemException
PasswordPolicyModel
getUserUuid
in interface PasswordPolicyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
PasswordPolicyModel
setUserUuid
in interface PasswordPolicyModel
userUuid
- the user uuid of this password policypublic String getUserName()
PasswordPolicyModel
getUserName
in interface PasswordPolicyModel
public void setUserName(String userName)
PasswordPolicyModel
setUserName
in interface PasswordPolicyModel
userName
- the user name of this password policypublic Date getCreateDate()
PasswordPolicyModel
getCreateDate
in interface PasswordPolicyModel
public void setCreateDate(Date createDate)
PasswordPolicyModel
setCreateDate
in interface PasswordPolicyModel
createDate
- the create date of this password policypublic Date getModifiedDate()
PasswordPolicyModel
getModifiedDate
in interface PasswordPolicyModel
public void setModifiedDate(Date modifiedDate)
PasswordPolicyModel
setModifiedDate
in interface PasswordPolicyModel
modifiedDate
- the modified date of this password policypublic boolean getDefaultPolicy()
PasswordPolicyModel
getDefaultPolicy
in interface PasswordPolicyModel
public boolean isDefaultPolicy()
PasswordPolicyModel
isDefaultPolicy
in interface PasswordPolicyModel
public void setDefaultPolicy(boolean defaultPolicy)
PasswordPolicyModel
setDefaultPolicy
in interface PasswordPolicyModel
defaultPolicy
- the default policy of this password policypublic String getName()
PasswordPolicyModel
getName
in interface PasswordPolicyModel
public void setName(String name)
PasswordPolicyModel
setName
in interface PasswordPolicyModel
name
- the name of this password policypublic String getDescription()
PasswordPolicyModel
getDescription
in interface PasswordPolicyModel
public void setDescription(String description)
PasswordPolicyModel
setDescription
in interface PasswordPolicyModel
description
- the description of this password policypublic boolean getChangeable()
PasswordPolicyModel
getChangeable
in interface PasswordPolicyModel
public boolean isChangeable()
PasswordPolicyModel
isChangeable
in interface PasswordPolicyModel
public void setChangeable(boolean changeable)
PasswordPolicyModel
setChangeable
in interface PasswordPolicyModel
changeable
- the changeable of this password policypublic boolean getChangeRequired()
PasswordPolicyModel
getChangeRequired
in interface PasswordPolicyModel
public boolean isChangeRequired()
PasswordPolicyModel
isChangeRequired
in interface PasswordPolicyModel
public void setChangeRequired(boolean changeRequired)
PasswordPolicyModel
setChangeRequired
in interface PasswordPolicyModel
changeRequired
- the change required of this password policypublic long getMinAge()
PasswordPolicyModel
getMinAge
in interface PasswordPolicyModel
public void setMinAge(long minAge)
PasswordPolicyModel
setMinAge
in interface PasswordPolicyModel
minAge
- the min age of this password policypublic boolean getCheckSyntax()
PasswordPolicyModel
getCheckSyntax
in interface PasswordPolicyModel
public boolean isCheckSyntax()
PasswordPolicyModel
isCheckSyntax
in interface PasswordPolicyModel
public void setCheckSyntax(boolean checkSyntax)
PasswordPolicyModel
setCheckSyntax
in interface PasswordPolicyModel
checkSyntax
- the check syntax of this password policypublic boolean getAllowDictionaryWords()
PasswordPolicyModel
getAllowDictionaryWords
in interface PasswordPolicyModel
public boolean isAllowDictionaryWords()
PasswordPolicyModel
isAllowDictionaryWords
in interface PasswordPolicyModel
public void setAllowDictionaryWords(boolean allowDictionaryWords)
PasswordPolicyModel
setAllowDictionaryWords
in interface PasswordPolicyModel
allowDictionaryWords
- the allow dictionary words of this password policypublic int getMinAlphanumeric()
PasswordPolicyModel
getMinAlphanumeric
in interface PasswordPolicyModel
public void setMinAlphanumeric(int minAlphanumeric)
PasswordPolicyModel
setMinAlphanumeric
in interface PasswordPolicyModel
minAlphanumeric
- the min alphanumeric of this password policypublic int getMinLength()
PasswordPolicyModel
getMinLength
in interface PasswordPolicyModel
public void setMinLength(int minLength)
PasswordPolicyModel
setMinLength
in interface PasswordPolicyModel
minLength
- the min length of this password policypublic int getMinLowerCase()
PasswordPolicyModel
getMinLowerCase
in interface PasswordPolicyModel
public void setMinLowerCase(int minLowerCase)
PasswordPolicyModel
setMinLowerCase
in interface PasswordPolicyModel
minLowerCase
- the min lower case of this password policypublic int getMinNumbers()
PasswordPolicyModel
getMinNumbers
in interface PasswordPolicyModel
public void setMinNumbers(int minNumbers)
PasswordPolicyModel
setMinNumbers
in interface PasswordPolicyModel
minNumbers
- the min numbers of this password policypublic int getMinSymbols()
PasswordPolicyModel
getMinSymbols
in interface PasswordPolicyModel
public void setMinSymbols(int minSymbols)
PasswordPolicyModel
setMinSymbols
in interface PasswordPolicyModel
minSymbols
- the min symbols of this password policypublic int getMinUpperCase()
PasswordPolicyModel
getMinUpperCase
in interface PasswordPolicyModel
public void setMinUpperCase(int minUpperCase)
PasswordPolicyModel
setMinUpperCase
in interface PasswordPolicyModel
minUpperCase
- the min upper case of this password policypublic boolean getHistory()
PasswordPolicyModel
getHistory
in interface PasswordPolicyModel
public boolean isHistory()
PasswordPolicyModel
isHistory
in interface PasswordPolicyModel
public void setHistory(boolean history)
PasswordPolicyModel
setHistory
in interface PasswordPolicyModel
history
- the history of this password policypublic int getHistoryCount()
PasswordPolicyModel
getHistoryCount
in interface PasswordPolicyModel
public void setHistoryCount(int historyCount)
PasswordPolicyModel
setHistoryCount
in interface PasswordPolicyModel
historyCount
- the history count of this password policypublic boolean getExpireable()
PasswordPolicyModel
getExpireable
in interface PasswordPolicyModel
public boolean isExpireable()
PasswordPolicyModel
isExpireable
in interface PasswordPolicyModel
public void setExpireable(boolean expireable)
PasswordPolicyModel
setExpireable
in interface PasswordPolicyModel
expireable
- the expireable of this password policypublic long getMaxAge()
PasswordPolicyModel
getMaxAge
in interface PasswordPolicyModel
public void setMaxAge(long maxAge)
PasswordPolicyModel
setMaxAge
in interface PasswordPolicyModel
maxAge
- the max age of this password policypublic long getWarningTime()
PasswordPolicyModel
getWarningTime
in interface PasswordPolicyModel
public void setWarningTime(long warningTime)
PasswordPolicyModel
setWarningTime
in interface PasswordPolicyModel
warningTime
- the warning time of this password policypublic int getGraceLimit()
PasswordPolicyModel
getGraceLimit
in interface PasswordPolicyModel
public void setGraceLimit(int graceLimit)
PasswordPolicyModel
setGraceLimit
in interface PasswordPolicyModel
graceLimit
- the grace limit of this password policypublic boolean getLockout()
PasswordPolicyModel
getLockout
in interface PasswordPolicyModel
public boolean isLockout()
PasswordPolicyModel
isLockout
in interface PasswordPolicyModel
public void setLockout(boolean lockout)
PasswordPolicyModel
setLockout
in interface PasswordPolicyModel
lockout
- the lockout of this password policypublic int getMaxFailure()
PasswordPolicyModel
getMaxFailure
in interface PasswordPolicyModel
public void setMaxFailure(int maxFailure)
PasswordPolicyModel
setMaxFailure
in interface PasswordPolicyModel
maxFailure
- the max failure of this password policypublic long getLockoutDuration()
PasswordPolicyModel
getLockoutDuration
in interface PasswordPolicyModel
public void setLockoutDuration(long lockoutDuration)
PasswordPolicyModel
setLockoutDuration
in interface PasswordPolicyModel
lockoutDuration
- the lockout duration of this password policypublic boolean getRequireUnlock()
PasswordPolicyModel
getRequireUnlock
in interface PasswordPolicyModel
public boolean isRequireUnlock()
PasswordPolicyModel
isRequireUnlock
in interface PasswordPolicyModel
public void setRequireUnlock(boolean requireUnlock)
PasswordPolicyModel
setRequireUnlock
in interface PasswordPolicyModel
requireUnlock
- the require unlock of this password policypublic long getResetFailureCount()
PasswordPolicyModel
getResetFailureCount
in interface PasswordPolicyModel
public void setResetFailureCount(long resetFailureCount)
PasswordPolicyModel
setResetFailureCount
in interface PasswordPolicyModel
resetFailureCount
- the reset failure count of this password policypublic long getResetTicketMaxAge()
PasswordPolicyModel
getResetTicketMaxAge
in interface PasswordPolicyModel
public void setResetTicketMaxAge(long resetTicketMaxAge)
PasswordPolicyModel
setResetTicketMaxAge
in interface PasswordPolicyModel
resetTicketMaxAge
- the reset ticket max age of this password policypublic PasswordPolicy toEscapedModel()
PasswordPolicyModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface PasswordPolicyModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<PasswordPolicy>
isNew
in interface PasswordPolicyModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<PasswordPolicy>
setNew
in interface PasswordPolicyModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<PasswordPolicy>
isCachedModel
in interface PasswordPolicyModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<PasswordPolicy>
setCachedModel
in interface PasswordPolicyModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<PasswordPolicy>
isEscapedModel
in interface PasswordPolicyModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<PasswordPolicy>
setEscapedModel
in interface PasswordPolicyModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PasswordPolicy>
getPrimaryKeyObj
in interface PasswordPolicyModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PasswordPolicy>
getExpandoBridge
in interface PasswordPolicyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PasswordPolicy>
setExpandoBridgeAttributes
in interface PasswordPolicyModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<PasswordPolicy>
clone
in interface PasswordPolicyModel
clone
in class Object
public int compareTo(PasswordPolicy passwordPolicy)
compareTo
in interface PasswordPolicyModel
compareTo
in interface Comparable<PasswordPolicy>
public int hashCode()
hashCode
in interface PasswordPolicyModel
hashCode
in class Object
public String toString()
toString
in interface PasswordPolicyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PasswordPolicy>
toXmlString
in interface PasswordPolicyModel
public PasswordPolicy getWrappedPasswordPolicy()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |