|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnnouncementsDeliveryModel
The base model interface for the AnnouncementsDelivery service. Represents a row in the "AnnouncementsDelivery" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl.
Never modify or reference this interface directly. All methods that expect a announcements delivery model instance should use the AnnouncementsDelivery interface instead.
AnnouncementsDelivery,
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl,
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsDelivery announcementsDelivery)
|
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. |
long |
getPrimaryKey()
Gets the primary key of this announcements delivery. |
java.io.Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getSms()
Gets the sms of this announcements delivery. |
java.lang.String |
getType()
Gets the type of this announcements delivery. |
long |
getUserId()
Gets the user id of this announcements delivery. |
java.lang.String |
getUserUuid()
Gets the user uuid of this announcements delivery. |
boolean |
getWebsite()
Gets the website of this announcements delivery. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEmail()
Determines if this announcements delivery is email. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isSms()
Determines if this announcements delivery is sms. |
boolean |
isWebsite()
Determines if this announcements delivery is website. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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(java.lang.String type)
Sets the type of this announcements delivery. |
void |
setUserId(long userId)
Sets the user id of this announcements delivery. |
void |
setUserUuid(java.lang.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. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this announcements deliverylong getDeliveryId()
void setDeliveryId(long deliveryId)
deliveryId - the delivery id of this announcements deliverylong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this announcements deliverylong getUserId()
void setUserId(long userId)
userId - the user id of this announcements delivery
java.lang.String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(java.lang.String userUuid)
userUuid - the user uuid of this announcements delivery@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this announcements deliveryboolean getEmail()
boolean isEmail()
true if this announcements delivery is email; false otherwisevoid setEmail(boolean email)
email - the email of this announcements deliveryboolean getSms()
boolean isSms()
true if this announcements delivery is sms; false otherwisevoid setSms(boolean sms)
sms - the sms of this announcements deliveryboolean getWebsite()
boolean isWebsite()
true if this announcements delivery is website; false otherwisevoid setWebsite(boolean website)
website - the website of this announcements deliveryAnnouncementsDelivery toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<AnnouncementsDelivery>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<AnnouncementsDelivery>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<AnnouncementsDelivery>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AnnouncementsDelivery>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<AnnouncementsDelivery>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<AnnouncementsDelivery>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerjava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AnnouncementsDelivery>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<AnnouncementsDelivery>int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo in interface java.lang.Comparable<AnnouncementsDelivery>int hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<AnnouncementsDelivery>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||