Liferay 6.2-ce-ga5

com.liferay.portal.model
Class UserTrackerWrapper

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

@ProviderType
public class UserTrackerWrapper
extends Object
implements UserTracker, ModelWrapper<UserTracker>

This class is a wrapper for UserTracker.

See Also:
UserTracker, Serialized Form

Constructor Summary
UserTrackerWrapper(UserTracker userTracker)
           
 
Method Summary
 void addPath(UserTrackerPath path)
           
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(UserTracker userTracker)
           
 boolean equals(Object obj)
           
 long getCompanyId()
          Returns the company ID of this user tracker.
 String getEmailAddress()
           
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getFullName()
           
 int getHits()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this user tracker.
 List<UserTrackerPath> getPaths()
           
 long getPrimaryKey()
          Returns the primary key of this user tracker.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getRemoteAddr()
          Returns the remote addr of this user tracker.
 String getRemoteHost()
          Returns the remote host of this user tracker.
 String getSessionId()
          Returns the session ID of this user tracker.
 String getUserAgent()
          Returns the user agent of this user tracker.
 long getUserId()
          Returns the user ID of this user tracker.
 long getUserTrackerId()
          Returns the user tracker ID of this user tracker.
 String getUserUuid()
          Returns the user uuid of this user tracker.
 UserTracker getWrappedModel()
           
 UserTracker getWrappedUserTracker()
          Deprecated. As of 6.1.0, replaced by 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 setCompanyId(long companyId)
          Sets the company ID of this user tracker.
 void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 setModifiedDate(Date modifiedDate)
          Sets the modified date of this user tracker.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this user tracker.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRemoteAddr(String remoteAddr)
          Sets the remote addr of this user tracker.
 void setRemoteHost(String remoteHost)
          Sets the remote host of this user tracker.
 void setSessionId(String sessionId)
          Sets the session ID of this user tracker.
 void setUserAgent(String userAgent)
          Sets the user agent of this user tracker.
 void setUserId(long userId)
          Sets the user ID of this user tracker.
 void setUserTrackerId(long userTrackerId)
          Sets the user tracker ID of this user tracker.
 void setUserUuid(String userUuid)
          Sets the user uuid of this user tracker.
 CacheModel<UserTracker> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 UserTracker toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 UserTracker 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

UserTrackerWrapper

public UserTrackerWrapper(UserTracker userTracker)
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<UserTracker>

setModelAttributes

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

getPrimaryKey

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

Specified by:
getPrimaryKey in interface UserTrackerModel
Returns:
the primary key of this user tracker

setPrimaryKey

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

Specified by:
setPrimaryKey in interface UserTrackerModel
Parameters:
primaryKey - the primary key of this user tracker

getUserTrackerId

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

Specified by:
getUserTrackerId in interface UserTrackerModel
Returns:
the user tracker ID of this user tracker

setUserTrackerId

public void setUserTrackerId(long userTrackerId)
Sets the user tracker ID of this user tracker.

Specified by:
setUserTrackerId in interface UserTrackerModel
Parameters:
userTrackerId - the user tracker ID of this user tracker

getCompanyId

public long getCompanyId()
Returns the company ID of this user tracker.

Specified by:
getCompanyId in interface UserTrackerModel
Returns:
the company ID of this user tracker

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this user tracker.

Specified by:
setCompanyId in interface UserTrackerModel
Parameters:
companyId - the company ID of this user tracker

getUserId

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

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

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this user tracker.

Specified by:
getModifiedDate in interface UserTrackerModel
Returns:
the modified date of this user tracker

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this user tracker.

Specified by:
setModifiedDate in interface UserTrackerModel
Parameters:
modifiedDate - the modified date of this user tracker

getSessionId

public String getSessionId()
Returns the session ID of this user tracker.

Specified by:
getSessionId in interface UserTrackerModel
Returns:
the session ID of this user tracker

setSessionId

public void setSessionId(String sessionId)
Sets the session ID of this user tracker.

Specified by:
setSessionId in interface UserTrackerModel
Parameters:
sessionId - the session ID of this user tracker

getRemoteAddr

public String getRemoteAddr()
Returns the remote addr of this user tracker.

Specified by:
getRemoteAddr in interface UserTrackerModel
Returns:
the remote addr of this user tracker

setRemoteAddr

public void setRemoteAddr(String remoteAddr)
Sets the remote addr of this user tracker.

Specified by:
setRemoteAddr in interface UserTrackerModel
Parameters:
remoteAddr - the remote addr of this user tracker

getRemoteHost

public String getRemoteHost()
Returns the remote host of this user tracker.

Specified by:
getRemoteHost in interface UserTrackerModel
Returns:
the remote host of this user tracker

setRemoteHost

public void setRemoteHost(String remoteHost)
Sets the remote host of this user tracker.

Specified by:
setRemoteHost in interface UserTrackerModel
Parameters:
remoteHost - the remote host of this user tracker

getUserAgent

public String getUserAgent()
Returns the user agent of this user tracker.

Specified by:
getUserAgent in interface UserTrackerModel
Returns:
the user agent of this user tracker

setUserAgent

public void setUserAgent(String userAgent)
Sets the user agent of this user tracker.

Specified by:
setUserAgent in interface UserTrackerModel
Parameters:
userAgent - the user agent of this user 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<UserTracker>
Specified by:
isNew in interface UserTrackerModel
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<UserTracker>
Specified by:
setNew in interface UserTrackerModel
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<UserTracker>
Specified by:
isCachedModel in interface UserTrackerModel
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<UserTracker>
Specified by:
setCachedModel in interface UserTrackerModel
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<UserTracker>
Specified by:
isEscapedModel in interface UserTrackerModel
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<UserTracker>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface UserTrackerModel
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<UserTracker>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface UserTrackerModel
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<UserTracker>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface UserTrackerModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserTracker>
Specified by:
setExpandoBridgeAttributes in interface UserTrackerModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserTracker>
Specified by:
setExpandoBridgeAttributes in interface UserTrackerModel

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<UserTracker>
Specified by:
setExpandoBridgeAttributes in interface UserTrackerModel
Parameters:
serviceContext - the service context to be applied
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<UserTracker>
Specified by:
clone in interface UserTrackerModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(UserTracker userTracker)
Specified by:
compareTo in interface UserTrackerModel
Specified by:
compareTo in interface Comparable<UserTracker>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<UserTracker>
Specified by:
toCacheModel in interface UserTrackerModel
Returns:
the cache model object

toEscapedModel

public UserTracker 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<UserTracker>
Specified by:
toEscapedModel in interface UserTrackerModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public UserTracker toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<UserTracker>
Specified by:
toUnescapedModel in interface UserTrackerModel

toString

public String toString()
Specified by:
toString in interface UserTrackerModel
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<UserTracker>
Specified by:
toXmlString in interface UserTrackerModel
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

addPath

public void addPath(UserTrackerPath path)
Specified by:
addPath in interface UserTracker

getEmailAddress

public String getEmailAddress()
Specified by:
getEmailAddress in interface UserTracker

getFullName

public String getFullName()
Specified by:
getFullName in interface UserTracker

getHits

public int getHits()
Specified by:
getHits in interface UserTracker

getPaths

public List<UserTrackerPath> getPaths()
Specified by:
getPaths in interface UserTracker

equals

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

getWrappedUserTracker

public UserTracker getWrappedUserTracker()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<UserTracker>

Liferay 6.2-ce-ga5