@ProviderType public interface AnnouncementsDeliveryModel extends BaseModel<AnnouncementsDelivery>, ShardedModel
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.
AnnouncementsDelivery,
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl,
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AnnouncementsDelivery announcementsDelivery) |
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.
|
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 |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEmail()
Returns
true if this announcements delivery is email. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isSms()
Returns
true if this announcements delivery is sms. |
boolean |
isWebsite()
Returns
true 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 announcements delivery is email.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 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. |
String |
toString() |
AnnouncementsDelivery |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this announcements deliverylong getDeliveryId()
void setDeliveryId(long deliveryId)
deliveryId - the delivery ID of this announcements deliverylong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this announcements deliverylong getUserId()
void setUserId(long userId)
userId - the user ID of this announcements deliveryString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this announcements delivery@AutoEscape String getType()
void setType(String type)
type - the type of this announcements deliveryboolean getEmail()
boolean isEmail()
true if this announcements delivery is email.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.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.true if this announcements delivery is website; false otherwisevoid setWebsite(boolean website)
website - the website of this announcements deliveryboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<AnnouncementsDelivery>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<AnnouncementsDelivery>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<AnnouncementsDelivery>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<AnnouncementsDelivery>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<AnnouncementsDelivery>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AnnouncementsDelivery>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<AnnouncementsDelivery>int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo in interface Comparable<AnnouncementsDelivery>CacheModel<AnnouncementsDelivery> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AnnouncementsDelivery>AnnouncementsDelivery toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AnnouncementsDelivery>AutoEscapeBeanHandlerAnnouncementsDelivery toUnescapedModel()
toUnescapedModel in interface BaseModel<AnnouncementsDelivery>String toXmlString()
BaseModeltoXmlString in interface BaseModel<AnnouncementsDelivery>