@ProviderType public class UserTrackerWrapper extends Object implements UserTracker, ModelWrapper<UserTracker>
This class is a wrapper for UserTracker.
UserTracker,
Serialized FormUSER_TRACKER_ID_ACCESSOR| Constructor and Description |
|---|
UserTrackerWrapper(UserTracker userTracker) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
long |
getMvccVersion()
Returns the mvcc version 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() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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.
|
public UserTrackerWrapper(UserTracker userTracker)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserTracker>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserTracker>public CacheModel<UserTracker> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserTracker>toCacheModel in interface UserTrackerModelpublic UserTracker toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserTracker>toEscapedModel in interface UserTrackerModelAutoEscapeBeanHandlerpublic UserTracker toUnescapedModel()
toUnescapedModel in interface BaseModel<UserTracker>toUnescapedModel in interface UserTrackerModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserTracker>isCachedModel in interface UserTrackerModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserTracker>isEscapedModel in interface UserTrackerModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<UserTracker>isNew in interface UserTrackerModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserTracker>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserTrackerModelpublic int compareTo(UserTracker userTracker)
compareTo in interface UserTrackerModelcompareTo in interface Comparable<UserTracker>public int getHits()
getHits in interface UserTrackerpublic int hashCode()
hashCode in interface UserTrackerModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserTracker>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserTrackerModelpublic Object clone()
BaseModelclone in interface BaseModel<UserTracker>clone in interface UserTrackerModelclone in class Objectpublic String getEmailAddress()
getEmailAddress in interface UserTrackerpublic String getFullName()
getFullName in interface UserTrackerpublic String getRemoteAddr()
getRemoteAddr in interface UserTrackerModelpublic String getRemoteHost()
getRemoteHost in interface UserTrackerModelpublic String getSessionId()
getSessionId in interface UserTrackerModelpublic String getUserAgent()
getUserAgent in interface UserTrackerModelpublic String getUserUuid()
getUserUuid in interface UserTrackerModelpublic String toString()
toString in interface UserTrackerModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserTracker>toXmlString in interface UserTrackerModelpublic Date getModifiedDate()
getModifiedDate in interface UserTrackerModelpublic List<UserTrackerPath> getPaths()
getPaths in interface UserTrackerpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface UserTrackerModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserTrackerModelpublic long getPrimaryKey()
getPrimaryKey in interface UserTrackerModelpublic long getUserId()
getUserId in interface UserTrackerModelpublic long getUserTrackerId()
getUserTrackerId in interface UserTrackerModelpublic void addPath(UserTrackerPath path)
addPath in interface UserTrackerpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserTracker>setCachedModel in interface UserTrackerModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface UserTrackerModelcompanyId - the company ID of this user trackerpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserTracker>setExpandoBridgeAttributes in interface UserTrackerModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserTracker>setExpandoBridgeAttributes in interface UserTrackerModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserTracker>setExpandoBridgeAttributes in interface UserTrackerModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedDate(Date modifiedDate)
setModifiedDate in interface UserTrackerModelmodifiedDate - the modified date of this user trackerpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserTrackerModelmvccVersion - the mvcc version of this user trackerpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserTracker>setNew in interface UserTrackerModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserTrackerModelprimaryKey - the primary key of this user trackerpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserTracker>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserTrackerModelprimaryKeyObj - the primary key of this model instancepublic void setRemoteAddr(String remoteAddr)
setRemoteAddr in interface UserTrackerModelremoteAddr - the remote addr of this user trackerpublic void setRemoteHost(String remoteHost)
setRemoteHost in interface UserTrackerModelremoteHost - the remote host of this user trackerpublic void setSessionId(String sessionId)
setSessionId in interface UserTrackerModelsessionId - the session ID of this user trackerpublic void setUserAgent(String userAgent)
setUserAgent in interface UserTrackerModeluserAgent - the user agent of this user trackerpublic void setUserId(long userId)
setUserId in interface UserTrackerModeluserId - the user ID of this user trackerpublic void setUserTrackerId(long userTrackerId)
setUserTrackerId in interface UserTrackerModeluserTrackerId - the user tracker ID of this user trackerpublic void setUserUuid(String userUuid)
setUserUuid in interface UserTrackerModeluserUuid - the user uuid of this user trackerpublic UserTracker getWrappedModel()
getWrappedModel in interface ModelWrapper<UserTracker>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<UserTracker>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<UserTracker>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<UserTracker>