Liferay 6.1.2-ce-ga3

com.liferay.portlet.messageboards.model
Class MBMailingListWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.model.MBMailingListWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<MBMailingList>, ClassedModel, GroupedModel, ModelWrapper<MBMailingList>, PersistedModel, MBMailingList, MBMailingListModel, Serializable, Cloneable, Comparable<MBMailingList>

public class MBMailingListWrapper
extends Object
implements MBMailingList, ModelWrapper<MBMailingList>

This class is a wrapper for MBMailingList.

See Also:
MBMailingList, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
MBMailingListWrapper(MBMailingList mbMailingList)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(MBMailingList mbMailingList)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this message boards mailing list.
 boolean getAllowAnonymous()
          Returns the allow anonymous of this message boards mailing list.
 long getCategoryId()
          Returns the category ID of this message boards mailing list.
 long getCompanyId()
          Returns the company ID of this message boards mailing list.
 Date getCreateDate()
          Returns the create date of this message boards mailing list.
 String getEmailAddress()
          Returns the email address of this message boards mailing list.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this message boards mailing list.
 String getInPassword()
          Returns the in password of this message boards mailing list.
 String getInProtocol()
          Returns the in protocol of this message boards mailing list.
 int getInReadInterval()
          Returns the in read interval of this message boards mailing list.
 String getInServerName()
          Returns the in server name of this message boards mailing list.
 int getInServerPort()
          Returns the in server port of this message boards mailing list.
 String getInUserName()
          Returns the in user name of this message boards mailing list.
 boolean getInUseSSL()
          Returns the in use s s l of this message boards mailing list.
 long getMailingListId()
          Returns the mailing list ID of this message boards mailing list.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this message boards mailing list.
 boolean getOutCustom()
          Returns the out custom of this message boards mailing list.
 String getOutEmailAddress()
          Returns the out email address of this message boards mailing list.
 String getOutPassword()
          Returns the out password of this message boards mailing list.
 String getOutServerName()
          Returns the out server name of this message boards mailing list.
 int getOutServerPort()
          Returns the out server port of this message boards mailing list.
 String getOutUserName()
          Returns the out user name of this message boards mailing list.
 boolean getOutUseSSL()
          Returns the out use s s l of this message boards mailing list.
 long getPrimaryKey()
          Returns the primary key of this message boards mailing list.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this message boards mailing list.
 String getUserName()
          Returns the user name of this message boards mailing list.
 String getUserUuid()
          Returns the user uuid of this message boards mailing list.
 String getUuid()
          Returns the uuid of this message boards mailing list.
 MBMailingList getWrappedMBMailingList()
          Deprecated. Renamed to getWrappedModel()
 MBMailingList getWrappedModel()
           
 int hashCode()
           
 boolean isActive()
          Returns true if this message boards mailing list is active.
 boolean isAllowAnonymous()
          Returns true if this message boards mailing list is allow anonymous.
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isInUseSSL()
          Returns true if this message boards mailing list is in use s s l.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isOutCustom()
          Returns true if this message boards mailing list is out custom.
 boolean isOutUseSSL()
          Returns true if this message boards mailing list is out use s s l.
 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 setActive(boolean active)
          Sets whether this message boards mailing list is active.
 void setAllowAnonymous(boolean allowAnonymous)
          Sets whether this message boards mailing list is allow anonymous.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCategoryId(long categoryId)
          Sets the category ID of this message boards mailing list.
 void setCompanyId(long companyId)
          Sets the company ID of this message boards mailing list.
 void setCreateDate(Date createDate)
          Sets the create date of this message boards mailing list.
 void setEmailAddress(String emailAddress)
          Sets the email address of this message boards mailing list.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this message boards mailing list.
 void setInPassword(String inPassword)
          Sets the in password of this message boards mailing list.
 void setInProtocol(String inProtocol)
          Sets the in protocol of this message boards mailing list.
 void setInReadInterval(int inReadInterval)
          Sets the in read interval of this message boards mailing list.
 void setInServerName(String inServerName)
          Sets the in server name of this message boards mailing list.
 void setInServerPort(int inServerPort)
          Sets the in server port of this message boards mailing list.
 void setInUserName(String inUserName)
          Sets the in user name of this message boards mailing list.
 void setInUseSSL(boolean inUseSSL)
          Sets whether this message boards mailing list is in use s s l.
 void setMailingListId(long mailingListId)
          Sets the mailing list ID of this message boards mailing list.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this message boards mailing list.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setOutCustom(boolean outCustom)
          Sets whether this message boards mailing list is out custom.
 void setOutEmailAddress(String outEmailAddress)
          Sets the out email address of this message boards mailing list.
 void setOutPassword(String outPassword)
          Sets the out password of this message boards mailing list.
 void setOutServerName(String outServerName)
          Sets the out server name of this message boards mailing list.
 void setOutServerPort(int outServerPort)
          Sets the out server port of this message boards mailing list.
 void setOutUserName(String outUserName)
          Sets the out user name of this message boards mailing list.
 void setOutUseSSL(boolean outUseSSL)
          Sets whether this message boards mailing list is out use s s l.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this message boards mailing list.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this message boards mailing list.
 void setUserName(String userName)
          Sets the user name of this message boards mailing list.
 void setUserUuid(String userUuid)
          Sets the user uuid of this message boards mailing list.
 void setUuid(String uuid)
          Sets the uuid of this message boards mailing list.
 CacheModel<MBMailingList> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 MBMailingList toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 MBMailingList 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

MBMailingListWrapper

public MBMailingListWrapper(MBMailingList mbMailingList)
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<MBMailingList>

setModelAttributes

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

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this message boards mailing list.

Specified by:
getPrimaryKey in interface MBMailingListModel
Returns:
the primary key of this message boards mailing list

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this message boards mailing list.

Specified by:
setPrimaryKey in interface MBMailingListModel
Parameters:
primaryKey - the primary key of this message boards mailing list

getUuid

public String getUuid()
Returns the uuid of this message boards mailing list.

Specified by:
getUuid in interface MBMailingListModel
Returns:
the uuid of this message boards mailing list

setUuid

public void setUuid(String uuid)
Sets the uuid of this message boards mailing list.

Specified by:
setUuid in interface MBMailingListModel
Parameters:
uuid - the uuid of this message boards mailing list

getMailingListId

public long getMailingListId()
Returns the mailing list ID of this message boards mailing list.

Specified by:
getMailingListId in interface MBMailingListModel
Returns:
the mailing list ID of this message boards mailing list

setMailingListId

public void setMailingListId(long mailingListId)
Sets the mailing list ID of this message boards mailing list.

Specified by:
setMailingListId in interface MBMailingListModel
Parameters:
mailingListId - the mailing list ID of this message boards mailing list

getGroupId

public long getGroupId()
Returns the group ID of this message boards mailing list.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface MBMailingListModel
Returns:
the group ID of this message boards mailing list

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this message boards mailing list.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface MBMailingListModel
Parameters:
groupId - the group ID of this message boards mailing list

getCompanyId

public long getCompanyId()
Returns the company ID of this message boards mailing list.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface MBMailingListModel
Returns:
the company ID of this message boards mailing list

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this message boards mailing list.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface MBMailingListModel
Parameters:
companyId - the company ID of this message boards mailing list

getUserId

public long getUserId()
Returns the user ID of this message boards mailing list.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface MBMailingListModel
Returns:
the user ID of this message boards mailing list

setUserId

public void setUserId(long userId)
Sets the user ID of this message boards mailing list.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface MBMailingListModel
Parameters:
userId - the user ID of this message boards mailing list

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this message boards mailing list.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface MBMailingListModel
Returns:
the user uuid of this message boards mailing list
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this message boards mailing list.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface MBMailingListModel
Parameters:
userUuid - the user uuid of this message boards mailing list

