|
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<AnnouncementsDelivery>
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
@JSON(strict=true) @ProviderType public class AnnouncementsDeliveryModelImpl
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.
AnnouncementsDeliveryImpl,
AnnouncementsDelivery,
AnnouncementsDeliveryModel,
Serialized Form| 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()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsDelivery announcementsDelivery)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this announcements delivery. |
long |
getDeliveryId()
Returns the delivery ID of this announcements delivery. |
boolean |
getEmail()
Returns the email of this announcements delivery. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getOriginalType()
|
long |
getOriginalUserId()
|
long |
getPrimaryKey()
Returns the primary key of this announcements delivery. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getSms()
Returns the sms of this announcements delivery. |
String |
getType()
Returns the type of this announcements delivery. |
long |
getUserId()
Returns the user ID of this announcements delivery. |
String |
getUserUuid()
Returns the user uuid of this announcements delivery. |
boolean |
getWebsite()
Returns the website of this announcements delivery. |
int |
hashCode()
|
boolean |
isEmail()
Returns true if this announcements delivery is email. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isSms()
Returns true if this announcements delivery is sms. |
boolean |
isWebsite()
Returns true if this announcements delivery is website. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this announcements delivery. |
void |
setDeliveryId(long deliveryId)
Sets the delivery ID of this announcements delivery. |
void |
setEmail(boolean email)
Sets whether this announcements delivery is email. |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this announcements delivery. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSms(boolean sms)
Sets whether this announcements delivery is sms. |
void |
setType(String type)
Sets the type of this announcements delivery. |
void |
setUserId(long userId)
Sets the user ID of this announcements delivery. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this announcements delivery. |
void |
setWebsite(boolean website)
Sets whether this announcements delivery is website. |
CacheModel<AnnouncementsDelivery> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AnnouncementsDelivery |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static AnnouncementsDelivery |
toModel(AnnouncementsDeliverySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AnnouncementsDelivery> |
toModels(AnnouncementsDeliverySoap[] soapModels)
Converts the soap model instances into normal model instances. |
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.portlet.announcements.model.AnnouncementsDeliveryModel |
|---|
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 TYPE_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long DELIVERYID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AnnouncementsDeliveryModelImpl()
| Method Detail |
|---|
public static AnnouncementsDelivery toModel(AnnouncementsDeliverySoap soapModel)
soapModel - the soap model instance to convert
public static List<AnnouncementsDelivery> toModels(AnnouncementsDeliverySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
AnnouncementsDeliveryModel
getPrimaryKey in interface AnnouncementsDeliveryModelpublic void setPrimaryKey(long primaryKey)
AnnouncementsDeliveryModel
setPrimaryKey in interface AnnouncementsDeliveryModelprimaryKey - the primary key of this announcements deliverypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AnnouncementsDeliveryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AnnouncementsDeliveryModelprimaryKeyObj - 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<AnnouncementsDelivery>getModelAttributes in class BaseModelImpl<AnnouncementsDelivery>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsDelivery>setModelAttributes in class BaseModelImpl<AnnouncementsDelivery>@JSON public long getDeliveryId()
AnnouncementsDeliveryModel
getDeliveryId in interface AnnouncementsDeliveryModelpublic void setDeliveryId(long deliveryId)
AnnouncementsDeliveryModel
setDeliveryId in interface AnnouncementsDeliveryModeldeliveryId - the delivery ID of this announcements delivery@JSON public long getCompanyId()
AnnouncementsDeliveryModel
getCompanyId in interface ShardedModelgetCompanyId in interface AnnouncementsDeliveryModelpublic void setCompanyId(long companyId)
AnnouncementsDeliveryModel
setCompanyId in interface ShardedModelsetCompanyId in interface AnnouncementsDeliveryModelcompanyId - the company ID of this announcements delivery@JSON public long getUserId()
AnnouncementsDeliveryModel
getUserId in interface AnnouncementsDeliveryModelpublic void setUserId(long userId)
AnnouncementsDeliveryModel
setUserId in interface AnnouncementsDeliveryModeluserId - the user ID of this announcements deliverypublic String getUserUuid()
AnnouncementsDeliveryModel
getUserUuid in interface AnnouncementsDeliveryModelpublic void setUserUuid(String userUuid)
AnnouncementsDeliveryModel
setUserUuid in interface AnnouncementsDeliveryModeluserUuid - the user uuid of this announcements deliverypublic long getOriginalUserId()
@JSON public String getType()
AnnouncementsDeliveryModel
getType in interface AnnouncementsDeliveryModelpublic void setType(String type)
AnnouncementsDeliveryModel
setType in interface AnnouncementsDeliveryModeltype - the type of this announcements deliverypublic String getOriginalType()
@JSON public boolean getEmail()
AnnouncementsDeliveryModel
getEmail in interface AnnouncementsDeliveryModelpublic boolean isEmail()
AnnouncementsDeliveryModeltrue if this announcements delivery is email.
isEmail in interface AnnouncementsDeliveryModeltrue if this announcements delivery is email; false otherwisepublic void setEmail(boolean email)
AnnouncementsDeliveryModel
setEmail in interface AnnouncementsDeliveryModelemail - the email of this announcements delivery@JSON public boolean getSms()
AnnouncementsDeliveryModel
getSms in interface AnnouncementsDeliveryModelpublic boolean isSms()
AnnouncementsDeliveryModeltrue if this announcements delivery is sms.
isSms in interface AnnouncementsDeliveryModeltrue if this announcements delivery is sms; false otherwisepublic void setSms(boolean sms)
AnnouncementsDeliveryModel
setSms in interface AnnouncementsDeliveryModelsms - the sms of this announcements delivery@JSON public boolean getWebsite()
AnnouncementsDeliveryModel
getWebsite in interface AnnouncementsDeliveryModelpublic boolean isWebsite()
AnnouncementsDeliveryModeltrue if this announcements delivery is website.
isWebsite in interface AnnouncementsDeliveryModeltrue if this announcements delivery is website; false otherwisepublic void setWebsite(boolean website)
AnnouncementsDeliveryModel
setWebsite in interface AnnouncementsDeliveryModelwebsite - the website of this announcements deliverypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AnnouncementsDelivery>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AnnouncementsDeliveryModelgetExpandoBridge in class BaseModelImpl<AnnouncementsDelivery>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>setExpandoBridgeAttributes in interface AnnouncementsDeliveryModelsetExpandoBridgeAttributes in class BaseModelImpl<AnnouncementsDelivery>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public AnnouncementsDelivery toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AnnouncementsDelivery>toEscapedModel in interface AnnouncementsDeliveryModeltoEscapedModel in class BaseModelImpl<AnnouncementsDelivery>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<AnnouncementsDelivery>clone in interface AnnouncementsDeliveryModelclone in class BaseModelImpl<AnnouncementsDelivery>public int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo in interface AnnouncementsDeliveryModelcompareTo in interface Comparable<AnnouncementsDelivery>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AnnouncementsDeliveryModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<AnnouncementsDelivery>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<AnnouncementsDelivery>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<AnnouncementsDelivery>resetOriginalValues in class BaseModelImpl<AnnouncementsDelivery>public CacheModel<AnnouncementsDelivery> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AnnouncementsDelivery>toCacheModel in interface AnnouncementsDeliveryModeltoCacheModel in class BaseModelImpl<AnnouncementsDelivery>public String toString()
toString in interface AnnouncementsDeliveryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AnnouncementsDelivery>toXmlString in interface AnnouncementsDeliveryModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||