Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class UserNotificationEventModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<UserNotificationEvent>
      extended by com.liferay.portal.model.impl.UserNotificationEventModelImpl
All Implemented Interfaces:
BaseModel<UserNotificationEvent>, ClassedModel, UserNotificationEventModel, Serializable, Cloneable, Comparable<UserNotificationEvent>
Direct Known Subclasses:
UserNotificationEventBaseImpl

public class UserNotificationEventModelImpl
extends BaseModelImpl<UserNotificationEvent>
implements UserNotificationEventModel

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.

See Also:
UserNotificationEventImpl, UserNotificationEvent, UserNotificationEventModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long ARCHIVED_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
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 String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
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 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.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 boolean getOriginalArchived()
           
 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 isArchived()
          Returns true if this user notification event is archived.
 void resetOriginalValues()
          Reset all original fields to current values.
 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 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 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 com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
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, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ARCHIVED_COLUMN_BITMASK

public static long ARCHIVED_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

UserNotificationEventModelImpl

public UserNotificationEventModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: UserNotificationEventModel
Returns the primary key of this user notification event.

Specified by:
getPrimaryKey in interface UserNotificationEventModel
Returns:
the primary key of this user notification event

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: UserNotificationEventModel
Sets the primary key of this user notification event.

Specified by:
setPrimaryKey in interface UserNotificationEventModel
Parameters:
primaryKey - the primary key of this user notification event

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<UserNotificationEvent>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface UserNotificationEventModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<UserNotificationEvent>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface UserNotificationEventModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<UserNotificationEvent>
Overrides:
getModelAttributes in class BaseModelImpl<UserNotificationEvent>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<UserNotificationEvent>
Overrides:
setModelAttributes in class BaseModelImpl<UserNotificationEvent>

getUuid

public String getUuid()
Description copied from interface: UserNotificationEventModel
Returns the uuid of this user notification event.

Specified by:
getUuid in interface UserNotificationEventModel
Returns:
the uuid of this user notification event

setUuid

public void setUuid(String uuid)
Description copied from interface: UserNotificationEventModel
Sets the uuid of this user notification event.

Specified by:
setUuid in interface UserNotificationEventModel
Parameters:
uuid - the uuid of this user notification event

getOriginalUuid

public String getOriginalUuid()

getUserNotificationEventId

public long getUserNotificationEventId()
Description copied from interface: UserNotificationEventModel
Returns the user notification event ID of this user notification event.

Specified by:
getUserNotificationEventId in interface UserNotificationEventModel
Returns:
the user notification event ID of this user notification event

setUserNotificationEventId

public void setUserNotificationEventId(long userNotificationEventId)
Description copied from interface: UserNotificationEventModel
Sets the user notification event ID of this user notification event.

Specified by:
setUserNotificationEventId in interface UserNotificationEventModel
Parameters:
userNotificationEventId - the user notification event ID of this user notification event

getCompanyId

public long getCompanyId()
Description copied from interface: UserNotificationEventModel
Returns the company ID of this user notification event.

Specified by:
getCompanyId in interface UserNotificationEventModel
Returns:
the company ID of this user notification event

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: UserNotificationEventModel
Sets the company ID of this user notification event.

Specified by:
setCompanyId in interface UserNotificationEventModel
Parameters:
companyId - the company ID of this user notification event

getUserId

public long getUserId()
Description copied from interface: UserNotificationEventModel
Returns the user ID of this user notification event.

Specified by:
getUserId in interface UserNotificationEventModel
Returns:
the user ID of this user notification event

setUserId

public void setUserId(long userId)
Description copied from interface: UserNotificationEventModel
Sets the user ID of this user notification event.

Specified by:
setUserId in interface UserNotificationEventModel
Parameters:
userId - the user ID of this user notification event

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: UserNotificationEventModel
Returns the user uuid of this user notification event.

Specified by:
getUserUuid in interface UserNotificationEventModel
Returns:
the user uuid of this user notification event
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: UserNotificationEventModel
Sets the user uuid of this user notification event.

Specified by:
setUserUuid in interface UserNotificationEventModel
Parameters:
userUuid - the user uuid of this user notification event

getOriginalUserId

public long getOriginalUserId()

getType

public String getType()
Description copied from interface: UserNotificationEventModel
Returns the type of this user notification event.

Specified by:
getType in interface UserNotificationEventModel
Returns:
the type of this user notification event

setType

public void setType(String type)
Description copied from interface: UserNotificationEventModel
Sets the type of this user notification event.

Specified by:
setType in interface UserNotificationEventModel
Parameters:
type - the type of this user notification event

getTimestamp

public long getTimestamp()
Description copied from interface: UserNotificationEventModel
Returns the timestamp of this user notification event.

Specified by:
getTimestamp in interface UserNotificationEventModel
Returns:
the timestamp of this user notification event

setTimestamp

public void setTimestamp(long timestamp)
Description copied from interface: UserNotificationEventModel
Sets the timestamp of this user notification event.

Specified by:
setTimestamp in interface UserNotificationEventModel
Parameters:
timestamp - the timestamp of this user notification event

getDeliverBy

public long getDeliverBy()
Description copied from interface: UserNotificationEventModel
Returns the deliver by of this user notification event.

Specified by:
getDeliverBy in interface UserNotificationEventModel
Returns:
the deliver by of this user notification event

setDeliverBy

public void setDeliverBy(long deliverBy)
Description copied from interface: UserNotificationEventModel
Sets the deliver by of this user notification event.

Specified by:
setDeliverBy in interface UserNotificationEventModel
Parameters:
deliverBy - the deliver by of this user notification event

getPayload

public String getPayload()
Description copied from interface: UserNotificationEventModel
Returns the payload of this user notification event.

Specified by:
getPayload in interface UserNotificationEventModel
Returns:
the payload of this user notification event

setPayload

public void setPayload(String payload)
Description copied from interface: UserNotificationEventModel
Sets the payload of this user notification event.

Specified by:
setPayload in interface UserNotificationEventModel
Parameters:
payload - the payload of this user notification event

getArchived

public boolean getArchived()
Description copied from interface: UserNotificationEventModel
Returns the archived of this user notification event.

Specified by:
getArchived in interface UserNotificationEventModel
Returns:
the archived of this user notification event

isArchived

public boolean isArchived()
Description copied from interface: UserNotificationEventModel
Returns true if this user notification event is archived.

Specified by:
isArchived in interface UserNotificationEventModel
Returns:
true if this user notification event is archived; false otherwise

setArchived

public void setArchived(boolean archived)
Description copied from interface: UserNotificationEventModel
Sets whether this user notification event is archived.

Specified by:
setArchived in interface UserNotificationEventModel
Parameters:
archived - the archived of this user notification event

getOriginalArchived

public boolean getOriginalArchived()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<UserNotificationEvent>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface UserNotificationEventModel
Overrides:
getExpandoBridge in class BaseModelImpl<UserNotificationEvent>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserNotificationEvent>
Specified by:
setExpandoBridgeAttributes in interface UserNotificationEventModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<UserNotificationEvent>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public UserNotificationEvent toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<UserNotificationEvent>
Specified by:
toEscapedModel in interface UserNotificationEventModel
Overrides:
toEscapedModel in class BaseModelImpl<UserNotificationEvent>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public UserNotificationEvent toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<UserNotificationEvent>
Specified by:
toUnescapedModel in interface UserNotificationEventModel
Overrides:
toUnescapedModel in class BaseModelImpl<UserNotificationEvent>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<UserNotificationEvent>
Specified by:
clone in interface UserNotificationEventModel
Specified by:
clone in class BaseModelImpl<UserNotificationEvent>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(UserNotificationEvent userNotificationEvent)
Specified by:
compareTo in interface UserNotificationEventModel
Specified by:
compareTo in interface Comparable<UserNotificationEvent>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface UserNotificationEventModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<UserNotificationEvent>
Overrides:
resetOriginalValues in class BaseModelImpl<UserNotificationEvent>

toCacheModel

public CacheModel<UserNotificationEvent> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<UserNotificationEvent>
Specified by:
toCacheModel in interface UserNotificationEventModel
Overrides:
toCacheModel in class BaseModelImpl<UserNotificationEvent>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface UserNotificationEventModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<UserNotificationEvent>
Specified by:
toXmlString in interface UserNotificationEventModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3