getUserName

public String getUserName()
Returns the user name of this message boards mailing list.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface MBMailingListModel
Returns:
the user name of this message boards mailing list

setUserName

public void setUserName(String userName)
Sets the user name of this message boards mailing list.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface MBMailingListModel
Parameters:
userName - the user name of this message boards mailing list

getCreateDate

public Date getCreateDate()
Returns the create date of this message boards mailing list.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface MBMailingListModel
Returns:
the create date of this message boards mailing list

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this message boards mailing list.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface MBMailingListModel
Parameters:
createDate - the create date of this message boards mailing list

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this message boards mailing list.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface MBMailingListModel
Returns:
the modified date of this message boards mailing list

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this message boards mailing list.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface MBMailingListModel
Parameters:
modifiedDate - the modified date of this message boards mailing list

getCategoryId

public long getCategoryId()
Returns the category ID of this message boards mailing list.

Specified by:
getCategoryId in interface MBMailingListModel
Returns:
the category ID of this message boards mailing list

setCategoryId

public void setCategoryId(long categoryId)
Sets the category ID of this message boards mailing list.

Specified by:
setCategoryId in interface MBMailingListModel
Parameters:
categoryId - the category ID of this message boards mailing list

getEmailAddress

public String getEmailAddress()
Returns the email address of this message boards mailing list.

Specified by:
getEmailAddress in interface MBMailingListModel
Returns:
the email address of this message boards mailing list

setEmailAddress

public void setEmailAddress(String emailAddress)
Sets the email address of this message boards mailing list.

Specified by:
setEmailAddress in interface MBMailingListModel
Parameters:
emailAddress - the email address of this message boards mailing list

getInProtocol

public String getInProtocol()
Returns the in protocol of this message boards mailing list.

Specified by:
getInProtocol in interface MBMailingListModel
Returns:
the in protocol of this message boards mailing list

setInProtocol

public void setInProtocol(String inProtocol)
Sets the in protocol of this message boards mailing list.

Specified by:
setInProtocol in interface MBMailingListModel
Parameters:
inProtocol - the in protocol of this message boards mailing list

getInServerName

public String getInServerName()
Returns the in server name of this message boards mailing list.

Specified by:
getInServerName in interface MBMailingListModel
Returns:
the in server name of this message boards mailing list

setInServerName

public void setInServerName(String inServerName)
Sets the in server name of this message boards mailing list.

Specified by:
setInServerName in interface MBMailingListModel
Parameters:
inServerName - the in server name of this message boards mailing list

getInServerPort

public int getInServerPort()
Returns the in server port of this message boards mailing list.

Specified by:
getInServerPort in interface MBMailingListModel
Returns:
the in server port of this message boards mailing list

setInServerPort

public void setInServerPort(int inServerPort)
Sets the in server port of this message boards mailing list.

Specified by:
setInServerPort in interface MBMailingListModel
Parameters:
inServerPort - the in server port of this message boards mailing list

getInUseSSL

public boolean getInUseSSL()
Returns the in use s s l of this message boards mailing list.

Specified by:
getInUseSSL in interface MBMailingListModel
Returns:
the in use s s l of this message boards mailing list

isInUseSSL

public boolean isInUseSSL()
Returns true if this message boards mailing list is in use s s l.

Specified by:
isInUseSSL in interface MBMailingListModel
Returns:
true if this message boards mailing list is in use s s l; false otherwise

setInUseSSL

public void setInUseSSL(boolean inUseSSL)
Sets whether this message boards mailing list is in use s s l.

Specified by:
setInUseSSL in interface MBMailingListModel
Parameters:
inUseSSL - the in use s s l of this message boards mailing list

getInUserName

public String getInUserName()
Returns the in user name of this message boards mailing list.

