Liferay 6.0.5

com.liferay.portal.model
Interface PasswordPolicyModel

All Superinterfaces:
BaseModel<PasswordPolicy>, Cloneable, Comparable<PasswordPolicy>, Serializable
All Known Subinterfaces:
PasswordPolicy
All Known Implementing Classes:
PasswordPolicyImpl, PasswordPolicyModelImpl, PasswordPolicyWrapper

public interface PasswordPolicyModel
extends BaseModel<PasswordPolicy>

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 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.

Never modify or reference this interface directly. All methods that expect a password policy model instance should use the PasswordPolicy interface instead.

See Also:
PasswordPolicy, PasswordPolicyImpl, PasswordPolicyModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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.
 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.
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Gets the primary key of this password policy.

Returns:
the primary key of this password policy

setPrimaryKey

void setPrimaryKey(long pk)
Sets the primary key of this password policy

Parameters:
pk - the primary key of this password policy

getPasswordPolicyId

long getPasswordPolicyId()
Gets 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()
Gets the company id of this password policy.

Returns:
the company id of this password policy

setCompanyId

void setCompanyId(long companyId)
Sets the company id of this password policy.

Parameters:
companyId - the company id of this password policy

getUserId

long getUserId()
Gets the user id of this password policy.

Returns:
the user id of this password policy

setUserId

void setUserId(long userId)
Sets the user id of this password policy.

Parameters:
userId - the user id of this password policy

getUserUuid

String getUserUuid()
                   throws SystemException
Gets the user uuid of this password policy.

Returns:
the user uuid of this password policy
Throws:
SystemException - if a system exception occurred

setUserUuid

void setUserUuid(String userUuid)
Sets the user uuid of this password policy.

Parameters:
userUuid - the user uuid of this password policy

getUserName

@AutoEscape
String getUserName()
Gets the user name of this password policy.

Returns:
the user name of this password policy

setUserName

void setUserName(String userName)
Sets the user name of this password policy.

Parameters:
userName - the user name of this password policy

getCreateDate

Date getCreateDate()
Gets the create date of this password policy.

Returns:
the create date of this password policy

setCreateDate

void setCreateDate(Date createDate)
Sets the create date of this password policy.

Parameters:
createDate - the create date of this password policy

getModifiedDate

Date getModifiedDate()
Gets the modified date of this password policy.

Returns:
the modified date of this password policy

setModifiedDate

void setModifiedDate(Date modifiedDate)
Sets the modified date of this password policy.

Parameters:
modifiedDate - the modified date of this password policy

getDefaultPolicy

boolean getDefaultPolicy()
Gets the default policy of this password policy.

Returns:
the default policy of this password policy

isDefaultPolicy

boolean isDefaultPolicy()
Determines whether this password policy is default policy.

Returns:
whether this password policy is default policy

setDefaultPolicy

void setDefaultPolicy(boolean defaultPolicy)
Sets whether this {$entity.humanName} is default policy.

Parameters:
defaultPolicy - the default policy of this password policy

getName

@AutoEscape
String getName()
Gets the name of this password policy.

Returns:
the name of this password policy

setName

void setName(String name)
Sets the name of this password policy.

Parameters:
name - the name of this password policy

getDescription

@AutoEscape
String getDescription()
Gets the description of this password policy.

Returns:
the description of this password policy

setDescription

void setDescription(String description)
Sets the description of this password policy.

Parameters:
description - the description of this password policy

getChangeable

boolean getChangeable()
Gets the changeable of this password policy.

Returns:
the changeable of this password policy

isChangeable

boolean isChangeable()
Determines whether this password policy is changeable.

Returns:
whether this password policy is changeable

setChangeable

void setChangeable(boolean changeable)
Sets whether this {$entity.humanName} is changeable.

Parameters:
changeable - the changeable of this password policy

getChangeRequired

boolean getChangeRequired()
Gets the change required of this password policy.

Returns:
the change required of this password policy

isChangeRequired

boolean isChangeRequired()
Determines whether this password policy is change required.

Returns:
whether this password policy is change required

setChangeRequired

void setChangeRequired(boolean changeRequired)
Sets whether this {$entity.humanName} is change required.

Parameters:
changeRequired - the change required of this password policy

getMinAge

long getMinAge()
Gets 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()
Gets the check syntax of this password policy.

Returns:
the check syntax of this password policy

isCheckSyntax

boolean isCheckSyntax()
Determines whether this password policy is check syntax.

Returns:
whether this password policy is check syntax

setCheckSyntax

void setCheckSyntax(boolean checkSyntax)
Sets whether this {$entity.humanName} is check syntax.

Parameters:
checkSyntax - the check syntax of this password policy

getAllowDictionaryWords

boolean getAllowDictionaryWords()
Gets the allow dictionary words of this password policy.

Returns:
the allow dictionary words of this password policy

isAllowDictionaryWords

boolean isAllowDictionaryWords()
Determines whether this password policy is allow dictionary words.

Returns:
whether this password policy is allow dictionary words

setAllowDictionaryWords

void setAllowDictionaryWords(boolean allowDictionaryWords)
Sets whether this {$entity.humanName} is allow dictionary words.

Parameters:
allowDictionaryWords - the allow dictionary words of this password policy

getMinAlphanumeric

int getMinAlphanumeric()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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

getHistory

boolean getHistory()
Gets the history of this password policy.

Returns:
the history of this password policy

isHistory

boolean isHistory()
Determines whether this password policy is history.

Returns:
whether this password policy is history

setHistory

void setHistory(boolean history)
Sets whether this {$entity.humanName} is history.

Parameters:
history - the history of this password policy

getHistoryCount

int getHistoryCount()
Gets 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()
Gets the expireable of this password policy.

Returns:
the expireable of this password policy

isExpireable

boolean isExpireable()
Determines whether this password policy is expireable.

Returns:
whether this password policy is expireable

setExpireable

void setExpireable(boolean expireable)
Sets whether this {$entity.humanName} is expireable.

Parameters:
expireable - the expireable of this password policy

getMaxAge

long getMaxAge()
Gets 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()
Gets 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()
Gets 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()
Gets the lockout of this password policy.

Returns:
the lockout of this password policy

isLockout

boolean isLockout()
Determines whether this password policy is lockout.

Returns:
whether this password policy is lockout

setLockout

void setLockout(boolean lockout)
Sets whether this {$entity.humanName} is lockout.

Parameters:
lockout - the lockout of this password policy

getMaxFailure

int getMaxFailure()
Gets 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()
Gets 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()
Gets the require unlock of this password policy.

Returns:
the require unlock of this password policy

isRequireUnlock

boolean isRequireUnlock()
Determines whether this password policy is require unlock.

Returns:
whether this password policy is require unlock

setRequireUnlock

void setRequireUnlock(boolean requireUnlock)
Sets whether this {$entity.humanName} is require unlock.

Parameters:
requireUnlock - the require unlock of this password policy

getResetFailureCount

long getResetFailureCount()
Gets 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()
Gets 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

toEscapedModel

PasswordPolicy toEscapedModel()
Gets a copy of this password policy as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<PasswordPolicy>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<PasswordPolicy>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<PasswordPolicy>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<PasswordPolicy>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<PasswordPolicy>
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<PasswordPolicy>
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<PasswordPolicy>
Returns:
the primary key of this model instance

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<PasswordPolicy>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<PasswordPolicy>
Returns:
the shallow clone of this model instance

compareTo

int compareTo(PasswordPolicy passwordPolicy)
Specified by:
compareTo in interface Comparable<PasswordPolicy>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<PasswordPolicy>
Returns:
the XML representation of this model instance

Liferay 6.0.5