|
Liferay 6.0.5 | |||||||||
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 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
.
Never modify or reference this interface directly. All methods that expect a announcements delivery model instance should use the AnnouncementsDelivery
interface instead.
AnnouncementsDelivery
,
AnnouncementsDeliveryImpl
,
AnnouncementsDeliveryModelImpl
Method Summary | |
---|---|
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. |
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 |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEmail()
Determines whether 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 whether this announcements delivery is sms. |
boolean |
isWebsite()
Determines whether 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(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 . |
String |
toString()
|
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 deliveryString getUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid 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()
void setEmail(boolean email)
email
- the email of this announcements deliveryboolean getSms()
boolean isSms()
void setSms(boolean sms)
sms
- the sms of this announcements deliveryboolean getWebsite()
boolean isWebsite()
void setWebsite(boolean website)
website
- the website of this announcements deliveryAnnouncementsDelivery toEscapedModel()
AutoEscapeBeanHandler
.
AutoEscapeBeanHandler
boolean 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 cacheEntityCache
boolean 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 escapedAutoEscapeBeanHandler
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(
)
Object clone()
BaseModel
clone
in interface BaseModel<AnnouncementsDelivery>
int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo
in interface Comparable<AnnouncementsDelivery>
int hashCode()
hashCode
in class Object
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AnnouncementsDelivery>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |