Liferay 6.2-ce-ga5

com.liferay.portal.model
Class UserNotificationDeliveryWrapper

java.lang.Object
  extended by com.liferay.portal.model.UserNotificationDeliveryWrapper
All Implemented Interfaces:
BaseModel<UserNotificationDelivery>, ClassedModel, ModelWrapper<UserNotificationDelivery>, PersistedModel, TypedModel, UserNotificationDelivery, UserNotificationDeliveryModel, Serializable, Cloneable, Comparable<UserNotificationDelivery>

@ProviderType
public class UserNotificationDeliveryWrapper
extends Object
implements UserNotificationDelivery, ModelWrapper<UserNotificationDelivery>

This class is a wrapper for UserNotificationDelivery.

See Also:
UserNotificationDelivery, Serialized Form

Constructor 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

UserNotificationDeliveryWrapper

public UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<UserNotificationDelivery>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<UserNotificationDelivery>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this user notification delivery.

Specified by:
getPrimaryKey in interface UserNotificationDeliveryModel
Returns:
the primary key of this user notification delivery

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this user notification delivery.

Specified by:
setPrimaryKey in interface UserNotificationDeliveryModel
Parameters:
primaryKey - the primary key of this user notification delivery

getUserNotificationDeliveryId

public long getUserNotificationDeliveryId()
Returns the user notification delivery ID of this user notification delivery.

Specified by:
getUserNotificationDeliveryId in interface UserNotificationDeliveryModel
Returns:
the user notification delivery ID of this user notification delivery

setUserNotificationDeliveryId

public void setUserNotificationDeliveryId(long userNotificationDeliveryId)
Sets the user notification delivery ID of this user notification delivery.

Specified by:
setUserNotificationDeliveryId in interface UserNotificationDeliveryModel
Parameters:
userNotificationDeliveryId - the user notification delivery ID of this user notification delivery

getCompanyId

public long getCompanyId()
Returns the company ID of this user notification delivery.

Specified by:
getCompanyId in interface UserNotificationDeliveryModel
Returns:
the company ID of this user notification delivery

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this user notification delivery.

Specified by:
setCompanyId in interface UserNotificationDeliveryModel
Parameters:
companyId - the company ID of this user notification delivery

getUserId

public long getUserId()
Returns the user ID of this user notification delivery.

Specified by:
getUserId in interface UserNotificationDeliveryModel
Returns:
the user ID of this user notification delivery

setUserId

public void setUserId(long userId)
Sets the user ID of this user notification delivery.

Specified by:
setUserId in interface UserNotificationDeliveryModel
Parameters:
userId - the user ID of this user notification delivery

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this user notification delivery.

Specified by:
getUserUuid in interface UserNotificationDeliveryModel
Returns:
the user uuid of this user notification delivery
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this user notification delivery.

Specified by:
setUserUuid in interface UserNotificationDeliveryModel
Parameters:
userUuid - the user uuid of this user notification delivery

getPortletId

public String getPortletId()
Returns the portlet ID of this user notification delivery.

Specified by:
getPortletId in interface UserNotificationDeliveryModel
Returns:
the portlet ID of this user notification delivery

setPortletId

public void setPortletId(String portletId)
Sets the portlet ID of this user notification delivery.

Specified by:
setPortletId in interface UserNotificationDeliveryModel
Parameters:
portletId - the portlet ID of this user notification delivery

getClassName

public String getClassName()
Returns the fully qualified class name of this user notification delivery.

Specified by:
getClassName in interface TypedModel
Specified by:
getClassName in interface UserNotificationDeliveryModel
Returns:
the fully qualified class name of this user notification delivery

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface UserNotificationDeliveryModel

getClassNameId

public long getClassNameId()
Returns the class name ID of this user notification delivery.

Specified by:
getClassNameId in interface TypedModel
Specified by:
getClassNameId in interface UserNotificationDeliveryModel
Returns:
the class name ID of this user notification delivery

setClassNameId

public void setClassNameId(long classNameId)
Sets the class name ID of this user notification delivery.

