|
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.AnnouncementsEntryWrapper
@ProviderType public class AnnouncementsEntryWrapper
This class is a wrapper for AnnouncementsEntry
.
AnnouncementsEntry
,
Serialized FormConstructor Summary | |
---|---|
AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsEntry announcementsEntry)
|
boolean |
equals(Object obj)
|
boolean |
getAlert()
Returns the alert of this announcements entry. |
String |
getClassName()
Returns the fully qualified class name of this announcements entry. |
long |
getClassNameId()
Returns the class name ID of this announcements entry. |
long |
getClassPK()
Returns the class p k of this announcements entry. |
long |
getCompanyId()
Returns the company ID of this announcements entry. |
String |
getContent()
Returns the content of this announcements entry. |
Date |
getCreateDate()
Returns the create date of this announcements entry. |
Date |
getDisplayDate()
Returns the display date of this announcements entry. |
long |
getEntryId()
Returns the entry ID of this announcements entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getExpirationDate()
Returns the expiration date of this announcements entry. |
long |
getGroupId()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this announcements entry. |
long |
getPrimaryKey()
Returns the primary key of this announcements entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getPriority()
Returns the priority of this announcements entry. |
StagedModelType |
getStagedModelType()
|
String |
getTitle()
Returns the title of this announcements entry. |
String |
getType()
Returns the type of this announcements entry. |
String |
getUrl()
Returns the url of this announcements entry. |
long |
getUserId()
Returns the user ID of this announcements entry. |
String |
getUserName()
Returns the user name of this announcements entry. |
String |
getUserUuid()
Returns the user uuid of this announcements entry. |
String |
getUuid()
Returns the uuid of this announcements entry. |
AnnouncementsEntry |
getWrappedAnnouncementsEntry()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
AnnouncementsEntry |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isAlert()
Returns true if this announcements entry is alert. |
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 |
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 |
setAlert(boolean alert)
Sets whether this announcements entry is alert. |
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 announcements entry. |
void |
setClassPK(long classPK)
Sets the class p k of this announcements entry. |
void |
setCompanyId(long companyId)
Sets the company ID of this announcements entry. |
void |
setContent(String content)
Sets the content of this announcements entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this announcements entry. |
void |
setDisplayDate(Date displayDate)
Sets the display date of this announcements entry. |
void |
setEntryId(long entryId)
Sets the entry ID of this announcements entry. |
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 |
setExpirationDate(Date expirationDate)
Sets the expiration date of this announcements entry. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this announcements entry. |
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 entry. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPriority(int priority)
Sets the priority of this announcements entry. |
void |
setTitle(String title)
Sets the title of this announcements entry. |
void |
setType(String type)
Sets the type of this announcements entry. |
void |
setUrl(String url)
Sets the url of this announcements entry. |
void |
setUserId(long userId)
Sets the user ID of this announcements entry. |
void |
setUserName(String userName)
Sets the user name of this announcements entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this announcements entry. |
void |
setUuid(String uuid)
Sets the uuid of this announcements entry. |
CacheModel<AnnouncementsEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AnnouncementsEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
AnnouncementsEntry |
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 AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry)
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<AnnouncementsEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AnnouncementsEntry>
public long getPrimaryKey()
getPrimaryKey
in interface AnnouncementsEntryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AnnouncementsEntryModel
primaryKey
- the primary key of this announcements entrypublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface AnnouncementsEntryModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface AnnouncementsEntryModel
uuid
- the uuid of this announcements entrypublic long getEntryId()
getEntryId
in interface AnnouncementsEntryModel
public void setEntryId(long entryId)
setEntryId
in interface AnnouncementsEntryModel
entryId
- the entry ID of this announcements entrypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface AnnouncementsEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface AnnouncementsEntryModel
companyId
- the company ID of this announcements entrypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface AnnouncementsEntryModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface AnnouncementsEntryModel
userId
- the user ID of this announcements entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface AnnouncementsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface AnnouncementsEntryModel
userUuid
- the user uuid of this announcements entrypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface AnnouncementsEntryModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface AnnouncementsEntryModel
userName
- the user name of this announcements entrypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface AnnouncementsEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface AnnouncementsEntryModel
createDate
- the create date of this announcements entrypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface AnnouncementsEntryModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface AnnouncementsEntryModel
modifiedDate
- the modified date of this announcements entrypublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface AnnouncementsEntryModel
public void setClassName(String className)
setClassName
in interface AnnouncementsEntryModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface AnnouncementsEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface AnnouncementsEntryModel
classNameId
- the class name ID of this announcements entrypublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface AnnouncementsEntryModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface AnnouncementsEntryModel
classPK
- the class p k of this announcements entrypublic String getTitle()
getTitle
in interface AnnouncementsEntryModel
public void setTitle(String title)
setTitle
in interface AnnouncementsEntryModel
title
- the title of this announcements entrypublic String getContent()
getContent
in interface AnnouncementsEntryModel
public void setContent(String content)
setContent
in interface AnnouncementsEntryModel
content
- the content of this announcements entrypublic String getUrl()
getUrl
in interface AnnouncementsEntryModel
public void setUrl(String url)
setUrl
in interface AnnouncementsEntryModel
url
- the url of this announcements entrypublic String getType()
getType
in interface AnnouncementsEntryModel
public void setType(String type)
setType
in interface AnnouncementsEntryModel
type
- the type of this announcements entrypublic Date getDisplayDate()
getDisplayDate
in interface AnnouncementsEntryModel
public void setDisplayDate(Date displayDate)
setDisplayDate
in interface AnnouncementsEntryModel
displayDate
- the display date of this announcements entrypublic Date getExpirationDate()
getExpirationDate
in interface AnnouncementsEntryModel
public void setExpirationDate(Date expirationDate)
setExpirationDate
in interface AnnouncementsEntryModel
expirationDate
- the expiration date of this announcements entrypublic int getPriority()
getPriority
in interface AnnouncementsEntryModel
public void setPriority(int priority)
setPriority
in interface AnnouncementsEntryModel
priority
- the priority of this announcements entrypublic boolean getAlert()
getAlert
in interface AnnouncementsEntryModel
public boolean isAlert()
true
if this announcements entry is alert.
isAlert
in interface AnnouncementsEntryModel
true
if this announcements entry is alert; false
otherwisepublic void setAlert(boolean alert)
setAlert
in interface AnnouncementsEntryModel
alert
- the alert of this announcements entrypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<AnnouncementsEntry>
isNew
in interface AnnouncementsEntryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AnnouncementsEntry>
setNew
in interface AnnouncementsEntryModel
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<AnnouncementsEntry>
isCachedModel
in interface AnnouncementsEntryModel
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<AnnouncementsEntry>
setCachedModel
in interface AnnouncementsEntryModel
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<AnnouncementsEntry>
isEscapedModel
in interface AnnouncementsEntryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AnnouncementsEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AnnouncementsEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AnnouncementsEntryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AnnouncementsEntryModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsEntry>
setExpandoBridgeAttributes
in interface AnnouncementsEntryModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsEntry>
setExpandoBridgeAttributes
in interface AnnouncementsEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsEntry>
setExpandoBridgeAttributes
in interface AnnouncementsEntryModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<AnnouncementsEntry>
clone
in interface StagedModel
clone
in interface AnnouncementsEntryModel
clone
in class Object
public int compareTo(AnnouncementsEntry announcementsEntry)
compareTo
in interface AnnouncementsEntryModel
compareTo
in interface Comparable<AnnouncementsEntry>
public int hashCode()
hashCode
in interface AnnouncementsEntryModel
hashCode
in class Object
public CacheModel<AnnouncementsEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AnnouncementsEntry>
toCacheModel
in interface AnnouncementsEntryModel
public AnnouncementsEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AnnouncementsEntry>
toEscapedModel
in interface AnnouncementsEntryModel
AutoEscapeBeanHandler
public AnnouncementsEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<AnnouncementsEntry>
toUnescapedModel
in interface AnnouncementsEntryModel
public String toString()
toString
in interface AnnouncementsEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AnnouncementsEntry>
toXmlString
in interface AnnouncementsEntryModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic long getGroupId() throws PortalException, SystemException
getGroupId
in interface AnnouncementsEntry
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public AnnouncementsEntry getWrappedAnnouncementsEntry()
getWrappedModel()
public AnnouncementsEntry getWrappedModel()
getWrappedModel
in interface ModelWrapper<AnnouncementsEntry>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AnnouncementsEntry>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |