|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.announcements.model.AnnouncementsEntryWrapper
@ProviderType public class AnnouncementsEntryWrapper
This class is a wrapper for AnnouncementsEntry.
AnnouncementsEntry,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.announcements.model.AnnouncementsEntry |
|---|
ENTRY_ID_ACCESSOR |
| Constructor 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 |
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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AnnouncementsEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsEntry>public Object clone()
BaseModel
clone in interface BaseModel<AnnouncementsEntry>clone in interface StagedModelclone in interface AnnouncementsEntryModelclone in class Objectpublic int compareTo(AnnouncementsEntry announcementsEntry)
compareTo in interface AnnouncementsEntryModelcompareTo in interface Comparable<AnnouncementsEntry>public boolean getAlert()
getAlert in interface AnnouncementsEntryModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface AnnouncementsEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface AnnouncementsEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface AnnouncementsEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface AnnouncementsEntryModelpublic String getContent()
getContent in interface AnnouncementsEntryModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface AnnouncementsEntryModelpublic Date getDisplayDate()
getDisplayDate in interface AnnouncementsEntryModelpublic long getEntryId()
getEntryId in interface AnnouncementsEntryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AnnouncementsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AnnouncementsEntryModelpublic Date getExpirationDate()
getExpirationDate in interface AnnouncementsEntryModel
public long getGroupId()
throws PortalException
getGroupId in interface AnnouncementsEntryPortalExceptionpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface AnnouncementsEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface AnnouncementsEntryModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AnnouncementsEntryModelpublic int getPriority()
getPriority in interface AnnouncementsEntryModelpublic String getTitle()
getTitle in interface AnnouncementsEntryModelpublic String getType()
getType in interface AnnouncementsEntryModelpublic String getUrl()
getUrl in interface AnnouncementsEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface AnnouncementsEntryModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface AnnouncementsEntryModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface AnnouncementsEntryModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface AnnouncementsEntryModelpublic int hashCode()
hashCode in interface AnnouncementsEntryModelhashCode in class Objectpublic boolean isAlert()
true if this announcements entry is alert.
isAlert in interface AnnouncementsEntryModeltrue if this announcements entry is alert; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<AnnouncementsEntry>isCachedModel in interface AnnouncementsEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<AnnouncementsEntry>isEscapedModel in interface AnnouncementsEntryModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<AnnouncementsEntry>isNew in interface AnnouncementsEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setAlert(boolean alert)
setAlert in interface AnnouncementsEntryModelalert - the alert of this announcements entrypublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AnnouncementsEntry>setCachedModel in interface AnnouncementsEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface AnnouncementsEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface AnnouncementsEntryModelclassNameId - the class name ID of this announcements entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface AnnouncementsEntryModelclassPK - the class p k of this announcements entrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface AnnouncementsEntryModelcompanyId - the company ID of this announcements entrypublic void setContent(String content)
setContent in interface AnnouncementsEntryModelcontent - the content of this announcements entrypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface AnnouncementsEntryModelcreateDate - the create date of this announcements entrypublic void setDisplayDate(Date displayDate)
setDisplayDate in interface AnnouncementsEntryModeldisplayDate - the display date of this announcements entrypublic void setEntryId(long entryId)
setEntryId in interface AnnouncementsEntryModelentryId - the entry ID of this announcements entrypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsEntry>setExpandoBridgeAttributes in interface AnnouncementsEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsEntry>setExpandoBridgeAttributes in interface AnnouncementsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsEntry>setExpandoBridgeAttributes in interface AnnouncementsEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExpirationDate(Date expirationDate)
setExpirationDate in interface AnnouncementsEntryModelexpirationDate - the expiration date of this announcements entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface AnnouncementsEntryModelmodifiedDate - the modified date of this announcements entrypublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<AnnouncementsEntry>setNew in interface AnnouncementsEntryModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AnnouncementsEntryModelprimaryKey - the primary key of this announcements entrypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AnnouncementsEntryModelprimaryKeyObj - the primary key of this model instancepublic void setPriority(int priority)
setPriority in interface AnnouncementsEntryModelpriority - the priority of this announcements entrypublic void setTitle(String title)
setTitle in interface AnnouncementsEntryModeltitle - the title of this announcements entrypublic void setType(String type)
setType in interface AnnouncementsEntryModeltype - the type of this announcements entrypublic void setUrl(String url)
setUrl in interface AnnouncementsEntryModelurl - the url of this announcements entrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface AnnouncementsEntryModeluserId - the user ID of this announcements entrypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface AnnouncementsEntryModeluserName - the user name of this announcements entrypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface AnnouncementsEntryModeluserUuid - the user uuid of this announcements entrypublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface AnnouncementsEntryModeluuid - the uuid of this announcements entrypublic CacheModel<AnnouncementsEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AnnouncementsEntry>toCacheModel in interface AnnouncementsEntryModelpublic AnnouncementsEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AnnouncementsEntry>toEscapedModel in interface AnnouncementsEntryModelAutoEscapeBeanHandlerpublic String toString()
toString in interface AnnouncementsEntryModeltoString in class Objectpublic AnnouncementsEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<AnnouncementsEntry>toUnescapedModel in interface AnnouncementsEntryModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AnnouncementsEntry>toXmlString in interface AnnouncementsEntryModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic AnnouncementsEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<AnnouncementsEntry>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<AnnouncementsEntry>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<AnnouncementsEntry>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<AnnouncementsEntry>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||