Liferay 6.0.3

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>

This interface is a model that represents the PasswordPolicy table in the database.

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()
           
 boolean getChangeable()
           
 boolean getChangeRequired()
           
 boolean getCheckSyntax()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 boolean getDefaultPolicy()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 boolean getExpireable()
           
 int getGraceLimit()
           
 boolean getHistory()
           
 int getHistoryCount()
           
 boolean getLockout()
           
 long getLockoutDuration()
           
 long getMaxAge()
           
 int getMaxFailure()
           
 long getMinAge()
           
 int getMinAlphanumeric()
           
 int getMinLength()
           
 int getMinLowerCase()
           
 int getMinNumbers()
           
 int getMinSymbols()
           
 int getMinUpperCase()
           
 Date getModifiedDate()
           
 String getName()
           
 long getPasswordPolicyId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 boolean getRequireUnlock()
           
 long getResetFailureCount()
           
 long getResetTicketMaxAge()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 long getWarningTime()
           
 int hashCode()
           
 boolean isAllowDictionaryWords()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isChangeable()
           
 boolean isChangeRequired()
           
 boolean isCheckSyntax()
           
 boolean isDefaultPolicy()
           
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isExpireable()
           
 boolean isHistory()
           
 boolean isLockout()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isRequireUnlock()
           
 void setAllowDictionaryWords(boolean allowDictionaryWords)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setChangeable(boolean changeable)
           
 void setChangeRequired(boolean changeRequired)
           
 void setCheckSyntax(boolean checkSyntax)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDefaultPolicy(boolean defaultPolicy)
           
 void setDescription(String description)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setGraceLimit(int graceLimit)
           
 void setHistory(boolean history)
           
 void setHistoryCount(int historyCount)
           
 void setLockout(boolean lockout)
           
 void setLockoutDuration(long lockoutDuration)
           
 void setMaxAge(long maxAge)
           
 void setMaxFailure(int maxFailure)
           
 void setMinAge(long minAge)
           
 void setMinAlphanumeric(int minAlphanumeric)
           
 void setMinLength(int minLength)
           
 void setMinLowerCase(int minLowerCase)
           
 void setMinNumbers(int minNumbers)
           
 void setMinSymbols(int minSymbols)
           
 void setMinUpperCase(int minUpperCase)
           
 void setModifiedDate(Date modifiedDate)
           
 void setName(String name)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPasswordPolicyId(long passwordPolicyId)
           
 void setPrimaryKey(long pk)
           
 void setRequireUnlock(boolean requireUnlock)
           
 void setResetFailureCount(long resetFailureCount)
           
 void setResetTicketMaxAge(long resetTicketMaxAge)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setWarningTime(long warningTime)
           
 PasswordPolicy toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getPasswordPolicyId

long getPasswordPolicyId()

setPasswordPolicyId

void setPasswordPolicyId(long passwordPolicyId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getUserId

long getUserId()

setUserId

void setUserId(long userId)

getUserUuid

String getUserUuid()
                   throws SystemException
Throws:
SystemException

setUserUuid

void setUserUuid(String userUuid)

getUserName

String getUserName()

setUserName

void setUserName(String userName)

getCreateDate

Date getCreateDate()

setCreateDate

void setCreateDate(Date createDate)

getModifiedDate

Date getModifiedDate()

setModifiedDate

void setModifiedDate(Date modifiedDate)

getDefaultPolicy

boolean getDefaultPolicy()

isDefaultPolicy

boolean isDefaultPolicy()

setDefaultPolicy

void setDefaultPolicy(boolean defaultPolicy)

getName

String getName()

setName

void setName(String name)

getDescription

String getDescription()

setDescription

void setDescription(String description)

getChangeable

boolean getChangeable()

isChangeable

boolean isChangeable()

setChangeable

void setChangeable(boolean changeable)

getChangeRequired

boolean getChangeRequired()

isChangeRequired

boolean isChangeRequired()

setChangeRequired

void setChangeRequired(boolean changeRequired)

getMinAge

long getMinAge()

setMinAge

void setMinAge(long minAge)

getCheckSyntax

boolean getCheckSyntax()

isCheckSyntax

boolean isCheckSyntax()

setCheckSyntax

void setCheckSyntax(boolean checkSyntax)

getAllowDictionaryWords

boolean getAllowDictionaryWords()

isAllowDictionaryWords

boolean isAllowDictionaryWords()

setAllowDictionaryWords

void setAllowDictionaryWords(boolean allowDictionaryWords)

getMinAlphanumeric

int getMinAlphanumeric()

setMinAlphanumeric

void setMinAlphanumeric(int minAlphanumeric)

getMinLength

int getMinLength()

setMinLength

void setMinLength(int minLength)

getMinLowerCase

int getMinLowerCase()

setMinLowerCase

void setMinLowerCase(int minLowerCase)

getMinNumbers

int getMinNumbers()

setMinNumbers

void setMinNumbers(int minNumbers)

getMinSymbols

int getMinSymbols()

setMinSymbols

void setMinSymbols(int minSymbols)

getMinUpperCase

int getMinUpperCase()

setMinUpperCase

void setMinUpperCase(int minUpperCase)

getHistory

boolean getHistory()

isHistory

boolean isHistory()

setHistory

void setHistory(boolean history)

getHistoryCount

int getHistoryCount()

setHistoryCount

void setHistoryCount(int historyCount)

getExpireable

boolean getExpireable()

isExpireable

boolean isExpireable()

setExpireable

void setExpireable(boolean expireable)

getMaxAge

long getMaxAge()

setMaxAge

void setMaxAge(long maxAge)

getWarningTime

long getWarningTime()

setWarningTime

void setWarningTime(long warningTime)

getGraceLimit

int getGraceLimit()

setGraceLimit

void setGraceLimit(int graceLimit)

getLockout

boolean getLockout()

isLockout

boolean isLockout()

setLockout

void setLockout(boolean lockout)

getMaxFailure

int getMaxFailure()

setMaxFailure

void setMaxFailure(int maxFailure)

getLockoutDuration

long getLockoutDuration()

setLockoutDuration

void setLockoutDuration(long lockoutDuration)

getRequireUnlock

boolean getRequireUnlock()

isRequireUnlock

boolean isRequireUnlock()

setRequireUnlock

void setRequireUnlock(boolean requireUnlock)

getResetFailureCount

long getResetFailureCount()

setResetFailureCount

void setResetFailureCount(long resetFailureCount)

getResetTicketMaxAge

long getResetTicketMaxAge()

setResetTicketMaxAge

void setResetTicketMaxAge(long resetTicketMaxAge)

toEscapedModel

PasswordPolicy toEscapedModel()

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<PasswordPolicy>
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped 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 has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<PasswordPolicy>
Returns:
the primary key

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

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 clone

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