|
Liferay 6.1.2-ce-ga3 | |||||||||
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 FormConstructor Summary | |
---|---|
UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserNotificationEvent userNotificationEvent)
|
boolean |
equals(Object obj)
|
boolean |
getArchived()
Returns the archived of this user notification event. |
long |
getCompanyId()
Returns the company ID of this user notification event. |
long |
getDeliverBy()
Returns the deliver by of this user notification event. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getPayload()
Returns the payload of this user notification event. |
long |
getPrimaryKey()
Returns the primary key of this user notification event. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTimestamp()
Returns the timestamp of this user notification event. |
String |
getType()
Returns the type of this user notification event. |
long |
getUserId()
Returns the user ID of this user notification event. |
long |
getUserNotificationEventId()
Returns the user notification event ID of this user notification event. |
String |
getUserUuid()
Returns the user uuid of this user notification event. |
String |
getUuid()
Returns the uuid of this user notification event. |
UserNotificationEvent |
getWrappedModel()
|
UserNotificationEvent |
getWrappedUserNotificationEvent()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isArchived()
Returns true if this user notification event is archived. |
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 |
setArchived(boolean archived)
Sets whether this user notification event is archived. |
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 |
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 |
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()
|
UserNotificationEvent |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserNotificationEvent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserNotificationEvent>
public long getPrimaryKey()
getPrimaryKey
in interface UserNotificationEventModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserNotificationEventModel
primaryKey
- the primary key of this user notification eventpublic String getUuid()
getUuid
in interface UserNotificationEventModel
public void setUuid(String uuid)
setUuid
in interface UserNotificationEventModel
uuid
- the uuid of this user notification eventpublic long getUserNotificationEventId()
getUserNotificationEventId
in interface UserNotificationEventModel
public void setUserNotificationEventId(long userNotificationEventId)
setUserNotificationEventId
in interface UserNotificationEventModel
userNotificationEventId
- the user notification event ID of this user notification eventpublic long getCompanyId()
getCompanyId
in interface UserNotificationEventModel
public void setCompanyId(long companyId)
setCompanyId
in interface UserNotificationEventModel
companyId
- the company ID of this user notification eventpublic long getUserId()
getUserId
in interface UserNotificationEventModel
public void setUserId(long userId)
setUserId
in interface UserNotificationEventModel
userId
- the user ID of this user notification eventpublic String getUserUuid() throws SystemException
getUserUuid
in interface UserNotificationEventModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserNotificationEventModel
userUuid
- the user uuid of this user notification eventpublic String getType()
getType
in interface UserNotificationEventModel
public void setType(String type)
setType
in interface UserNotificationEventModel
type
- the type of this user notification eventpublic long getTimestamp()
getTimestamp
in interface UserNotificationEventModel
public void setTimestamp(long timestamp)
setTimestamp
in interface UserNotificationEventModel
timestamp
- the timestamp of this user notification eventpublic long getDeliverBy()
getDeliverBy
in interface UserNotificationEventModel
public void setDeliverBy(long deliverBy)
setDeliverBy
in interface UserNotificationEventModel
deliverBy
- the deliver by of this user notification eventpublic String getPayload()
getPayload
in interface UserNotificationEventModel
public void setPayload(String payload)
setPayload
in interface UserNotificationEventModel
payload
- the payload of this user notification eventpublic boolean getArchived()
getArchived
in interface UserNotificationEventModel
public boolean isArchived()
true
if this user notification event is archived.
isArchived
in interface UserNotificationEventModel
true
if this user notification event is archived; false
otherwisepublic void setArchived(boolean archived)
setArchived
in interface UserNotificationEventModel
archived
- the archived of this user notification eventpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<UserNotificationEvent>
isNew
in interface UserNotificationEventModel
true
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 UserNotificationEventModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<UserNotificationEvent>
isCachedModel
in interface UserNotificationEventModel
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<UserNotificationEvent>
setCachedModel
in interface UserNotificationEventModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<UserNotificationEvent>
isEscapedModel
in interface UserNotificationEventModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserNotificationEvent>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserNotificationEventModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserNotificationEvent>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserNotificationEventModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserNotificationEvent>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserNotificationEventModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationEvent>
setExpandoBridgeAttributes
in interface UserNotificationEventModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<UserNotificationEvent>
clone
in interface UserNotificationEventModel
clone
in class Object
public int compareTo(UserNotificationEvent userNotificationEvent)
compareTo
in interface UserNotificationEventModel
compareTo
in interface Comparable<UserNotificationEvent>
public int hashCode()
hashCode
in interface UserNotificationEventModel
hashCode
in class Object
public CacheModel<UserNotificationEvent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserNotificationEvent>
toCacheModel
in interface UserNotificationEventModel
public UserNotificationEvent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserNotificationEvent>
toEscapedModel
in interface UserNotificationEventModel
AutoEscapeBeanHandler
public UserNotificationEvent toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserNotificationEvent>
toUnescapedModel
in interface UserNotificationEventModel
public String toString()
toString
in interface UserNotificationEventModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserNotificationEvent>
toXmlString
in interface UserNotificationEventModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public UserNotificationEvent getWrappedUserNotificationEvent()
getWrappedModel()
public UserNotificationEvent getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserNotificationEvent>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserNotificationEvent>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |