|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserNotificationEventModel
The base model interface for the UserNotificationEvent service. Represents a row in the "UserNotificationEvent" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation UserNotificationEventModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserNotificationEventImpl
.
UserNotificationEvent
,
UserNotificationEventImpl
,
UserNotificationEventModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserNotificationEvent userNotificationEvent)
|
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. |
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. |
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 |
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 |
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 interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this user notification event@AutoEscape String getUuid()
void setUuid(String uuid)
uuid
- the uuid of this user notification eventlong getUserNotificationEventId()
void setUserNotificationEventId(long userNotificationEventId)
userNotificationEventId
- the user notification event ID of this user notification eventlong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company ID of this user notification eventlong getUserId()
void setUserId(long userId)
userId
- the user ID of this user notification eventString getUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
userUuid
- the user uuid of this user notification event@AutoEscape String getType()
void setType(String type)
type
- the type of this user notification eventlong getTimestamp()
void setTimestamp(long timestamp)
timestamp
- the timestamp of this user notification eventlong getDeliverBy()
void setDeliverBy(long deliverBy)
deliverBy
- the deliver by of this user notification event@AutoEscape String getPayload()
void setPayload(String payload)
payload
- the payload of this user notification eventboolean getArchived()
boolean isArchived()
true
if this user notification event is archived.
true
if this user notification event is archived; false
otherwisevoid setArchived(boolean archived)
archived
- the archived of this user notification eventboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<UserNotificationEvent>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserNotificationEvent>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<UserNotificationEvent>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<UserNotificationEvent>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<UserNotificationEvent>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserNotificationEvent>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserNotificationEvent>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserNotificationEvent>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationEvent>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<UserNotificationEvent>
int compareTo(UserNotificationEvent userNotificationEvent)
compareTo
in interface Comparable<UserNotificationEvent>
int hashCode()
hashCode
in class Object
CacheModel<UserNotificationEvent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserNotificationEvent>
UserNotificationEvent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserNotificationEvent>
AutoEscapeBeanHandler
UserNotificationEvent toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserNotificationEvent>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
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 |