Liferay 6.2-ce-ga5

com.liferay.portal.model.impl
Class UserTrackerModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<UserTracker>
      extended by com.liferay.portal.model.impl.UserTrackerModelImpl
All Implemented Interfaces:
BaseModel<UserTracker>, ClassedModel, UserTrackerModel, Serializable, Cloneable, Comparable<UserTracker>
Direct Known Subclasses:
UserTrackerBaseImpl

public class UserTrackerModelImpl
extends BaseModelImpl<UserTracker>
implements UserTrackerModel

The base model implementation for the UserTracker service. Represents a row in the "UserTracker" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface UserTrackerModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserTrackerImpl.

See Also:
UserTrackerImpl, UserTracker, UserTrackerModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static long SESSIONID_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
static long USERTRACKERID_COLUMN_BITMASK
           
 
Constructor Summary
UserTrackerModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(UserTracker userTracker)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this user tracker.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this user tracker.
 long getOriginalCompanyId()
           
 String getOriginalSessionId()
           
 long getOriginalUserId()
           
 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.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this user 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 setModifiedDate(Date modifiedDate)
          Sets the modified date of this user tracker.
 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()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.UserTrackerModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

SESSIONID_COLUMN_BITMASK

public static long SESSIONID_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

USERTRACKERID_COLUMN_BITMASK

public static long USERTRACKERID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

UserTrackerModelImpl

public UserTrackerModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
Sets the primary key of this user tracker.

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

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

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>
Overrides:
getModelAttributes in class BaseModelImpl<UserTracker>

setModelAttributes

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

getUserTrackerId

public long getUserTrackerId()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
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()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
Sets the company ID of this user tracker.

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

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
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
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
Sets the user uuid of this user tracker.

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

getOriginalUserId

public long getOriginalUserId()

getModifiedDate

public Date getModifiedDate()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
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()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
Sets the session ID of this user tracker.

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

getOriginalSessionId

public String getOriginalSessionId()

getRemoteAddr

public String getRemoteAddr()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
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()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
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()
Description copied from interface: UserTrackerModel
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)
Description copied from interface: UserTrackerModel
Sets the user agent of this user tracker.

Specified by:
setUserAgent in interface UserTrackerModel
Parameters:
userAgent - the user agent of this user tracker

getColumnBitmask

public long getColumnBitmask()

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
Overrides:
getExpandoBridge in class BaseModelImpl<UserTracker>
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<UserTracker>
Specified by:
setExpandoBridgeAttributes in interface UserTrackerModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<UserTracker>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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
Overrides:
toEscapedModel in class BaseModelImpl<UserTracker>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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
Specified by:
clone in class BaseModelImpl<UserTracker>
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>

equals

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

hashCode

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<UserTracker>
Overrides:
resetOriginalValues in class BaseModelImpl<UserTracker>

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
Overrides:
toCacheModel in class BaseModelImpl<UserTracker>
Returns:
the cache model object

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

Liferay 6.2-ce-ga5