@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserTracker>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserTracker>
public void addPath(UserTrackerPath path)
addPath
in interface UserTracker
public Object clone()
BaseModel
clone
in interface BaseModel<UserTracker>
clone
in interface UserTrackerModel
clone
in class Object
public int compareTo(UserTracker userTracker)
compareTo
in interface UserTrackerModel
compareTo
in interface Comparable<UserTracker>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserTrackerModel
public String getEmailAddress()
getEmailAddress
in interface UserTracker
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserTracker>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserTrackerModel
public String getFullName()
getFullName
in interface UserTracker
public int getHits()
getHits
in interface UserTracker
public Date getModifiedDate()
getModifiedDate
in interface UserTrackerModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserTrackerModel
public List<UserTrackerPath> getPaths()
getPaths
in interface UserTracker
public long getPrimaryKey()
getPrimaryKey
in interface UserTrackerModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserTracker>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserTrackerModel
public String getRemoteAddr()
getRemoteAddr
in interface UserTrackerModel
public String getRemoteHost()
getRemoteHost
in interface UserTrackerModel
public String getSessionId()
getSessionId
in interface UserTrackerModel
public String getUserAgent()
getUserAgent
in interface UserTrackerModel
public long getUserId()
getUserId
in interface UserTrackerModel
public long getUserTrackerId()
getUserTrackerId
in interface UserTrackerModel
public String getUserUuid()
getUserUuid
in interface UserTrackerModel
public int hashCode()
hashCode
in interface UserTrackerModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<UserTracker>
isCachedModel
in interface UserTrackerModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<UserTracker>
isEscapedModel
in interface UserTrackerModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<UserTracker>
isNew
in interface UserTrackerModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<UserTracker>
setCachedModel
in interface UserTrackerModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserTrackerModel
companyId
- the company ID of this user trackerpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserTracker>
setExpandoBridgeAttributes
in interface UserTrackerModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserTracker>
setExpandoBridgeAttributes
in interface UserTrackerModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserTracker>
setExpandoBridgeAttributes
in interface UserTrackerModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface UserTrackerModel
modifiedDate
- the modified date of this user trackerpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserTrackerModel
mvccVersion
- the mvcc version of this user trackerpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserTracker>
setNew
in interface UserTrackerModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserTrackerModel
primaryKey
- the primary key of this user trackerpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserTracker>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserTrackerModel
primaryKeyObj
- the primary key of this model instancepublic void setRemoteAddr(String remoteAddr)
setRemoteAddr
in interface UserTrackerModel
remoteAddr
- the remote addr of this user trackerpublic void setRemoteHost(String remoteHost)
setRemoteHost
in interface UserTrackerModel
remoteHost
- the remote host of this user trackerpublic void setSessionId(String sessionId)
setSessionId
in interface UserTrackerModel
sessionId
- the session ID of this user trackerpublic void setUserAgent(String userAgent)
setUserAgent
in interface UserTrackerModel
userAgent
- the user agent of this user trackerpublic void setUserId(long userId)
setUserId
in interface UserTrackerModel
userId
- the user ID of this user trackerpublic void setUserTrackerId(long userTrackerId)
setUserTrackerId
in interface UserTrackerModel
userTrackerId
- the user tracker ID of this user trackerpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserTrackerModel
userUuid
- the user uuid of this user trackerpublic CacheModel<UserTracker> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserTracker>
toCacheModel
in interface UserTrackerModel
public UserTracker toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<UserTracker>
toEscapedModel
in interface UserTrackerModel
AutoEscapeBeanHandler
public String toString()
toString
in interface UserTrackerModel
toString
in class Object
public UserTracker toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserTracker>
toUnescapedModel
in interface UserTrackerModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserTracker>
toXmlString
in interface UserTrackerModel
public boolean equals(Object obj)
equals
in class Object
public UserTracker getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserTracker>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<UserTracker>