Liferay 6.0.3

com.liferay.portlet.announcements.model
Class AnnouncementsEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.announcements.model.AnnouncementsEntryWrapper
All Implemented Interfaces:
BaseModel<AnnouncementsEntry>, AnnouncementsEntry, AnnouncementsEntryModel, Serializable, Cloneable, Comparable<AnnouncementsEntry>

public class AnnouncementsEntryWrapper
extends Object
implements AnnouncementsEntry

This class is a wrapper for AnnouncementsEntry.

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

Constructor Summary
AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(AnnouncementsEntry announcementsEntry)
           
 boolean getAlert()
           
 String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 String getContent()
           
 Date getCreateDate()
           
 Date getDisplayDate()
           
 long getEntryId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
           
 long getGroupId()
           
 Date getModifiedDate()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 int getPriority()
           
 String getTitle()
           
 String getType()
           
 String getUrl()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 AnnouncementsEntry getWrappedAnnouncementsEntry()
           
 int hashCode()
           
 boolean isAlert()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setAlert(boolean alert)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setContent(String content)
           
 void setCreateDate(Date createDate)
           
 void setDisplayDate(Date displayDate)
           
 void setEntryId(long entryId)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setExpirationDate(Date expirationDate)
           
 void setModifiedDate(Date modifiedDate)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setPriority(int priority)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void setUrl(String url)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 AnnouncementsEntry toEscapedModel()
           
 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

AnnouncementsEntryWrapper

public AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface AnnouncementsEntryModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface AnnouncementsEntryModel

getUuid

public String getUuid()
Specified by:
getUuid in interface AnnouncementsEntryModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface AnnouncementsEntryModel

getEntryId

public long getEntryId()
Specified by:
getEntryId in interface AnnouncementsEntryModel

setEntryId

public void setEntryId(long entryId)
Specified by:
setEntryId in interface AnnouncementsEntryModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface AnnouncementsEntryModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface AnnouncementsEntryModel

getUserId

public long getUserId()
Specified by:
getUserId in interface AnnouncementsEntryModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface AnnouncementsEntryModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface AnnouncementsEntryModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface AnnouncementsEntryModel

getUserName

public String getUserName()
Specified by:
getUserName in interface AnnouncementsEntryModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface AnnouncementsEntryModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface AnnouncementsEntryModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface AnnouncementsEntryModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface AnnouncementsEntryModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface AnnouncementsEntryModel

getClassName

public String getClassName()
Specified by:
getClassName in interface AnnouncementsEntryModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface AnnouncementsEntryModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface AnnouncementsEntryModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface AnnouncementsEntryModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface AnnouncementsEntryModel

getTitle

public String getTitle()
Specified by:
getTitle in interface AnnouncementsEntryModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface AnnouncementsEntryModel

getContent

public String getContent()
Specified by:
getContent in interface AnnouncementsEntryModel

setContent

public void setContent(String content)
Specified by:
setContent in interface AnnouncementsEntryModel

getUrl

public String getUrl()
Specified by:
getUrl in interface AnnouncementsEntryModel

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface AnnouncementsEntryModel

getType

public String getType()
Specified by:
getType in interface AnnouncementsEntryModel

setType

public void setType(String type)
Specified by:
setType in interface AnnouncementsEntryModel

getDisplayDate

public Date getDisplayDate()
Specified by:
getDisplayDate in interface AnnouncementsEntryModel

setDisplayDate

public void setDisplayDate(Date displayDate)
Specified by:
setDisplayDate in interface AnnouncementsEntryModel

getExpirationDate

public Date getExpirationDate()
Specified by:
getExpirationDate in interface AnnouncementsEntryModel

setExpirationDate

public void setExpirationDate(Date expirationDate)
Specified by:
setExpirationDate in interface AnnouncementsEntryModel

getPriority

public int getPriority()
Specified by:
getPriority in interface AnnouncementsEntryModel

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface AnnouncementsEntryModel

getAlert

public boolean getAlert()
Specified by:
getAlert in interface AnnouncementsEntryModel

isAlert

public boolean isAlert()
Specified by:
isAlert in interface AnnouncementsEntryModel

setAlert

public void setAlert(boolean alert)
Specified by:
setAlert in interface AnnouncementsEntryModel

toEscapedModel

public AnnouncementsEntry toEscapedModel()
Specified by:
toEscapedModel in interface AnnouncementsEntryModel

isNew

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

Specified by:
isNew in interface BaseModel<AnnouncementsEntry>
Specified by:
isNew in interface AnnouncementsEntryModel
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<AnnouncementsEntry>
Specified by:
setNew in interface AnnouncementsEntryModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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

Specified by:
isCachedModel in interface BaseModel<AnnouncementsEntry>
Specified by:
isCachedModel in interface AnnouncementsEntryModel
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<AnnouncementsEntry>
Specified by:
setCachedModel in interface AnnouncementsEntryModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<AnnouncementsEntry>
Specified by:
isEscapedModel in interface AnnouncementsEntryModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<AnnouncementsEntry>
Specified by:
setEscapedModel in interface AnnouncementsEntryModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>
Specified by:
getPrimaryKeyObj in interface AnnouncementsEntryModel
Returns:
the primary key

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<AnnouncementsEntry>
Specified by:
getExpandoBridge in interface AnnouncementsEntryModel
Returns:
the expando bridge

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<AnnouncementsEntry>
Specified by:
setExpandoBridgeAttributes in interface AnnouncementsEntryModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
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<AnnouncementsEntry>
Specified by:
clone in interface AnnouncementsEntryModel
Overrides:
clone in class Object
Returns:
the clone

compareTo

public int compareTo(AnnouncementsEntry announcementsEntry)
Specified by:
compareTo in interface AnnouncementsEntryModel
Specified by:
compareTo in interface Comparable<AnnouncementsEntry>

hashCode

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

toString

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

toXmlString

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

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

getGroupId

public long getGroupId()
                throws PortalException,
                       SystemException
Specified by:
getGroupId in interface AnnouncementsEntry
Throws:
PortalException
SystemException

getWrappedAnnouncementsEntry

public AnnouncementsEntry getWrappedAnnouncementsEntry()

Liferay 6.0.3