|
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.portal.model.UserNotificationDeliveryWrapper
@ProviderType public class UserNotificationDeliveryWrapper
This class is a wrapper for UserNotificationDelivery
.
UserNotificationDelivery
,
Serialized FormConstructor Summary | |
---|---|
UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserNotificationDelivery userNotificationDelivery)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this user notification delivery. |
long |
getClassNameId()
Returns the class name ID of this user notification delivery. |
long |
getCompanyId()
Returns the company ID of this user notification delivery. |
boolean |
getDeliver()
Returns the deliver of this user notification delivery. |
int |
getDeliveryType()
Returns the delivery type of this user notification delivery. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
int |
getNotificationType()
Returns the notification type of this user notification delivery. |
String |
getPortletId()
Returns the portlet ID of this user notification delivery. |
long |
getPrimaryKey()
Returns the primary key of this user notification delivery. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this user notification delivery. |
long |
getUserNotificationDeliveryId()
Returns the user notification delivery ID of this user notification delivery. |
String |
getUserUuid()
Returns the user uuid of this user notification delivery. |
UserNotificationDelivery |
getWrappedModel()
|
UserNotificationDelivery |
getWrappedUserNotificationDelivery()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDeliver()
Returns true if this user notification delivery is deliver. |
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. |
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 |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this user notification delivery. |
void |
setCompanyId(long companyId)
Sets the company ID of this user notification delivery. |
void |
setDeliver(boolean deliver)
Sets whether this user notification delivery is deliver. |
void |
setDeliveryType(int deliveryType)
Sets the delivery type of this user notification delivery. |
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 |
setNotificationType(int notificationType)
Sets the notification type of this user notification delivery. |
void |
setPortletId(String portletId)
Sets the portlet ID of this user notification delivery. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user notification delivery. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this user notification delivery. |
void |
setUserNotificationDeliveryId(long userNotificationDeliveryId)
Sets the user notification delivery ID of this user notification delivery. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this user notification delivery. |
CacheModel<UserNotificationDelivery> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
UserNotificationDelivery |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
UserNotificationDelivery |
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 UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery)
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<UserNotificationDelivery>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserNotificationDelivery>
public long getPrimaryKey()
getPrimaryKey
in interface UserNotificationDeliveryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserNotificationDeliveryModel
primaryKey
- the primary key of this user notification deliverypublic long getUserNotificationDeliveryId()
getUserNotificationDeliveryId
in interface UserNotificationDeliveryModel
public void setUserNotificationDeliveryId(long userNotificationDeliveryId)
setUserNotificationDeliveryId
in interface UserNotificationDeliveryModel
userNotificationDeliveryId
- the user notification delivery ID of this user notification deliverypublic long getCompanyId()
getCompanyId
in interface UserNotificationDeliveryModel
public void setCompanyId(long companyId)
setCompanyId
in interface UserNotificationDeliveryModel
companyId
- the company ID of this user notification deliverypublic long getUserId()
getUserId
in interface UserNotificationDeliveryModel
public void setUserId(long userId)
setUserId
in interface UserNotificationDeliveryModel
userId
- the user ID of this user notification deliverypublic String getUserUuid() throws SystemException
getUserUuid
in interface UserNotificationDeliveryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserNotificationDeliveryModel
userUuid
- the user uuid of this user notification deliverypublic String getPortletId()
getPortletId
in interface UserNotificationDeliveryModel
public void setPortletId(String portletId)
setPortletId
in interface UserNotificationDeliveryModel
portletId
- the portlet ID of this user notification deliverypublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface UserNotificationDeliveryModel
public void setClassName(String className)
setClassName
in interface UserNotificationDeliveryModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface UserNotificationDeliveryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface UserNotificationDeliveryModel
classNameId
- the class name ID of this user notification deliverypublic int getNotificationType()
getNotificationType
in interface UserNotificationDeliveryModel
public void setNotificationType(int notificationType)
setNotificationType
in interface UserNotificationDeliveryModel
notificationType
- the notification type of this user notification deliverypublic int getDeliveryType()
getDeliveryType
in interface UserNotificationDeliveryModel
public void setDeliveryType(int deliveryType)
setDeliveryType
in interface UserNotificationDeliveryModel
deliveryType
- the delivery type of this user notification deliverypublic boolean getDeliver()
getDeliver
in interface UserNotificationDeliveryModel
public boolean isDeliver()
true
if this user notification delivery is deliver.
isDeliver
in interface UserNotificationDeliveryModel
true
if this user notification delivery is deliver; false
otherwisepublic void setDeliver(boolean deliver)
setDeliver
in interface UserNotificationDeliveryModel
deliver
- the deliver of this user notification deliverypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<UserNotificationDelivery>
isNew
in interface UserNotificationDeliveryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserNotificationDelivery>
setNew
in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
isCachedModel
in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
setCachedModel
in interface UserNotificationDeliveryModel
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<UserNotificationDelivery>
isEscapedModel
in interface UserNotificationDeliveryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserNotificationDelivery>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserNotificationDeliveryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserNotificationDelivery>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserNotificationDeliveryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserNotificationDelivery>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserNotificationDeliveryModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationDelivery>
setExpandoBridgeAttributes
in interface UserNotificationDeliveryModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationDelivery>
setExpandoBridgeAttributes
in interface UserNotificationDeliveryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationDelivery>
setExpandoBridgeAttributes
in interface UserNotificationDeliveryModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<UserNotificationDelivery>
clone
in interface UserNotificationDeliveryModel
clone
in class Object
public int compareTo(UserNotificationDelivery userNotificationDelivery)
compareTo
in interface UserNotificationDeliveryModel
compareTo
in interface Comparable<UserNotificationDelivery>
public int hashCode()
hashCode
in interface UserNotificationDeliveryModel
hashCode
in class Object
public CacheModel<UserNotificationDelivery> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserNotificationDelivery>
toCacheModel
in interface UserNotificationDeliveryModel
public UserNotificationDelivery toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserNotificationDelivery>
toEscapedModel
in interface UserNotificationDeliveryModel
AutoEscapeBeanHandler
public UserNotificationDelivery toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserNotificationDelivery>
toUnescapedModel
in interface UserNotificationDeliveryModel
public String toString()
toString
in interface UserNotificationDeliveryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserNotificationDelivery>
toXmlString
in interface UserNotificationDeliveryModel
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 UserNotificationDelivery getWrappedUserNotificationDelivery()
getWrappedModel()
public UserNotificationDelivery getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserNotificationDelivery>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserNotificationDelivery>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |