|
Liferay 6.2-ce-ga5 | |||||||||
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
@ProviderType 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)
|
boolean |
equals(Object obj)
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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. |
AnnouncementsDelivery |
getWrappedAnnouncementsDelivery()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
AnnouncementsDelivery |
getWrappedModel()
|
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 |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AnnouncementsDelivery>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AnnouncementsDelivery>
public long getPrimaryKey()
getPrimaryKey
in interface AnnouncementsDeliveryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AnnouncementsDeliveryModel
primaryKey
- the primary key of this announcements deliverypublic long getDeliveryId()
getDeliveryId
in interface AnnouncementsDeliveryModel
public void setDeliveryId(long deliveryId)
setDeliveryId
in interface AnnouncementsDeliveryModel
deliveryId
- the delivery ID of this announcements deliverypublic long getCompanyId()
getCompanyId
in interface AnnouncementsDeliveryModel
public void setCompanyId(long companyId)
setCompanyId
in interface AnnouncementsDeliveryModel
companyId
- the company ID of this announcements deliverypublic long getUserId()
getUserId
in interface AnnouncementsDeliveryModel
public void setUserId(long userId)
setUserId
in interface AnnouncementsDeliveryModel
userId
- the user ID of this announcements deliverypublic String getUserUuid() throws SystemException
getUserUuid
in interface AnnouncementsDeliveryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AnnouncementsDeliveryModel
userUuid
- the user uuid of this announcements deliverypublic String getType()
getType
in interface AnnouncementsDeliveryModel
public void setType(String type)
setType
in interface AnnouncementsDeliveryModel
type
- the type of this announcements deliverypublic boolean getEmail()
getEmail
in interface AnnouncementsDeliveryModel
public boolean isEmail()
true
if this announcements delivery is email.
isEmail
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is email; false
otherwisepublic void setEmail(boolean email)
setEmail
in interface AnnouncementsDeliveryModel
email
- the email of this announcements deliverypublic boolean getSms()
getSms
in interface AnnouncementsDeliveryModel
public boolean isSms()
true
if this announcements delivery is sms.
isSms
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is sms; false
otherwisepublic void setSms(boolean sms)
setSms
in interface AnnouncementsDeliveryModel
sms
- the sms of this announcements deliverypublic boolean getWebsite()
getWebsite
in interface AnnouncementsDeliveryModel
public boolean isWebsite()
true
if this announcements delivery is website.
isWebsite
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is website; false
otherwisepublic void setWebsite(boolean website)
setWebsite
in interface AnnouncementsDeliveryModel
website
- the website of this announcements deliverypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<AnnouncementsDelivery>
isEscapedModel
in interface AnnouncementsDeliveryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AnnouncementsDeliveryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AnnouncementsDelivery>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AnnouncementsDeliveryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsDelivery>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AnnouncementsDeliveryModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
setExpandoBridgeAttributes
in interface AnnouncementsDeliveryModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
setExpandoBridgeAttributes
in interface AnnouncementsDeliveryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsDelivery>
setExpandoBridgeAttributes
in interface AnnouncementsDeliveryModel
serviceContext
- the service context to be appliedServiceContext.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 CacheModel<AnnouncementsDelivery> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AnnouncementsDelivery>
toCacheModel
in interface AnnouncementsDeliveryModel
public AnnouncementsDelivery toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AnnouncementsDelivery>
toEscapedModel
in interface AnnouncementsDeliveryModel
AutoEscapeBeanHandler
public AnnouncementsDelivery toUnescapedModel()
toUnescapedModel
in interface BaseModel<AnnouncementsDelivery>
toUnescapedModel
in interface AnnouncementsDeliveryModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public AnnouncementsDelivery getWrappedAnnouncementsDelivery()
getWrappedModel()
public AnnouncementsDelivery getWrappedModel()
getWrappedModel
in interface ModelWrapper<AnnouncementsDelivery>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AnnouncementsDelivery>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |