Liferay 6.2-ce-ga5

com.liferay.portal.model.impl
Class UserNotificationDeliveryModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<UserNotificationDelivery>
      extended by com.liferay.portal.model.impl.UserNotificationDeliveryModelImpl
All Implemented Interfaces:
BaseModel<UserNotificationDelivery>, ClassedModel, TypedModel, UserNotificationDeliveryModel, Serializable, Cloneable, Comparable<UserNotificationDelivery>
Direct Known Subclasses:
UserNotificationDeliveryBaseImpl

public class UserNotificationDeliveryModelImpl
extends BaseModelImpl<UserNotificationDelivery>
implements UserNotificationDeliveryModel

The base model implementation for the UserNotificationDelivery service. Represents a row in the "UserNotificationDelivery" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface UserNotificationDeliveryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserNotificationDeliveryImpl.

See Also:
UserNotificationDeliveryImpl, UserNotificationDelivery, UserNotificationDeliveryModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CLASSNAMEID_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static long DELIVERYTYPE_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static long NOTIFICATIONTYPE_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PORTLETID_COLUMN_BITMASK
           
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 USERNOTIFICATIONDELIVERYID_COLUMN_BITMASK
           
 
Constructor Summary
UserNotificationDeliveryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(UserNotificationDelivery userNotificationDelivery)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this user notification delivery.
 long getClassNameId()
          Returns the class name ID of this user notification delivery.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this user notification delivery.
 boolean getDeliver()
          Returns the deliver of this user notification delivery.
 int getDeliveryType()
          Returns the delivery type of this user notification delivery.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 int getNotificationType()
          Returns the notification type of this user notification delivery.
 long getOriginalClassNameId()
           
 int getOriginalDeliveryType()
           
 int getOriginalNotificationType()
           
 String getOriginalPortletId()
           
 long getOriginalUserId()
           
 String getPortletId()
          Returns the portlet ID of this user notification delivery.
 long getPrimaryKey()
          Returns the primary key of this user notification delivery.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this user notification delivery.
 long getUserNotificationDeliveryId()
          Returns the user notification delivery ID of this user notification delivery.
 String getUserUuid()
          Returns the user uuid of this user notification delivery.
 int hashCode()
           
 boolean isDeliver()
          Returns true if this user notification delivery is deliver.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this user notification delivery.
 void setCompanyId(long companyId)
          Sets the company ID of this user notification delivery.
 void setDeliver(boolean deliver)
          Sets whether this user notification delivery is deliver.
 void setDeliveryType(int deliveryType)
          Sets the delivery type of this user notification delivery.
 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 setNotificationType(int notificationType)
          Sets the notification type of this user notification delivery.
 void setPortletId(String portletId)
          Sets the portlet ID of this user notification delivery.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this user notification delivery.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this user notification delivery.
 void setUserNotificationDeliveryId(long userNotificationDeliveryId)
          Sets the user notification delivery ID of this user notification delivery.
 void setUserUuid(String userUuid)
          Sets the user uuid of this user notification delivery.
 CacheModel<UserNotificationDelivery> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 UserNotificationDelivery 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.UserNotificationDeliveryModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

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

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

DELIVERYTYPE_COLUMN_BITMASK

public static long DELIVERYTYPE_COLUMN_BITMASK

NOTIFICATIONTYPE_COLUMN_BITMASK

public static long NOTIFICATIONTYPE_COLUMN_BITMASK

PORTLETID_COLUMN_BITMASK

public static long PORTLETID_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

USERNOTIFICATIONDELIVERYID_COLUMN_BITMASK

public static long USERNOTIFICATIONDELIVERYID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

UserNotificationDeliveryModelImpl

public UserNotificationDeliveryModelImpl()
Method Detail

getPrimaryKey

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

Specified by:
getPrimaryKey in interface UserNotificationDeliveryModel
Returns:
the primary key of this user notification delivery

setPrimaryKey

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

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
Overrides:
getModelAttributes in class BaseModelImpl<UserNotificationDelivery>

setModelAttributes

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

getUserNotificationDeliveryId

public long getUserNotificationDeliveryId()
Description copied from interface: UserNotificationDeliveryModel
Returns the user notification delivery ID of this user notification delivery.

Specified by:
getUserNotificationDeliveryId in interface UserNotificationDeliveryModel
Returns:
the user notification delivery ID of this user notification delivery

setUserNotificationDeliveryId

public void setUserNotificationDeliveryId(long userNotificationDeliveryId)
Description copied from interface: UserNotificationDeliveryModel
Sets the user notification delivery ID of this user notification delivery.

Specified by:
setUserNotificationDeliveryId in interface UserNotificationDeliveryModel
Parameters:
userNotificationDeliveryId - the user notification delivery ID of this user notification delivery

getCompanyId

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

Specified by:
getCompanyId in interface UserNotificationDeliveryModel
Returns:
the company ID of this user notification delivery

setCompanyId

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

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

getUserId

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

Specified by:
getUserId in interface UserNotificationDeliveryModel
Returns:
the user ID of this user notification delivery

setUserId

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

Specified by:
setUserId in interface UserNotificationDeliveryModel
Parameters:
userId - the user ID of this user notification delivery

getUserUuid

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

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

setUserUuid

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

Specified by:
setUserUuid in interface UserNotificationDeliveryModel
Parameters:
userUuid - the user uuid of this user notification delivery

getOriginalUserId

public long getOriginalUserId()

getPortletId

public String getPortletId()
Description copied from interface: UserNotificationDeliveryModel
Returns the portlet ID of this user notification delivery.

Specified by:
getPortletId in interface UserNotificationDeliveryModel
Returns:
the portlet ID of this user notification delivery

setPortletId

public void setPortletId(String portletId)
Description copied from interface: UserNotificationDeliveryModel
Sets the portlet ID of this user notification delivery.

Specified by:
setPortletId in interface UserNotificationDeliveryModel
Parameters:
portletId - the portlet ID of this user notification delivery

getOriginalPortletId

public String getOriginalPortletId()

getClassName

public String getClassName()
Description copied from interface: UserNotificationDeliveryModel
Returns the fully qualified class name of this user notification delivery.

Specified by:
getClassName in interface TypedModel
Specified by:
getClassName in interface UserNotificationDeliveryModel
Returns:
the fully qualified class name of this user notification delivery

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface UserNotificationDeliveryModel

getClassNameId

public long getClassNameId()
Description copied from interface: UserNotificationDeliveryModel
Returns the class name ID of this user notification delivery.

Specified by:
getClassNameId in interface TypedModel
Specified by:
getClassNameId in interface UserNotificationDeliveryModel
Returns:
the class name ID of this user notification delivery

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: UserNotificationDeliveryModel
Sets the class name ID of this user notification delivery.

Specified by:
setClassNameId in interface TypedModel
Specified by:
setClassNameId in interface UserNotificationDeliveryModel
Parameters:
classNameId - the class name ID of this user notification delivery

getOriginalClassNameId

public long getOriginalClassNameId()

getNotificationType

public int getNotificationType()
Description copied from interface: UserNotificationDeliveryModel
Returns the notification type of this user notification delivery.

Specified by:
getNotificationType in interface UserNotificationDeliveryModel
Returns:
the notification type of this user notification delivery

setNotificationType

public void setNotificationType(int notificationType)
Description copied from interface: UserNotificationDeliveryModel
Sets the notification type of this user notification delivery.

Specified by:
setNotificationType in interface UserNotificationDeliveryModel
Parameters:
notificationType - the notification type of this user notification delivery

getOriginalNotificationType

public int getOriginalNotificationType()

getDeliveryType

public int getDeliveryType()
Description copied from interface: UserNotificationDeliveryModel
Returns the delivery type of this user notification delivery.

Specified by:
getDeliveryType in interface UserNotificationDeliveryModel
Returns:
the delivery type of this user notification delivery

setDeliveryType

public void setDeliveryType(int deliveryType)
Description copied from interface: UserNotificationDeliveryModel
Sets the delivery type of this user notification delivery.

Specified by:
setDeliveryType in interface UserNotificationDeliveryModel
Parameters:
deliveryType - the delivery type of this user notification delivery

getOriginalDeliveryType

public int getOriginalDeliveryType()

getDeliver

public boolean getDeliver()
Description copied from interface: UserNotificationDeliveryModel
Returns the deliver of this user notification delivery.

Specified by:
getDeliver in interface UserNotificationDeliveryModel
Returns:
the deliver of this user notification delivery

isDeliver

public boolean isDeliver()
Description copied from interface: UserNotificationDeliveryModel
Returns true if this user notification delivery is deliver.

Specified by:
isDeliver in interface UserNotificationDeliveryModel
Returns:
true if this user notification delivery is deliver; false otherwise

setDeliver

public void setDeliver(boolean deliver)
Description copied from interface: UserNotificationDeliveryModel
Sets whether this user notification delivery is deliver.

Specified by:
setDeliver in interface UserNotificationDeliveryModel
Parameters:
deliver - the deliver of this user notification delivery

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<UserNotificationDelivery>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface UserNotificationDeliveryModel
Overrides:
getExpandoBridge in class BaseModelImpl<UserNotificationDelivery>
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<UserNotificationDelivery>
Specified by:
setExpandoBridgeAttributes in interface UserNotificationDeliveryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<UserNotificationDelivery>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public UserNotificationDelivery 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<UserNotificationDelivery>
Specified by:
toEscapedModel in interface UserNotificationDeliveryModel
Overrides:
toEscapedModel in class BaseModelImpl<UserNotificationDelivery>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

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

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

compareTo

public int compareTo(UserNotificationDelivery userNotificationDelivery)
Specified by:
compareTo in interface UserNotificationDeliveryModel
Specified by:
compareTo in interface Comparable<UserNotificationDelivery>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
Overrides:
resetOriginalValues in class BaseModelImpl<UserNotificationDelivery>

toCacheModel

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

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

toString

public String toString()
Specified by:
toString in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
Specified by:
toXmlString in interface UserNotificationDeliveryModel
Returns:
the XML representation of this model instance

Liferay 6.2-ce-ga5