|
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.portlet.announcements.model.AnnouncementsDeliveryWrapper
public class AnnouncementsDeliveryWrapper
This class is a wrapper for AnnouncementsDelivery
.
AnnouncementsDelivery
,
Serialized FormConstructor Summary | |
---|---|
AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery)
|
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. |
AnnouncementsDelivery |
getWrappedAnnouncementsDelivery()
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery)
Method Detail |
---|
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 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 String getType()
AnnouncementsDeliveryModel
getType
in interface AnnouncementsDeliveryModel
public void setType(String type)
AnnouncementsDeliveryModel
setType
in interface AnnouncementsDeliveryModel
type
- the type of this announcements deliverypublic 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 boolean isNew()
BaseModel
isNew
in interface BaseModel<AnnouncementsDelivery>
isNew
in interface AnnouncementsDeliveryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AnnouncementsDelivery>
setNew
in interface AnnouncementsDeliveryModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<AnnouncementsDelivery>
isCachedModel
in interface AnnouncementsDeliveryModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<AnnouncementsDelivery>
setCachedModel
in interface AnnouncementsDeliveryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<AnnouncementsDelivery>
isEscapedModel
in interface AnnouncementsDeliveryModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public 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>
setEscapedModel
in interface AnnouncementsDeliveryModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
getPrimaryKeyObj
in interface AnnouncementsDeliveryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsDelivery>
getExpandoBridge
in interface AnnouncementsDeliveryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
setExpandoBridgeAttributes
in interface AnnouncementsDeliveryModel
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 Object
public int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo
in interface AnnouncementsDeliveryModel
compareTo
in interface Comparable<AnnouncementsDelivery>
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
public AnnouncementsDelivery getWrappedAnnouncementsDelivery()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |