@ProviderType public interface AnnouncementsDeliveryModel extends BaseModel<AnnouncementsDelivery>, ShardedModel
This interface and its corresponding implementation AnnouncementsDeliveryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AnnouncementsDeliveryImpl
.
AnnouncementsDelivery
,
AnnouncementsDeliveryImpl
,
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, setModelAttributes
getModelClass, getModelClassName
long 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 ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- 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()
BaseModel
true
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)
BaseModel
setNew
in interface BaseModel<AnnouncementsDelivery>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
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)
BaseModel
setCachedModel
in interface BaseModel<AnnouncementsDelivery>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<AnnouncementsDelivery>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsDelivery>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<AnnouncementsDelivery>
int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo
in interface Comparable<AnnouncementsDelivery>
int hashCode()
hashCode
in class Object
CacheModel<AnnouncementsDelivery> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AnnouncementsDelivery>
AnnouncementsDelivery toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<AnnouncementsDelivery>
AutoEscapeBeanHandler
AnnouncementsDelivery toUnescapedModel()
toUnescapedModel
in interface BaseModel<AnnouncementsDelivery>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AnnouncementsDelivery>