|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.UserNotificationEventWrapper
public class UserNotificationEventWrapper
This class is a wrapper for UserNotificationEvent.
UserNotificationEvent,
Serialized Form| Constructor Summary | |
|---|---|
UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserNotificationEvent userNotificationEvent)
|
long |
getCompanyId()
Gets the company ID of this user notification event. |
long |
getDeliverBy()
Gets the deliver by of this user notification event. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getPayload()
Gets the payload of this user notification event. |
long |
getPrimaryKey()
Gets the primary key of this user notification event. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTimestamp()
Gets the timestamp of this user notification event. |
String |
getType()
Gets the type of this user notification event. |
long |
getUserId()
Gets the user ID of this user notification event. |
long |
getUserNotificationEventId()
Gets the user notification event ID of this user notification event. |
String |
getUserUuid()
Gets the user uuid of this user notification event. |
String |
getUuid()
Gets the uuid of this user notification event. |
UserNotificationEvent |
getWrappedUserNotificationEvent()
|
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 notification event. |
void |
setDeliverBy(long deliverBy)
Sets the deliver by of this user notification event. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPayload(String payload)
Sets the payload of this user notification event. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user notification event |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTimestamp(long timestamp)
Sets the timestamp of this user notification event. |
void |
setType(String type)
Sets the type of this user notification event. |
void |
setUserId(long userId)
Sets the user ID of this user notification event. |
void |
setUserNotificationEventId(long userNotificationEventId)
Sets the user notification event ID of this user notification event. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this user notification event. |
void |
setUuid(String uuid)
Sets the uuid of this user notification event. |
CacheModel<UserNotificationEvent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
UserNotificationEvent |
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 java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface UserNotificationEventModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserNotificationEventModelprimaryKey - the primary key of this user notification eventpublic String getUuid()
getUuid in interface UserNotificationEventModelpublic void setUuid(String uuid)
setUuid in interface UserNotificationEventModeluuid - the uuid of this user notification eventpublic long getUserNotificationEventId()
getUserNotificationEventId in interface UserNotificationEventModelpublic void setUserNotificationEventId(long userNotificationEventId)
setUserNotificationEventId in interface UserNotificationEventModeluserNotificationEventId - the user notification event ID of this user notification eventpublic long getCompanyId()
getCompanyId in interface UserNotificationEventModelpublic void setCompanyId(long companyId)
setCompanyId in interface UserNotificationEventModelcompanyId - the company ID of this user notification eventpublic long getUserId()
getUserId in interface UserNotificationEventModelpublic void setUserId(long userId)
setUserId in interface UserNotificationEventModeluserId - the user ID of this user notification event
public String getUserUuid()
throws SystemException
getUserUuid in interface UserNotificationEventModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface UserNotificationEventModeluserUuid - the user uuid of this user notification eventpublic String getType()
getType in interface UserNotificationEventModelpublic void setType(String type)
setType in interface UserNotificationEventModeltype - the type of this user notification eventpublic long getTimestamp()
getTimestamp in interface UserNotificationEventModelpublic void setTimestamp(long timestamp)
setTimestamp in interface UserNotificationEventModeltimestamp - the timestamp of this user notification eventpublic long getDeliverBy()
getDeliverBy in interface UserNotificationEventModelpublic void setDeliverBy(long deliverBy)
setDeliverBy in interface UserNotificationEventModeldeliverBy - the deliver by of this user notification eventpublic String getPayload()
getPayload in interface UserNotificationEventModelpublic void setPayload(String payload)
setPayload in interface UserNotificationEventModelpayload - the payload of this user notification eventpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<UserNotificationEvent>isNew in interface UserNotificationEventModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<UserNotificationEvent>setNew in interface UserNotificationEventModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<UserNotificationEvent>isCachedModel in interface UserNotificationEventModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<UserNotificationEvent>setCachedModel in interface UserNotificationEventModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<UserNotificationEvent>isEscapedModel in interface UserNotificationEventModeltrue 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<UserNotificationEvent>setEscapedModel in interface UserNotificationEventModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<UserNotificationEvent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserNotificationEventModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<UserNotificationEvent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserNotificationEventModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<UserNotificationEvent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserNotificationEventModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<UserNotificationEvent>setExpandoBridgeAttributes in interface UserNotificationEventModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<UserNotificationEvent>clone in interface UserNotificationEventModelclone in class Objectpublic int compareTo(UserNotificationEvent userNotificationEvent)
compareTo in interface UserNotificationEventModelcompareTo in interface Comparable<UserNotificationEvent>public int hashCode()
hashCode in interface UserNotificationEventModelhashCode in class Objectpublic CacheModel<UserNotificationEvent> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<UserNotificationEvent>toCacheModel in interface UserNotificationEventModelpublic UserNotificationEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<UserNotificationEvent>toEscapedModel in interface UserNotificationEventModelAutoEscapeBeanHandlerpublic String toString()
toString in interface UserNotificationEventModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserNotificationEvent>toXmlString in interface UserNotificationEventModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic UserNotificationEvent getWrappedUserNotificationEvent()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<UserNotificationEvent>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||