|
Liferay 6.0.5 | |||||||||
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
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 FormField 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 AnnouncementsDeliveryModel
public void setPrimaryKey(long pk)
AnnouncementsDeliveryModel
setPrimaryKey
in interface AnnouncementsDeliveryModel
pk
- the primary key of this announcements deliverypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
getPrimaryKeyObj
in interface AnnouncementsDeliveryModel
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 deliverypublic long getCompanyId()
AnnouncementsDeliveryModel
getCompanyId
in interface AnnouncementsDeliveryModel
public void setCompanyId(long companyId)
AnnouncementsDeliveryModel
setCompanyId
in interface AnnouncementsDeliveryModel
companyId
- the company id of this announcements deliverypublic 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()
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()
public boolean getEmail()
AnnouncementsDeliveryModel
getEmail
in interface AnnouncementsDeliveryModel
public boolean isEmail()
AnnouncementsDeliveryModel
isEmail
in interface AnnouncementsDeliveryModel
public void setEmail(boolean email)
AnnouncementsDeliveryModel
setEmail
in interface AnnouncementsDeliveryModel
email
- the email of this announcements deliverypublic boolean getSms()
AnnouncementsDeliveryModel
getSms
in interface AnnouncementsDeliveryModel
public boolean isSms()
AnnouncementsDeliveryModel
isSms
in interface AnnouncementsDeliveryModel
public void setSms(boolean sms)
AnnouncementsDeliveryModel
setSms
in interface AnnouncementsDeliveryModel
sms
- the sms of this announcements deliverypublic boolean getWebsite()
AnnouncementsDeliveryModel
getWebsite
in interface AnnouncementsDeliveryModel
public boolean isWebsite()
AnnouncementsDeliveryModel
isWebsite
in interface AnnouncementsDeliveryModel
public void setWebsite(boolean website)
AnnouncementsDeliveryModel
setWebsite
in interface AnnouncementsDeliveryModel
website
- the website of this announcements deliverypublic AnnouncementsDelivery toEscapedModel()
AnnouncementsDeliveryModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AnnouncementsDeliveryModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsDelivery>
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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 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.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |