|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<AnnouncementsDelivery> com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
@JSON(strict=true) 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 FormField Summary | |
---|---|
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 |
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 |
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 |
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()
|
AnnouncementsDelivery |
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.portlet.announcements.model.AnnouncementsDeliveryModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
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 long TYPE_COLUMN_BITMASK
public static long USERID_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 AnnouncementsDeliveryModel
public void setPrimaryKey(long primaryKey)
AnnouncementsDeliveryModel
setPrimaryKey
in interface AnnouncementsDeliveryModel
primaryKey
- the primary key of this announcements deliverypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AnnouncementsDeliveryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AnnouncementsDeliveryModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 AnnouncementsDeliveryModel
public void setDeliveryId(long deliveryId)
AnnouncementsDeliveryModel
setDeliveryId
in interface AnnouncementsDeliveryModel
deliveryId
- the delivery ID of this announcements delivery@JSON public long getCompanyId()
AnnouncementsDeliveryModel
getCompanyId
in interface AnnouncementsDeliveryModel
public void setCompanyId(long companyId)
AnnouncementsDeliveryModel
setCompanyId
in interface AnnouncementsDeliveryModel
companyId
- the company ID of this announcements delivery@JSON public long getUserId()
AnnouncementsDeliveryModel
getUserId
in interface AnnouncementsDeliveryModel
public void setUserId(long userId)
AnnouncementsDeliveryModel
setUserId
in interface AnnouncementsDeliveryModel
userId
- the user ID of this announcements deliverypublic String getUserUuid() throws SystemException
AnnouncementsDeliveryModel
getUserUuid
in interface AnnouncementsDeliveryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AnnouncementsDeliveryModel
setUserUuid
in interface AnnouncementsDeliveryModel
userUuid
- the user uuid of this announcements deliverypublic long getOriginalUserId()
@JSON public String getType()
AnnouncementsDeliveryModel
getType
in interface AnnouncementsDeliveryModel
public void setType(String type)
AnnouncementsDeliveryModel
setType
in interface AnnouncementsDeliveryModel
type
- the type of this announcements deliverypublic String getOriginalType()
@JSON public boolean getEmail()
AnnouncementsDeliveryModel
getEmail
in interface AnnouncementsDeliveryModel
public boolean isEmail()
AnnouncementsDeliveryModel
true
if this announcements delivery is email.
isEmail
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is email; false
otherwisepublic void setEmail(boolean email)
AnnouncementsDeliveryModel
setEmail
in interface AnnouncementsDeliveryModel
email
- the email of this announcements delivery@JSON public boolean getSms()
AnnouncementsDeliveryModel
getSms
in interface AnnouncementsDeliveryModel
public boolean isSms()
AnnouncementsDeliveryModel
true
if this announcements delivery is sms.
isSms
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is sms; false
otherwisepublic void setSms(boolean sms)
AnnouncementsDeliveryModel
setSms
in interface AnnouncementsDeliveryModel
sms
- the sms of this announcements delivery@JSON public boolean getWebsite()
AnnouncementsDeliveryModel
getWebsite
in interface AnnouncementsDeliveryModel
public boolean isWebsite()
AnnouncementsDeliveryModel
true
if this announcements delivery is website.
isWebsite
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is website; false
otherwisepublic void setWebsite(boolean website)
AnnouncementsDeliveryModel
setWebsite
in interface AnnouncementsDeliveryModel
website
- the website of this announcements deliverypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsDelivery>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AnnouncementsDeliveryModel
getExpandoBridge
in class BaseModelImpl<AnnouncementsDelivery>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
setExpandoBridgeAttributes
in interface AnnouncementsDeliveryModel
setExpandoBridgeAttributes
in class BaseModelImpl<AnnouncementsDelivery>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public AnnouncementsDelivery toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AnnouncementsDelivery>
toEscapedModel
in interface AnnouncementsDeliveryModel
toEscapedModel
in class BaseModelImpl<AnnouncementsDelivery>
AutoEscapeBeanHandler
public AnnouncementsDelivery toUnescapedModel()
toUnescapedModel
in interface BaseModel<AnnouncementsDelivery>
toUnescapedModel
in interface AnnouncementsDeliveryModel
toUnescapedModel
in class BaseModelImpl<AnnouncementsDelivery>
public Object clone()
BaseModel
clone
in interface BaseModel<AnnouncementsDelivery>
clone
in interface AnnouncementsDeliveryModel
clone
in class BaseModelImpl<AnnouncementsDelivery>
public int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo
in interface AnnouncementsDeliveryModel
compareTo
in interface Comparable<AnnouncementsDelivery>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AnnouncementsDeliveryModel
hashCode
in class Object
public 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 AnnouncementsDeliveryModel
toCacheModel
in class BaseModelImpl<AnnouncementsDelivery>
public String toString()
toString
in interface AnnouncementsDeliveryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AnnouncementsDelivery>
toXmlString
in interface AnnouncementsDeliveryModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |