|
Liferay 6.0.4 | |||||||||
| 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
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.
Never modify or reference this class directly. All methods that expect a announcements delivery model instance should use the AnnouncementsDelivery interface instead.
AnnouncementsDeliveryImpl,
AnnouncementsDelivery,
AnnouncementsDeliveryModel,
Serialized Form| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
AnnouncementsDeliveryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsDelivery announcementsDelivery)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Gets the company id of this announcements delivery. |
long |
getDeliveryId()
Gets the delivery id of this announcements delivery. |
boolean |
getEmail()
Gets the email of this announcements delivery. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getOriginalType()
|
long |
getOriginalUserId()
|
long |
getPrimaryKey()
Gets the primary key of this announcements delivery. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getSms()
Gets the sms of this announcements delivery. |
String |
getType()
Gets the type of this announcements delivery. |
long |
getUserId()
Gets the user id of this announcements delivery. |
String |
getUserUuid()
Gets the user uuid of this announcements delivery. |
boolean |
getWebsite()
Gets the website of this announcements delivery. |
int |
hashCode()
|
boolean |
isEmail()
Determines whether this announcements delivery is email. |
boolean |
isSms()
Determines whether this announcements delivery is sms. |
boolean |
isWebsite()
Determines whether this announcements delivery is website. |
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 {$entity.humanName} is email. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setPrimaryKey(long pk)
Sets the primary key of this announcements delivery |
void |
setSms(boolean sms)
Sets whether this {$entity.humanName} 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 {$entity.humanName} is website. |
AnnouncementsDelivery |
toEscapedModel()
Gets a copy of this announcements delivery 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()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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 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 pk)
AnnouncementsDeliveryModel
setPrimaryKey in interface AnnouncementsDeliveryModelpk - the primary key of this announcements deliverypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>getPrimaryKeyObj in interface AnnouncementsDeliveryModelpublic long getDeliveryId()
AnnouncementsDeliveryModel
getDeliveryId in interface AnnouncementsDeliveryModelpublic void setDeliveryId(long deliveryId)
AnnouncementsDeliveryModel
setDeliveryId in interface AnnouncementsDeliveryModeldeliveryId - the delivery id of this announcements deliverypublic long getCompanyId()
AnnouncementsDeliveryModel
getCompanyId in interface AnnouncementsDeliveryModelpublic void setCompanyId(long companyId)
AnnouncementsDeliveryModel
setCompanyId in interface AnnouncementsDeliveryModelcompanyId - the company id of this announcements deliverypublic long getUserId()
AnnouncementsDeliveryModel
getUserId in interface AnnouncementsDeliveryModelpublic void setUserId(long userId)
AnnouncementsDeliveryModel
setUserId in interface AnnouncementsDeliveryModeluserId - the user id of this announcements delivery
public String getUserUuid()
throws SystemException
AnnouncementsDeliveryModel
getUserUuid in interface AnnouncementsDeliveryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AnnouncementsDeliveryModel
setUserUuid in interface AnnouncementsDeliveryModeluserUuid - the user uuid of this announcements deliverypublic long getOriginalUserId()
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()
public boolean getEmail()
AnnouncementsDeliveryModel
getEmail in interface AnnouncementsDeliveryModelpublic boolean isEmail()
AnnouncementsDeliveryModel
isEmail in interface AnnouncementsDeliveryModelpublic void setEmail(boolean email)
AnnouncementsDeliveryModel
setEmail in interface AnnouncementsDeliveryModelemail - the email of this announcements deliverypublic boolean getSms()
AnnouncementsDeliveryModel
getSms in interface AnnouncementsDeliveryModelpublic boolean isSms()
AnnouncementsDeliveryModel
isSms in interface AnnouncementsDeliveryModelpublic void setSms(boolean sms)
AnnouncementsDeliveryModel
setSms in interface AnnouncementsDeliveryModelsms - the sms of this announcements deliverypublic boolean getWebsite()
AnnouncementsDeliveryModel
getWebsite in interface AnnouncementsDeliveryModelpublic boolean isWebsite()
AnnouncementsDeliveryModel
isWebsite in interface AnnouncementsDeliveryModelpublic void setWebsite(boolean website)
AnnouncementsDeliveryModel
setWebsite in interface AnnouncementsDeliveryModelwebsite - the website of this announcements deliverypublic AnnouncementsDelivery toEscapedModel()
AnnouncementsDeliveryModelAutoEscapeBeanHandler.
toEscapedModel in interface AnnouncementsDeliveryModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AnnouncementsDelivery>getExpandoBridge 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 retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public 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 String toString()
toString in interface AnnouncementsDeliveryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AnnouncementsDelivery>toXmlString in interface AnnouncementsDeliveryModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||