Liferay 7.0-ce-b7 portal-impl

com.liferay.portlet.announcements.model.impl
Class AnnouncementsDeliveryModelImpl

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
      extended by com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
All Implemented Interfaces:
com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Direct Known Subclasses:
AnnouncementsDeliveryBaseImpl

@JSON(strict=true)
@ProviderType
public class AnnouncementsDeliveryModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
implements com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

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

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

See Also:
AnnouncementsDeliveryImpl, AnnouncementsDelivery, AnnouncementsDeliveryModel, Serialized Form
{$generated.description}

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static long DELIVERYID_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 String TX_MANAGER
           
static long TYPE_COLUMN_BITMASK
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
AnnouncementsDeliveryModelImpl()
           
 
Method Summary
 Object clone()
           
 int compareTo(com.liferay.announcements.kernel.model.AnnouncementsDelivery announcementsDelivery)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 long getDeliveryId()
           
 boolean getEmail()
           
 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 String getOriginalType()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 boolean getSms()
           
 String getType()
           
 long getUserId()
           
 String getUserUuid()
           
 boolean getWebsite()
           
 int hashCode()
           
 boolean isEmail()
           
 boolean isEntityCacheEnabled()
           
 boolean isFinderCacheEnabled()
           
 boolean isSms()
           
 boolean isWebsite()
           
 void resetOriginalValues()
           
 void setCompanyId(long companyId)
           
 void setDeliveryId(long deliveryId)
           
 void setEmail(boolean email)
           
 void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setSms(boolean sms)
           
 void setType(String type)
           
 void setUserId(long userId)
           
 void setUserUuid(String userUuid)
           
 void setWebsite(boolean website)
           
 com.liferay.portal.kernel.model.CacheModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toCacheModel()
           
 com.liferay.announcements.kernel.model.AnnouncementsDelivery toEscapedModel()
           
static com.liferay.announcements.kernel.model.AnnouncementsDelivery toModel(com.liferay.announcements.kernel.model.AnnouncementsDeliverySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toModels(com.liferay.announcements.kernel.model.AnnouncementsDeliverySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
           
 
Methods inherited from class com.liferay.portal.kernel.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.announcements.kernel.model.AnnouncementsDeliveryModel
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_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

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

TYPE_COLUMN_BITMASK

public static final long TYPE_COLUMN_BITMASK
See Also:
Constant Field Values

USERID_COLUMN_BITMASK

public static final long USERID_COLUMN_BITMASK
See Also:
Constant Field Values

DELIVERYID_COLUMN_BITMASK

public static final long DELIVERYID_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

AnnouncementsDeliveryModelImpl

public AnnouncementsDeliveryModelImpl()
Method Detail

toModel

public static com.liferay.announcements.kernel.model.AnnouncementsDelivery toModel(com.liferay.announcements.kernel.model.AnnouncementsDeliverySoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toModels(com.liferay.announcements.kernel.model.AnnouncementsDeliverySoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

getDeliveryId

@JSON
public long getDeliveryId()
Specified by:
getDeliveryId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setDeliveryId

public void setDeliveryId(long deliveryId)
Specified by:
setDeliveryId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel

getUserId

@JSON
public long getUserId()
Specified by:
getUserId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getUserUuid

public String getUserUuid()
Specified by:
getUserUuid in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getOriginalUserId

public long getOriginalUserId()

getType

@JSON
public String getType()
Specified by:
getType in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setType

public void setType(String type)
Specified by:
setType in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getOriginalType

public String getOriginalType()

getEmail

@JSON
public boolean getEmail()
Specified by:
getEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

isEmail

public boolean isEmail()
Specified by:
isEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setEmail

public void setEmail(boolean email)
Specified by:
setEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getSms

@JSON
public boolean getSms()
Specified by:
getSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

isSms

public boolean isSms()
Specified by:
isSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setSms

public void setSms(boolean sms)
Specified by:
setSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getWebsite

@JSON
public boolean getWebsite()
Specified by:
getWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

isWebsite

public boolean isWebsite()
Specified by:
isWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

setWebsite

public void setWebsite(boolean website)
Specified by:
setWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

toEscapedModel

public com.liferay.announcements.kernel.model.AnnouncementsDelivery toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

clone

public Object clone()
Specified by:
clone in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

compareTo

public int compareTo(com.liferay.announcements.kernel.model.AnnouncementsDelivery announcementsDelivery)
Specified by:
compareTo in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
compareTo in interface Comparable<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Overrides:
hashCode in class Object

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

toCacheModel

public com.liferay.portal.kernel.model.CacheModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

toString

public String toString()
Specified by:
toString in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Specified by:
toXmlString in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>

Liferay 7.0-ce-b7 portal-impl