|
Liferay 6.0-ee-sp2 | |||||||||
| 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 Form| Constructor 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()
Returns 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. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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()
Returns 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 if this password policy is allow dictionary words. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isChangeable()
Determines if this password policy is changeable. |
boolean |
isChangeRequired()
Determines if this password policy is change required. |
boolean |
isCheckSyntax()
Determines if this password policy is check syntax. |
boolean |
isDefaultPolicy()
Determines if this password policy is default policy. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpireable()
Determines if this password policy is expireable. |
boolean |
isHistory()
Determines if this password policy is history. |
boolean |
isLockout()
Determines if this password policy is lockout. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isRequireUnlock()
Determines if this password policy is require unlock. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 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 |
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 |
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 |
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()
|
String |
toXmlString()
Returns 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface PasswordPolicyModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PasswordPolicyModelprimaryKey - the primary key of this password policypublic long getPasswordPolicyId()
getPasswordPolicyId in interface PasswordPolicyModelpublic void setPasswordPolicyId(long passwordPolicyId)
setPasswordPolicyId in interface PasswordPolicyModelpasswordPolicyId - the password policy ID of this password policypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface PasswordPolicyModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface PasswordPolicyModelcompanyId - the company ID of this password policypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface PasswordPolicyModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface PasswordPolicyModeluserId - the user ID of this password policy
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface PasswordPolicyModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface PasswordPolicyModeluserUuid - the user uuid of this password policypublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface PasswordPolicyModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface PasswordPolicyModeluserName - the user name of this password policypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface PasswordPolicyModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface PasswordPolicyModelcreateDate - the create date of this password policypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface PasswordPolicyModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface PasswordPolicyModelmodifiedDate - the modified date of this password policypublic boolean getDefaultPolicy()
getDefaultPolicy in interface PasswordPolicyModelpublic boolean isDefaultPolicy()
isDefaultPolicy in interface PasswordPolicyModeltrue if this password policy is default policy; false otherwisepublic void setDefaultPolicy(boolean defaultPolicy)
setDefaultPolicy in interface PasswordPolicyModeldefaultPolicy - the default policy of this password policypublic String getName()
getName in interface PasswordPolicyModelpublic void setName(String name)
setName in interface PasswordPolicyModelname - the name of this password policypublic String getDescription()
getDescription in interface PasswordPolicyModelpublic void setDescription(String description)
setDescription in interface PasswordPolicyModeldescription - the description of this password policypublic boolean getChangeable()
getChangeable in interface PasswordPolicyModelpublic boolean isChangeable()
isChangeable in interface PasswordPolicyModeltrue if this password policy is changeable; false otherwisepublic void setChangeable(boolean changeable)
setChangeable in interface PasswordPolicyModelchangeable - the changeable of this password policypublic boolean getChangeRequired()
getChangeRequired in interface PasswordPolicyModelpublic boolean isChangeRequired()
isChangeRequired in interface PasswordPolicyModeltrue if this password policy is change required; false otherwisepublic void setChangeRequired(boolean changeRequired)
setChangeRequired in interface PasswordPolicyModelchangeRequired - the change required of this password policypublic long getMinAge()
getMinAge in interface PasswordPolicyModelpublic void setMinAge(long minAge)
setMinAge in interface PasswordPolicyModelminAge - the min age of this password policypublic boolean getCheckSyntax()
getCheckSyntax in interface PasswordPolicyModelpublic boolean isCheckSyntax()
isCheckSyntax in interface PasswordPolicyModeltrue if this password policy is check syntax; false otherwisepublic void setCheckSyntax(boolean checkSyntax)
setCheckSyntax in interface PasswordPolicyModelcheckSyntax - the check syntax of this password policypublic boolean getAllowDictionaryWords()
getAllowDictionaryWords in interface PasswordPolicyModelpublic boolean isAllowDictionaryWords()
isAllowDictionaryWords in interface PasswordPolicyModeltrue if this password policy is allow dictionary words; false otherwisepublic void setAllowDictionaryWords(boolean allowDictionaryWords)
setAllowDictionaryWords in interface PasswordPolicyModelallowDictionaryWords - the allow dictionary words of this password policypublic int getMinAlphanumeric()
getMinAlphanumeric in interface PasswordPolicyModelpublic void setMinAlphanumeric(int minAlphanumeric)
setMinAlphanumeric in interface PasswordPolicyModelminAlphanumeric - the min alphanumeric of this password policypublic int getMinLength()
getMinLength in interface PasswordPolicyModelpublic void setMinLength(int minLength)
setMinLength in interface PasswordPolicyModelminLength - the min length of this password policypublic int getMinLowerCase()
getMinLowerCase in interface PasswordPolicyModelpublic void setMinLowerCase(int minLowerCase)
setMinLowerCase in interface PasswordPolicyModelminLowerCase - the min lower case of this password policypublic int getMinNumbers()
getMinNumbers in interface PasswordPolicyModelpublic void setMinNumbers(int minNumbers)
setMinNumbers in interface PasswordPolicyModelminNumbers - the min numbers of this password policypublic int getMinSymbols()
getMinSymbols in interface PasswordPolicyModelpublic void setMinSymbols(int minSymbols)
setMinSymbols in interface PasswordPolicyModelminSymbols - the min symbols of this password policypublic int getMinUpperCase()
getMinUpperCase in interface PasswordPolicyModelpublic void setMinUpperCase(int minUpperCase)
setMinUpperCase in interface PasswordPolicyModelminUpperCase - the min upper case of this password policypublic boolean getHistory()
getHistory in interface PasswordPolicyModelpublic boolean isHistory()
isHistory in interface PasswordPolicyModeltrue if this password policy is history; false otherwisepublic void setHistory(boolean history)
setHistory in interface PasswordPolicyModelhistory - the history of this password policypublic int getHistoryCount()
getHistoryCount in interface PasswordPolicyModelpublic void setHistoryCount(int historyCount)
setHistoryCount in interface PasswordPolicyModelhistoryCount - the history count of this password policypublic boolean getExpireable()
getExpireable in interface PasswordPolicyModelpublic boolean isExpireable()
isExpireable in interface PasswordPolicyModeltrue if this password policy is expireable; false otherwisepublic void setExpireable(boolean expireable)
setExpireable in interface PasswordPolicyModelexpireable - the expireable of this password policypublic long getMaxAge()
getMaxAge in interface PasswordPolicyModelpublic void setMaxAge(long maxAge)
setMaxAge in interface PasswordPolicyModelmaxAge - the max age of this password policypublic long getWarningTime()
getWarningTime in interface PasswordPolicyModelpublic void setWarningTime(long warningTime)
setWarningTime in interface PasswordPolicyModelwarningTime - the warning time of this password policypublic int getGraceLimit()
getGraceLimit in interface PasswordPolicyModelpublic void setGraceLimit(int graceLimit)
setGraceLimit in interface PasswordPolicyModelgraceLimit - the grace limit of this password policypublic boolean getLockout()
getLockout in interface PasswordPolicyModelpublic boolean isLockout()
isLockout in interface PasswordPolicyModeltrue if this password policy is lockout; false otherwisepublic void setLockout(boolean lockout)
setLockout in interface PasswordPolicyModellockout - the lockout of this password policypublic int getMaxFailure()
getMaxFailure in interface PasswordPolicyModelpublic void setMaxFailure(int maxFailure)
setMaxFailure in interface PasswordPolicyModelmaxFailure - the max failure of this password policypublic long getLockoutDuration()
getLockoutDuration in interface PasswordPolicyModelpublic void setLockoutDuration(long lockoutDuration)
setLockoutDuration in interface PasswordPolicyModellockoutDuration - the lockout duration of this password policypublic boolean getRequireUnlock()
getRequireUnlock in interface PasswordPolicyModelpublic boolean isRequireUnlock()
isRequireUnlock in interface PasswordPolicyModeltrue if this password policy is require unlock; false otherwisepublic void setRequireUnlock(boolean requireUnlock)
setRequireUnlock in interface PasswordPolicyModelrequireUnlock - the require unlock of this password policypublic long getResetFailureCount()
getResetFailureCount in interface PasswordPolicyModelpublic void setResetFailureCount(long resetFailureCount)
setResetFailureCount in interface PasswordPolicyModelresetFailureCount - the reset failure count of this password policypublic long getResetTicketMaxAge()
getResetTicketMaxAge in interface PasswordPolicyModelpublic void setResetTicketMaxAge(long resetTicketMaxAge)
setResetTicketMaxAge in interface PasswordPolicyModelresetTicketMaxAge - the reset ticket max age of this password policypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<PasswordPolicy>isNew in interface PasswordPolicyModeltrue 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 PasswordPolicyModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<PasswordPolicy>isCachedModel in interface PasswordPolicyModeltrue 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 PasswordPolicyModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<PasswordPolicy>isEscapedModel in interface PasswordPolicyModeltrue 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 PasswordPolicyModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PasswordPolicy>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PasswordPolicyModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PasswordPolicy>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PasswordPolicyModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PasswordPolicy>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PasswordPolicyModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>setExpandoBridgeAttributes in interface PasswordPolicyModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PasswordPolicy>clone in interface PasswordPolicyModelclone in class Objectpublic int compareTo(PasswordPolicy passwordPolicy)
compareTo in interface PasswordPolicyModelcompareTo in interface Comparable<PasswordPolicy>public int hashCode()
hashCode in interface PasswordPolicyModelhashCode in class Objectpublic CacheModel<PasswordPolicy> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PasswordPolicy>toCacheModel in interface PasswordPolicyModelpublic PasswordPolicy toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PasswordPolicy>toEscapedModel in interface PasswordPolicyModelAutoEscapeBeanHandlerpublic String toString()
toString in interface PasswordPolicyModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PasswordPolicy>toXmlString in interface PasswordPolicyModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic PasswordPolicy getWrappedPasswordPolicy()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PasswordPolicy>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||