Specified by:
getInUserName in interface MBMailingListModel
Returns:
the in user name of this message boards mailing list

setInUserName

public void setInUserName(String inUserName)
Sets the in user name of this message boards mailing list.

Specified by:
setInUserName in interface MBMailingListModel
Parameters:
inUserName - the in user name of this message boards mailing list

getInPassword

public String getInPassword()
Returns the in password of this message boards mailing list.

Specified by:
getInPassword in interface MBMailingListModel
Returns:
the in password of this message boards mailing list

setInPassword

public void setInPassword(String inPassword)
Sets the in password of this message boards mailing list.

Specified by:
setInPassword in interface MBMailingListModel
Parameters:
inPassword - the in password of this message boards mailing list

getInReadInterval

public int getInReadInterval()
Returns the in read interval of this message boards mailing list.

Specified by:
getInReadInterval in interface MBMailingListModel
Returns:
the in read interval of this message boards mailing list

setInReadInterval

public void setInReadInterval(int inReadInterval)
Sets the in read interval of this message boards mailing list.

Specified by:
setInReadInterval in interface MBMailingListModel
Parameters:
inReadInterval - the in read interval of this message boards mailing list

getOutEmailAddress

public String getOutEmailAddress()
Returns the out email address of this message boards mailing list.

Specified by:
getOutEmailAddress in interface MBMailingListModel
Returns:
the out email address of this message boards mailing list

setOutEmailAddress

public void setOutEmailAddress(String outEmailAddress)
Sets the out email address of this message boards mailing list.

Specified by:
setOutEmailAddress in interface MBMailingListModel
Parameters:
outEmailAddress - the out email address of this message boards mailing list

getOutCustom

public boolean getOutCustom()
Returns the out custom of this message boards mailing list.

Specified by:
getOutCustom in interface MBMailingListModel
Returns:
the out custom of this message boards mailing list

isOutCustom

public boolean isOutCustom()
Returns true if this message boards mailing list is out custom.

Specified by:
isOutCustom in interface MBMailingListModel
Returns:
true if this message boards mailing list is out custom; false otherwise

setOutCustom

public void setOutCustom(boolean outCustom)
Sets whether this message boards mailing list is out custom.

Specified by:
setOutCustom in interface MBMailingListModel
Parameters:
outCustom - the out custom of this message boards mailing list

getOutServerName

public String getOutServerName()
Returns the out server name of this message boards mailing list.

Specified by:
getOutServerName in interface MBMailingListModel
Returns:
the out server name of this message boards mailing list

setOutServerName

public void setOutServerName(String outServerName)
Sets the out server name of this message boards mailing list.

Specified by:
setOutServerName in interface MBMailingListModel
Parameters:
outServerName - the out server name of this message boards mailing list

getOutServerPort

public int getOutServerPort()
Returns the out server port of this message boards mailing list.

Specified by:
getOutServerPort in interface MBMailingListModel
Returns:
the out server port of this message boards mailing list

setOutServerPort

public void setOutServerPort(int outServerPort)
Sets the out server port of this message boards mailing list.

Specified by:
setOutServerPort in interface MBMailingListModel
Parameters:
outServerPort - the out server port of this message boards mailing list

getOutUseSSL

public boolean getOutUseSSL()
Returns the out use s s l of this message boards mailing list.

Specified by:
getOutUseSSL in interface MBMailingListModel
Returns:
the out use s s l of this message boards mailing list

isOutUseSSL

public boolean isOutUseSSL()
Returns true if this message boards mailing list is out use s s l.

Specified by:
isOutUseSSL in interface MBMailingListModel
Returns:
true if this message boards mailing list is out use s s l; false otherwise

setOutUseSSL

public void setOutUseSSL(boolean outUseSSL)
Sets whether this message boards mailing list is out use s s l.

Specified by:
setOutUseSSL in interface MBMailingListModel
Parameters:
outUseSSL - the out use s s l of this message boards mailing list

getOutUserName

public String getOutUserName()
Returns the out user name of this message boards mailing list.

Specified by:
getOutUserName in interface MBMailingListModel
Returns:
the out user name of this message boards mailing list

setOutUserName

public void setOutUserName(String outUserName)
Sets the out user name of this message boards mailing list.

Specified by:
setOutUserName in interface MBMailingListModel
Parameters:
outUserName - the out user name of this message boards mailing list

getOutPassword

public String getOutPassword()
Returns the out password of this message boards mailing list.

Specified by:
getOutPassword in interface MBMailingListModel
Returns:
the out password of this message boards mailing list

setOutPassword

public void setOutPassword(String outPassword)
Sets the out password of this message boards mailing list.

Specified by:
setOutPassword in interface MBMailingListModel
Parameters:
outPassword - the out password of this message boards mailing list

getAllowAnonymous

public boolean getAllowAnonymous()
Returns the allow anonymous of this message boards mailing list.

Specified by:
getAllowAnonymous in interface MBMailingListModel
Returns:
the allow anonymous of this message boards mailing list

isAllowAnonymous

public boolean isAllowAnonymous()
Returns true if this message boards mailing list is allow anonymous.

Specified by:
isAllowAnonymous in interface MBMailingListModel
Returns:
true if this message boards mailing list is allow anonymous; false otherwise

setAllowAnonymous

public void setAllowAnonymous(boolean allowAnonymous)
Sets whether this message boards mailing list is allow anonymous.

Specified by:
setAllowAnonymous in interface MBMailingListModel
Parameters:
allowAnonymous - the allow anonymous of this message boards mailing list

getActive

public boolean getActive()
Returns the active of this message boards mailing list.

Specified by:
getActive in interface MBMailingListModel
Returns:
the active of this message boards mailing list

isActive

public boolean isActive()
Returns true if this message boards mailing list is active.

Specified by:
isActive in interface MBMailingListModel
Returns:
true if this message boards mailing list is active; false otherwise

setActive

public void setActive(boolean active)
Sets whether this message boards mailing list is active.

Specified by:
setActive in interface MBMailingListModel
Parameters:
active - the active of this message boards mailing list

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<MBMailingList>
Specified by:
isNew in interface MBMailingListModel
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<MBMailingList>
Specified by:
setNew in interface MBMailingListModel
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<MBMailingList>
Specified by:
isCachedModel in interface MBMailingListModel
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<MBMailingList>
Specified by:
setCachedModel in interface MBMailingListModel
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<MBMailingList>
Specified by:
isEscapedModel in interface MBMailingListModel
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<MBMailingList>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface MBMailingListModel
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<MBMailingList>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface MBMailingListModel
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<MBMailingList>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface MBMailingListModel
Returns:
the expando bridge for this model instance

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<MBMailingList>
Specified by:
setExpandoBridgeAttributes in interface MBMailingListModel
Parameters:
serviceContext - the service context
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<MBMailingList>
Specified by:
clone in interface MBMailingListModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(MBMailingList mbMailingList)
Specified by:
compareTo in interface MBMailingListModel
Specified by:
compareTo in interface Comparable<MBMailingList>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<MBMailingList>
Specified by:
toCacheModel in interface MBMailingListModel
Returns:
the cache model object

toEscapedModel

public MBMailingList 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<MBMailingList>
Specified by:
toEscapedModel in interface MBMailingListModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public MBMailingList toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<MBMailingList>
Specified by:
toUnescapedModel in interface MBMailingListModel

toString

public String toString()
Specified by:
toString in interface MBMailingListModel
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<MBMailingList>
Specified by:
toXmlString in interface MBMailingListModel
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

getWrappedMBMailingList

public MBMailingList getWrappedMBMailingList()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<MBMailingList>

Liferay 6.1.2-ce-ga3