Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Class PasswordTrackerWrapper

java.lang.Object
  extended by com.liferay.portal.model.PasswordTrackerWrapper
All Implemented Interfaces:
BaseModel<PasswordTracker>, ClassedModel, ModelWrapper<PasswordTracker>, PasswordTracker, PasswordTrackerModel, PersistedModel, Serializable, Cloneable, Comparable<PasswordTracker>

public class PasswordTrackerWrapper
extends Object
implements PasswordTracker, ModelWrapper<PasswordTracker>

This class is a wrapper for PasswordTracker.

See Also:
PasswordTracker, Serialized Form

Constructor Summary
PasswordTrackerWrapper(PasswordTracker passwordTracker)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(PasswordTracker passwordTracker)
           
 boolean equals(Object obj)
           
 Date getCreateDate()
          Returns the create date of this password tracker.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 String getPassword()
          Returns the password of this password tracker.
 long getPasswordTrackerId()
          Returns the password tracker ID of this password tracker.
 long getPrimaryKey()
          Returns the primary key of this password tracker.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this password tracker.
 String getUserUuid()
          Returns the user uuid of this password tracker.
 PasswordTracker getWrappedModel()
           
 PasswordTracker getWrappedPasswordTracker()
          Deprecated. Renamed to getWrappedModel()
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 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 setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCreateDate(Date createDate)
          Sets the create date of this password tracker.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPassword(String password)
          Sets the password of this password tracker.
 void setPasswordTrackerId(long passwordTrackerId)
          Sets the password tracker ID of this password tracker.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this password tracker.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this password tracker.
 void setUserUuid(String userUuid)
          Sets the user uuid of this password tracker.
 CacheModel<PasswordTracker> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 PasswordTracker toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 PasswordTracker toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordTrackerWrapper

public PasswordTrackerWrapper(PasswordTracker passwordTracker)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<PasswordTracker>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<PasswordTracker>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this password tracker.

Specified by:
getPrimaryKey in interface PasswordTrackerModel
Returns:
the primary key of this password tracker

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this password tracker.

Specified by:
setPrimaryKey in interface PasswordTrackerModel
Parameters:
primaryKey - the primary key of this password tracker

getPasswordTrackerId

public long getPasswordTrackerId()
Returns the password tracker ID of this password tracker.

Specified by:
getPasswordTrackerId in interface PasswordTrackerModel
Returns:
the password tracker ID of this password tracker

setPasswordTrackerId

public void setPasswordTrackerId(long passwordTrackerId)
Sets the password tracker ID of this password tracker.

Specified by:
setPasswordTrackerId in interface PasswordTrackerModel
Parameters:
passwordTrackerId - the password tracker ID of this password tracker

getUserId

public long getUserId()
Returns the user ID of this password tracker.

Specified by:
getUserId in interface PasswordTrackerModel
Returns:
the user ID of this password tracker

setUserId

public void setUserId(long userId)
Sets the user ID of this password tracker.

Specified by:
setUserId in interface PasswordTrackerModel
Parameters:
userId - the user ID of this password tracker

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this password tracker.

Specified by:
getUserUuid in interface PasswordTrackerModel
Returns:
the user uuid of this password tracker
Throws:
SystemException - if a system exception occurred

setUserUuid

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

Specified by:
setUserUuid in interface PasswordTrackerModel
Parameters:
userUuid - the user uuid of this password tracker

getCreateDate

public Date getCreateDate()
Returns the create date of this password tracker.

Specified by:
getCreateDate in interface PasswordTrackerModel
Returns:
the create date of this password tracker

setCreateDate

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

Specified by:
setCreateDate in interface PasswordTrackerModel
Parameters:
createDate - the create date of this password tracker

getPassword

public String getPassword()
Returns the password of this password tracker.

Specified by:
getPassword in interface PasswordTrackerModel
Returns:
the password of this password tracker

setPassword

public void setPassword(String password)
Sets the password of this password tracker.

Specified by:
setPassword in interface PasswordTrackerModel
Parameters:
password - the password of this password tracker

isNew

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

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

setNew

public 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<PasswordTracker>
Specified by:
setNew in interface PasswordTrackerModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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

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

setCachedModel

public 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<PasswordTracker>
Specified by:
setCachedModel in interface PasswordTrackerModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

Specified by:
isEscapedModel in interface BaseModel<PasswordTracker>
Specified by:
isEscapedModel in interface PasswordTrackerModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<PasswordTracker>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface PasswordTrackerModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

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

setExpandoBridgeAttributes

public 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<PasswordTracker>
Specified by:
setExpandoBridgeAttributes in interface PasswordTrackerModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

Specified by:
clone in interface BaseModel<PasswordTracker>
Specified by:
clone in interface PasswordTrackerModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(PasswordTracker passwordTracker)
Specified by:
compareTo in interface PasswordTrackerModel
Specified by:
compareTo in interface Comparable<PasswordTracker>

hashCode

public int hashCode()
Specified by:
hashCode in interface PasswordTrackerModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<PasswordTracker> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<PasswordTracker>
Specified by:
toCacheModel in interface PasswordTrackerModel
Returns:
the cache model object

toEscapedModel

public PasswordTracker toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<PasswordTracker>
Specified by:
toEscapedModel in interface PasswordTrackerModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public PasswordTracker toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<PasswordTracker>
Specified by:
toUnescapedModel in interface PasswordTrackerModel

toString

public String toString()
Specified by:
toString in interface PasswordTrackerModel
Overrides:
toString in class Object

toXmlString

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

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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedPasswordTracker

public PasswordTracker getWrappedPasswordTracker()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public PasswordTracker getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<PasswordTracker>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<PasswordTracker>

Liferay 6.1.2-ce-ga3