|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.UserTrackerWrapper
public class UserTrackerWrapper
This class is a wrapper for UserTracker
.
UserTracker
,
Serialized FormConstructor Summary | |
---|---|
UserTrackerWrapper(UserTracker userTracker)
|
Method Summary | |
---|---|
void |
addPath(UserTrackerPath path)
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserTracker userTracker)
|
long |
getCompanyId()
Gets the company id of this user tracker. |
String |
getEmailAddress()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFullName()
|
int |
getHits()
|
Date |
getModifiedDate()
Gets the modified date of this user tracker. |
List<UserTrackerPath> |
getPaths()
|
long |
getPrimaryKey()
Gets the primary key of this user tracker. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getRemoteAddr()
Gets the remote addr of this user tracker. |
String |
getRemoteHost()
Gets the remote host of this user tracker. |
String |
getSessionId()
Gets the session id of this user tracker. |
String |
getUserAgent()
Gets the user agent of this user tracker. |
long |
getUserId()
Gets the user id of this user tracker. |
long |
getUserTrackerId()
Gets the user tracker id of this user tracker. |
String |
getUserUuid()
Gets the user uuid of this user tracker. |
UserTracker |
getWrappedUserTracker()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 pk)
Sets the primary key of this user tracker |
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. |
UserTracker |
toEscapedModel()
Gets a copy of this user tracker as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserTrackerWrapper(UserTracker userTracker)
Method Detail |
---|
public long getPrimaryKey()
UserTrackerModel
getPrimaryKey
in interface UserTrackerModel
public void setPrimaryKey(long pk)
UserTrackerModel
setPrimaryKey
in interface UserTrackerModel
pk
- the primary key of this user trackerpublic long getUserTrackerId()
UserTrackerModel
getUserTrackerId
in interface UserTrackerModel
public void setUserTrackerId(long userTrackerId)
UserTrackerModel
setUserTrackerId
in interface UserTrackerModel
userTrackerId
- the user tracker id of this user trackerpublic long getCompanyId()
UserTrackerModel
getCompanyId
in interface UserTrackerModel
public void setCompanyId(long companyId)
UserTrackerModel
setCompanyId
in interface UserTrackerModel
companyId
- the company id of this user trackerpublic long getUserId()
UserTrackerModel
getUserId
in interface UserTrackerModel
public void setUserId(long userId)
UserTrackerModel
setUserId
in interface UserTrackerModel
userId
- the user id of this user trackerpublic String getUserUuid() throws SystemException
UserTrackerModel
getUserUuid
in interface UserTrackerModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
UserTrackerModel
setUserUuid
in interface UserTrackerModel
userUuid
- the user uuid of this user trackerpublic Date getModifiedDate()
UserTrackerModel
getModifiedDate
in interface UserTrackerModel
public void setModifiedDate(Date modifiedDate)
UserTrackerModel
setModifiedDate
in interface UserTrackerModel
modifiedDate
- the modified date of this user trackerpublic String getSessionId()
UserTrackerModel
getSessionId
in interface UserTrackerModel
public void setSessionId(String sessionId)
UserTrackerModel
setSessionId
in interface UserTrackerModel
sessionId
- the session id of this user trackerpublic String getRemoteAddr()
UserTrackerModel
getRemoteAddr
in interface UserTrackerModel
public void setRemoteAddr(String remoteAddr)
UserTrackerModel
setRemoteAddr
in interface UserTrackerModel
remoteAddr
- the remote addr of this user trackerpublic String getRemoteHost()
UserTrackerModel
getRemoteHost
in interface UserTrackerModel
public void setRemoteHost(String remoteHost)
UserTrackerModel
setRemoteHost
in interface UserTrackerModel
remoteHost
- the remote host of this user trackerpublic String getUserAgent()
UserTrackerModel
getUserAgent
in interface UserTrackerModel
public void setUserAgent(String userAgent)
UserTrackerModel
setUserAgent
in interface UserTrackerModel
userAgent
- the user agent of this user trackerpublic UserTracker toEscapedModel()
UserTrackerModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface UserTrackerModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<UserTracker>
isNew
in interface UserTrackerModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic 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 boolean isCachedModel()
BaseModel
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 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 boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<UserTracker>
isEscapedModel
in interface UserTrackerModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<UserTracker>
setEscapedModel
in interface UserTrackerModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserTracker>
getPrimaryKeyObj
in interface UserTrackerModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserTracker>
getExpandoBridge
in interface UserTrackerModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserTracker>
setExpandoBridgeAttributes
in interface UserTrackerModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 UserTracker
compareTo
in interface UserTrackerModel
compareTo
in interface Comparable<UserTracker>
public int hashCode()
hashCode
in interface UserTrackerModel
hashCode
in class Object
public String toString()
toString
in interface UserTrackerModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserTracker>
toXmlString
in interface UserTrackerModel
public String getFullName()
getFullName
in interface UserTracker
public String getEmailAddress()
getEmailAddress
in interface UserTracker
public List<UserTrackerPath> getPaths()
getPaths
in interface UserTracker
public void addPath(UserTrackerPath path)
addPath
in interface UserTracker
public int getHits()
getHits
in interface UserTracker
public UserTracker getWrappedUserTracker()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |