|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<UserNotificationEvent>
com.liferay.portal.model.impl.UserNotificationEventModelImpl
@ProviderType public class UserNotificationEventModelImpl
The base model implementation for the UserNotificationEvent service. Represents a row in the "UserNotificationEvent" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface UserNotificationEventModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserNotificationEventImpl.
UserNotificationEventImpl,
UserNotificationEvent,
UserNotificationEventModel,
Serialized Form| Field Summary | |
|---|---|
static long |
ACTIONREQUIRED_COLUMN_BITMASK
|
static long |
ARCHIVED_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static long |
DELIVERED_COLUMN_BITMASK
|
static long |
DELIVERYTYPE_COLUMN_BITMASK
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TIMESTAMP_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
TYPE_COLUMN_BITMASK
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
UserNotificationEventModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserNotificationEvent userNotificationEvent)
|
boolean |
equals(Object obj)
|
boolean |
getActionRequired()
Returns the action required of this user notification event. |
boolean |
getArchived()
Returns the archived of this user notification event. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this user notification event. |
long |
getDeliverBy()
Returns the deliver by of this user notification event. |
boolean |
getDelivered()
Returns the delivered of this user notification event. |
int |
getDeliveryType()
Returns the delivery type of this user notification event. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this user notification event. |
boolean |
getOriginalActionRequired()
|
boolean |
getOriginalArchived()
|
long |
getOriginalCompanyId()
|
boolean |
getOriginalDelivered()
|
int |
getOriginalDeliveryType()
|
String |
getOriginalType()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
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 |
isActionRequired()
Returns true if this user notification event is action required. |
boolean |
isArchived()
Returns true if this user notification event is archived. |
boolean |
isDelivered()
Returns true if this user notification event is delivered. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActionRequired(boolean actionRequired)
Sets whether this user notification event is action required. |
void |
setArchived(boolean archived)
Sets whether this user notification event is archived. |
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 |
setDelivered(boolean delivered)
Sets whether this user notification event is delivered. |
void |
setDeliveryType(int deliveryType)
Sets the delivery type 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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user notification event. |
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 com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.UserNotificationEventModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long ACTIONREQUIRED_COLUMN_BITMASK
public static final long ARCHIVED_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long DELIVERED_COLUMN_BITMASK
public static final long DELIVERYTYPE_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long TIMESTAMP_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public UserNotificationEventModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
UserNotificationEventModel
getPrimaryKey in interface UserNotificationEventModelpublic void setPrimaryKey(long primaryKey)
UserNotificationEventModel
setPrimaryKey in interface UserNotificationEventModelprimaryKey - the primary key of this user notification eventpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserNotificationEvent>getModelAttributes in class BaseModelImpl<UserNotificationEvent>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserNotificationEvent>setModelAttributes in class BaseModelImpl<UserNotificationEvent>public long getMvccVersion()
UserNotificationEventModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserNotificationEventModelpublic void setMvccVersion(long mvccVersion)
UserNotificationEventModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserNotificationEventModelmvccVersion - the mvcc version of this user notification eventpublic String getUuid()
UserNotificationEventModel
getUuid in interface UserNotificationEventModelpublic void setUuid(String uuid)
UserNotificationEventModel
setUuid in interface UserNotificationEventModeluuid - the uuid of this user notification eventpublic String getOriginalUuid()
public long getUserNotificationEventId()
UserNotificationEventModel
getUserNotificationEventId in interface UserNotificationEventModelpublic void setUserNotificationEventId(long userNotificationEventId)
UserNotificationEventModel
setUserNotificationEventId in interface UserNotificationEventModeluserNotificationEventId - the user notification event ID of this user notification eventpublic long getCompanyId()
UserNotificationEventModel
getCompanyId in interface ShardedModelgetCompanyId in interface UserNotificationEventModelpublic void setCompanyId(long companyId)
UserNotificationEventModel
setCompanyId in interface ShardedModelsetCompanyId in interface UserNotificationEventModelcompanyId - the company ID of this user notification eventpublic long getOriginalCompanyId()
public long getUserId()
UserNotificationEventModel
getUserId in interface UserNotificationEventModelpublic void setUserId(long userId)
UserNotificationEventModel
setUserId in interface UserNotificationEventModeluserId - the user ID of this user notification eventpublic String getUserUuid()
UserNotificationEventModel
getUserUuid in interface UserNotificationEventModelpublic void setUserUuid(String userUuid)
UserNotificationEventModel
setUserUuid in interface UserNotificationEventModeluserUuid - the user uuid of this user notification eventpublic long getOriginalUserId()
public String getType()
UserNotificationEventModel
getType in interface UserNotificationEventModelpublic void setType(String type)
UserNotificationEventModel
setType in interface UserNotificationEventModeltype - the type of this user notification eventpublic String getOriginalType()
public long getTimestamp()
UserNotificationEventModel
getTimestamp in interface UserNotificationEventModelpublic void setTimestamp(long timestamp)
UserNotificationEventModel
setTimestamp in interface UserNotificationEventModeltimestamp - the timestamp of this user notification eventpublic int getDeliveryType()
UserNotificationEventModel
getDeliveryType in interface UserNotificationEventModelpublic void setDeliveryType(int deliveryType)
UserNotificationEventModel
setDeliveryType in interface UserNotificationEventModeldeliveryType - the delivery type of this user notification eventpublic int getOriginalDeliveryType()
public long getDeliverBy()
UserNotificationEventModel
getDeliverBy in interface UserNotificationEventModelpublic void setDeliverBy(long deliverBy)
UserNotificationEventModel
setDeliverBy in interface UserNotificationEventModeldeliverBy - the deliver by of this user notification eventpublic boolean getDelivered()
UserNotificationEventModel
getDelivered in interface UserNotificationEventModelpublic boolean isDelivered()
UserNotificationEventModeltrue if this user notification event is delivered.
isDelivered in interface UserNotificationEventModeltrue if this user notification event is delivered; false otherwisepublic void setDelivered(boolean delivered)
UserNotificationEventModel
setDelivered in interface UserNotificationEventModeldelivered - the delivered of this user notification eventpublic boolean getOriginalDelivered()
public String getPayload()
UserNotificationEventModel
getPayload in interface UserNotificationEventModelpublic void setPayload(String payload)
UserNotificationEventModel
setPayload in interface UserNotificationEventModelpayload - the payload of this user notification eventpublic boolean getActionRequired()
UserNotificationEventModel
getActionRequired in interface UserNotificationEventModelpublic boolean isActionRequired()
UserNotificationEventModeltrue if this user notification event is action required.
isActionRequired in interface UserNotificationEventModeltrue if this user notification event is action required; false otherwisepublic void setActionRequired(boolean actionRequired)
UserNotificationEventModel
setActionRequired in interface UserNotificationEventModelactionRequired - the action required of this user notification eventpublic boolean getOriginalActionRequired()
public boolean getArchived()
UserNotificationEventModel
getArchived in interface UserNotificationEventModelpublic boolean isArchived()
UserNotificationEventModeltrue if this user notification event is archived.
isArchived in interface UserNotificationEventModeltrue if this user notification event is archived; false otherwisepublic void setArchived(boolean archived)
UserNotificationEventModel
setArchived in interface UserNotificationEventModelarchived - the archived of this user notification eventpublic boolean getOriginalArchived()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<UserNotificationEvent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserNotificationEventModelgetExpandoBridge in class BaseModelImpl<UserNotificationEvent>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<UserNotificationEvent>setExpandoBridgeAttributes in interface UserNotificationEventModelsetExpandoBridgeAttributes in class BaseModelImpl<UserNotificationEvent>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public UserNotificationEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<UserNotificationEvent>toEscapedModel in interface UserNotificationEventModeltoEscapedModel in class BaseModelImpl<UserNotificationEvent>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<UserNotificationEvent>clone in interface UserNotificationEventModelclone in class BaseModelImpl<UserNotificationEvent>public int compareTo(UserNotificationEvent userNotificationEvent)
compareTo in interface UserNotificationEventModelcompareTo in interface Comparable<UserNotificationEvent>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface UserNotificationEventModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<UserNotificationEvent>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<UserNotificationEvent>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<UserNotificationEvent>resetOriginalValues in class BaseModelImpl<UserNotificationEvent>public CacheModel<UserNotificationEvent> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<UserNotificationEvent>toCacheModel in interface UserNotificationEventModeltoCacheModel in class BaseModelImpl<UserNotificationEvent>public String toString()
toString in interface UserNotificationEventModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserNotificationEvent>toXmlString in interface UserNotificationEventModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||