Specified by:
setClassNameId in interface TypedModel
Specified by:
setClassNameId in interface UserNotificationDeliveryModel
Parameters:
classNameId - the class name ID of this user notification delivery

getNotificationType

public int getNotificationType()
Returns the notification type of this user notification delivery.

Specified by:
getNotificationType in interface UserNotificationDeliveryModel
Returns:
the notification type of this user notification delivery

setNotificationType

public void setNotificationType(int notificationType)
Sets the notification type of this user notification delivery.

Specified by:
setNotificationType in interface UserNotificationDeliveryModel
Parameters:
notificationType - the notification type of this user notification delivery

getDeliveryType

public int getDeliveryType()
Returns the delivery type of this user notification delivery.

Specified by:
getDeliveryType in interface UserNotificationDeliveryModel
Returns:
the delivery type of this user notification delivery

setDeliveryType

public void setDeliveryType(int deliveryType)
Sets the delivery type of this user notification delivery.

Specified by:
setDeliveryType in interface UserNotificationDeliveryModel
Parameters:
deliveryType - the delivery type of this user notification delivery

getDeliver

public boolean getDeliver()
Returns the deliver of this user notification delivery.

Specified by:
getDeliver in interface UserNotificationDeliveryModel
Returns:
the deliver of this user notification delivery

isDeliver

public boolean isDeliver()
Returns true if this user notification delivery is deliver.

Specified by:
isDeliver in interface UserNotificationDeliveryModel
Returns:
true if this user notification delivery is deliver; false otherwise

setDeliver

public void setDeliver(boolean deliver)
Sets whether this user notification delivery is deliver.

Specified by:
setDeliver in interface UserNotificationDeliveryModel
Parameters:
deliver - the deliver of this user notification delivery

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<UserNotificationDelivery>
Specified by:
isNew in interface UserNotificationDeliveryModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<UserNotificationDelivery>
Specified by:
setNew in interface UserNotificationDeliveryModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<UserNotificationDelivery>
Specified by:
isCachedModel in interface UserNotificationDeliveryModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<UserNotificationDelivery>
Specified by:
setCachedModel in interface UserNotificationDeliveryModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<UserNotificationDelivery>
Specified by:
isEscapedModel in interface UserNotificationDeliveryModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface UserNotificationDeliveryModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface UserNotificationDeliveryModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<UserNotificationDelivery>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface UserNotificationDeliveryModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserNotificationDelivery>
Specified by:
setExpandoBridgeAttributes in interface UserNotificationDeliveryModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserNotificationDelivery>
Specified by:
setExpandoBridgeAttributes in interface UserNotificationDeliveryModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserNotificationDelivery>
Specified by:
setExpandoBridgeAttributes in interface UserNotificationDeliveryModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<UserNotificationDelivery>
Specified by:
clone in interface UserNotificationDeliveryModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(UserNotificationDelivery userNotificationDelivery)
Specified by:
compareTo in interface UserNotificationDeliveryModel
Specified by:
compareTo in interface Comparable<UserNotificationDelivery>

hashCode

public int hashCode()
Specified by:
hashCode in interface UserNotificationDeliveryModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<UserNotificationDelivery> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<UserNotificationDelivery>
Specified by:
toCacheModel in interface UserNotificationDeliveryModel
Returns:
the cache model object

toEscapedModel

public UserNotificationDelivery toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<UserNotificationDelivery>
Specified by:
toEscapedModel in interface UserNotificationDeliveryModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public UserNotificationDelivery toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<UserNotificationDelivery>
Specified by:
toUnescapedModel in interface UserNotificationDeliveryModel

toString

public String toString()
Specified by:
toString in interface UserNotificationDeliveryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<UserNotificationDelivery>
Specified by:
toXmlString in interface UserNotificationDeliveryModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedUserNotificationDelivery

public UserNotificationDelivery getWrappedUserNotificationDelivery()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public UserNotificationDelivery getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<UserNotificationDelivery>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<UserNotificationDelivery>

Liferay 6.2-ce-ga5