|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 entity 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()
getPrimaryKey
in interface PasswordPolicyModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface PasswordPolicyModel
pk
- the primary key of this password policypublic long getPasswordPolicyId()
getPasswordPolicyId
in interface PasswordPolicyModel
public void setPasswordPolicyId(long passwordPolicyId)
setPasswordPolicyId
in interface PasswordPolicyModel
passwordPolicyId
- the password policy id of this password policypublic long getCompanyId()
getCompanyId
in interface PasswordPolicyModel
public void setCompanyId(long companyId)
setCompanyId
in interface PasswordPolicyModel
companyId
- the company id of this password policypublic long getUserId()
getUserId
in interface PasswordPolicyModel
public void setUserId(long userId)
setUserId
in interface PasswordPolicyModel
userId
- the user id of this password policypublic String getUserUuid() throws SystemException
getUserUuid
in interface PasswordPolicyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface PasswordPolicyModel
userUuid
- the user uuid of this password policypublic String getUserName()
getUserName
in interface PasswordPolicyModel
public void setUserName(String userName)
setUserName
in interface PasswordPolicyModel
userName
- the user name of this password policypublic Date getCreateDate()
getCreateDate
in interface PasswordPolicyModel
public void setCreateDate(Date createDate)
setCreateDate
in interface PasswordPolicyModel
createDate
- the create date of this password policypublic Date getModifiedDate()
getModifiedDate
in interface PasswordPolicyModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface PasswordPolicyModel
modifiedDate
- the modified date of this password policypublic boolean getDefaultPolicy()
getDefaultPolicy
in interface PasswordPolicyModel
public boolean isDefaultPolicy()
isDefaultPolicy
in interface PasswordPolicyModel
public void setDefaultPolicy(boolean defaultPolicy)
setDefaultPolicy
in interface PasswordPolicyModel
defaultPolicy
- the default policy of this password policypublic String getName()
getName
in interface PasswordPolicyModel
public void setName(String name)
setName
in interface PasswordPolicyModel
name
- the name of this password policypublic String getDescription()
getDescription
in interface PasswordPolicyModel
public void setDescription(String description)
setDescription
in interface PasswordPolicyModel
description
- the description of this password policypublic boolean getChangeable()
getChangeable
in interface PasswordPolicyModel
public boolean isChangeable()
isChangeable
in interface PasswordPolicyModel
public void setChangeable(boolean changeable)
setChangeable
in interface PasswordPolicyModel
changeable
- the changeable of this password policypublic boolean getChangeRequired()
getChangeRequired
in interface PasswordPolicyModel
public boolean isChangeRequired()
isChangeRequired
in interface PasswordPolicyModel
public void setChangeRequired(boolean changeRequired)
setChangeRequired
in interface PasswordPolicyModel
changeRequired
- the change required of this password policypublic long getMinAge()
getMinAge
in interface PasswordPolicyModel
public void setMinAge(long minAge)
setMinAge
in interface PasswordPolicyModel
minAge
- the min age of this password policypublic boolean getCheckSyntax()
getCheckSyntax
in interface PasswordPolicyModel
public boolean isCheckSyntax()
isCheckSyntax
in interface PasswordPolicyModel
public void setCheckSyntax(boolean checkSyntax)
setCheckSyntax
in interface PasswordPolicyModel
checkSyntax
- the check syntax of this password policypublic boolean getAllowDictionaryWords()
getAllowDictionaryWords
in interface PasswordPolicyModel
public boolean isAllowDictionaryWords()
isAllowDictionaryWords
in interface PasswordPolicyModel
public void setAllowDictionaryWords(boolean allowDictionaryWords)
setAllowDictionaryWords
in interface PasswordPolicyModel
allowDictionaryWords
- the allow dictionary words of this password policypublic int getMinAlphanumeric()
getMinAlphanumeric
in interface PasswordPolicyModel
public void setMinAlphanumeric(int minAlphanumeric)
setMinAlphanumeric
in interface PasswordPolicyModel
minAlphanumeric
- the min alphanumeric of this password policypublic int getMinLength()
getMinLength
in interface PasswordPolicyModel
public void setMinLength(int minLength)
setMinLength
in interface PasswordPolicyModel
minLength
- the min length of this password policypublic int getMinLowerCase()
getMinLowerCase
in interface PasswordPolicyModel
public void setMinLowerCase(int minLowerCase)
setMinLowerCase
in interface PasswordPolicyModel
minLowerCase
- the min lower case of this password policypublic int getMinNumbers()
getMinNumbers
in interface PasswordPolicyModel
public void setMinNumbers(int minNumbers)
setMinNumbers
in interface PasswordPolicyModel
minNumbers
- the min numbers of this password policypublic int getMinSymbols()
getMinSymbols
in interface PasswordPolicyModel
public void setMinSymbols(int minSymbols)
setMinSymbols
in interface PasswordPolicyModel
minSymbols
- the min symbols of this password policypublic int getMinUpperCase()
getMinUpperCase
in interface PasswordPolicyModel
public void setMinUpperCase(int minUpperCase)
setMinUpperCase
in interface PasswordPolicyModel
minUpperCase
- the min upper case of this password policypublic boolean getHistory()
getHistory
in interface PasswordPolicyModel
public boolean isHistory()
isHistory
in interface PasswordPolicyModel
public void setHistory(boolean history)
setHistory
in interface PasswordPolicyModel
history
- the history of this password policypublic int getHistoryCount()
getHistoryCount
in interface PasswordPolicyModel
public void setHistoryCount(int historyCount)
setHistoryCount
in interface PasswordPolicyModel
historyCount
- the history count of this password policypublic boolean getExpireable()
getExpireable
in interface PasswordPolicyModel
public boolean isExpireable()
isExpireable
in interface PasswordPolicyModel
public void setExpireable(boolean expireable)
setExpireable
in interface PasswordPolicyModel
expireable
- the expireable of this password policypublic long getMaxAge()
getMaxAge
in interface PasswordPolicyModel
public void setMaxAge(long maxAge)
setMaxAge
in interface PasswordPolicyModel
maxAge
- the max age of this password policypublic long getWarningTime()
getWarningTime
in interface PasswordPolicyModel
public void setWarningTime(long warningTime)
setWarningTime
in interface PasswordPolicyModel
warningTime
- the warning time of this password policypublic int getGraceLimit()
getGraceLimit
in interface PasswordPolicyModel
public void setGraceLimit(int graceLimit)
setGraceLimit
in interface PasswordPolicyModel
graceLimit
- the grace limit of this password policypublic boolean getLockout()
getLockout
in interface PasswordPolicyModel
public boolean isLockout()
isLockout
in interface PasswordPolicyModel
public void setLockout(boolean lockout)
setLockout
in interface PasswordPolicyModel
lockout
- the lockout of this password policypublic int getMaxFailure()
getMaxFailure
in interface PasswordPolicyModel
public void setMaxFailure(int maxFailure)
setMaxFailure
in interface PasswordPolicyModel
maxFailure
- the max failure of this password policypublic long getLockoutDuration()
getLockoutDuration
in interface PasswordPolicyModel
public void setLockoutDuration(long lockoutDuration)
setLockoutDuration
in interface PasswordPolicyModel
lockoutDuration
- the lockout duration of this password policypublic boolean getRequireUnlock()
getRequireUnlock
in interface PasswordPolicyModel
public boolean isRequireUnlock()
isRequireUnlock
in interface PasswordPolicyModel
public void setRequireUnlock(boolean requireUnlock)
setRequireUnlock
in interface PasswordPolicyModel
requireUnlock
- the require unlock of this password policypublic long getResetFailureCount()
getResetFailureCount
in interface PasswordPolicyModel
public void setResetFailureCount(long resetFailureCount)
setResetFailureCount
in interface PasswordPolicyModel
resetFailureCount
- the reset failure count of this password policypublic long getResetTicketMaxAge()
getResetTicketMaxAge
in interface PasswordPolicyModel
public void setResetTicketMaxAge(long resetTicketMaxAge)
setResetTicketMaxAge
in interface PasswordPolicyModel
resetTicketMaxAge
- the reset ticket max age of this password policypublic 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 PasswordPolicy toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<PasswordPolicy>
toEscapedModel
in interface PasswordPolicyModel
AutoEscapeBeanHandler
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-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |