@ProviderType public class AnnouncementsEntryWrapper extends java.lang.Object implements AnnouncementsEntry, ModelWrapper<AnnouncementsEntry>
This class is a wrapper for AnnouncementsEntry.
AnnouncementsEntry,
Serialized Form| Constructor and Description |
|---|
AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AnnouncementsEntry announcementsEntry) |
boolean |
equals(java.lang.Object obj) |
boolean |
getAlert()
Returns the alert of this announcements entry.
|
java.lang.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.
|
java.lang.String |
getContent()
Returns the content of this announcements entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this announcements entry.
|
java.util.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.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this announcements entry.
|
long |
getGroupId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this announcements entry.
|
long |
getPrimaryKey()
Returns the primary key of this announcements entry.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getPriority()
Returns the priority of this announcements entry.
|
StagedModelType |
getStagedModelType() |
java.lang.String |
getTitle()
Returns the title of this announcements entry.
|
java.lang.String |
getType()
Returns the type of this announcements entry.
|
java.lang.String |
getUrl()
Returns the url of this announcements entry.
|
long |
getUserId()
Returns the user ID of this announcements entry.
|
java.lang.String |
getUserName()
Returns the user name of this announcements entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this announcements entry.
|
java.lang.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(java.lang.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(java.lang.String content)
Sets the content of this announcements entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this announcements entry.
|
void |
setDisplayDate(java.util.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(java.util.Date expirationDate)
Sets the expiration date of this announcements entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPriority(int priority)
Sets the priority of this announcements entry.
|
void |
setTitle(java.lang.String title)
Sets the title of this announcements entry.
|
void |
setType(java.lang.String type)
Sets the type of this announcements entry.
|
void |
setUrl(java.lang.String url)
Sets the url of this announcements entry.
|
void |
setUserId(long userId)
Sets the user ID of this announcements entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this announcements entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this announcements entry.
|
void |
setUuid(java.lang.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. |
java.lang.String |
toString() |
AnnouncementsEntry |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<AnnouncementsEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsEntry>public long getPrimaryKey()
getPrimaryKey in interface AnnouncementsEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AnnouncementsEntryModelprimaryKey - the primary key of this announcements entrypublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface AnnouncementsEntryModelpublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface AnnouncementsEntryModeluuid - the uuid of this announcements entrypublic long getEntryId()
getEntryId in interface AnnouncementsEntryModelpublic void setEntryId(long entryId)
setEntryId in interface AnnouncementsEntryModelentryId - the entry ID of this announcements entrypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface AnnouncementsEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface AnnouncementsEntryModelcompanyId - the company ID of this announcements entrypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface AnnouncementsEntryModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface AnnouncementsEntryModeluserId - the user ID of this announcements entrypublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface AnnouncementsEntryModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface AnnouncementsEntryModeluserUuid - the user uuid of this announcements entrypublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface AnnouncementsEntryModelpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface AnnouncementsEntryModeluserName - the user name of this announcements entrypublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface AnnouncementsEntryModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface AnnouncementsEntryModelcreateDate - the create date of this announcements entrypublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface AnnouncementsEntryModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface AnnouncementsEntryModelmodifiedDate - the modified date of this announcements entrypublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface AnnouncementsEntryModelpublic void setClassName(java.lang.String className)
setClassName in interface AnnouncementsEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface AnnouncementsEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface AnnouncementsEntryModelclassNameId - the class name ID of this announcements entrypublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface AnnouncementsEntryModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface AnnouncementsEntryModelclassPK - the class p k of this announcements entrypublic java.lang.String getTitle()
getTitle in interface AnnouncementsEntryModelpublic void setTitle(java.lang.String title)
setTitle in interface AnnouncementsEntryModeltitle - the title of this announcements entrypublic java.lang.String getContent()
getContent in interface AnnouncementsEntryModelpublic void setContent(java.lang.String content)
setContent in interface AnnouncementsEntryModelcontent - the content of this announcements entrypublic java.lang.String getUrl()
getUrl in interface AnnouncementsEntryModelpublic void setUrl(java.lang.String url)
setUrl in interface AnnouncementsEntryModelurl - the url of this announcements entrypublic java.lang.String getType()
getType in interface AnnouncementsEntryModelpublic void setType(java.lang.String type)
setType in interface AnnouncementsEntryModeltype - the type of this announcements entrypublic java.util.Date getDisplayDate()
getDisplayDate in interface AnnouncementsEntryModelpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface AnnouncementsEntryModeldisplayDate - the display date of this announcements entrypublic java.util.Date getExpirationDate()
getExpirationDate in interface AnnouncementsEntryModelpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface AnnouncementsEntryModelexpirationDate - the expiration date of this announcements entrypublic int getPriority()
getPriority in interface AnnouncementsEntryModelpublic void setPriority(int priority)
setPriority in interface AnnouncementsEntryModelpriority - the priority of this announcements entrypublic boolean getAlert()
getAlert in interface AnnouncementsEntryModelpublic boolean isAlert()
true if this announcements entry is alert.isAlert in interface AnnouncementsEntryModeltrue if this announcements entry is alert; false otherwisepublic void setAlert(boolean alert)
setAlert in interface AnnouncementsEntryModelalert - the alert of this announcements entrypublic 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 setNew(boolean n)
BaseModelsetNew in interface BaseModel<AnnouncementsEntry>setNew in interface AnnouncementsEntryModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<AnnouncementsEntry>setCachedModel in interface AnnouncementsEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AnnouncementsEntryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AnnouncementsEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AnnouncementsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AnnouncementsEntryModelpublic 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)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsEntry>setExpandoBridgeAttributes in interface AnnouncementsEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<AnnouncementsEntry>clone in interface StagedModelclone in interface AnnouncementsEntryModelclone in class java.lang.Objectpublic int compareTo(AnnouncementsEntry announcementsEntry)
compareTo in interface AnnouncementsEntryModelcompareTo in interface java.lang.Comparable<AnnouncementsEntry>public int hashCode()
hashCode in interface AnnouncementsEntryModelhashCode in class java.lang.Objectpublic CacheModel<AnnouncementsEntry> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AnnouncementsEntry>toCacheModel in interface AnnouncementsEntryModelpublic AnnouncementsEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AnnouncementsEntry>toEscapedModel in interface AnnouncementsEntryModelAutoEscapeBeanHandlerpublic AnnouncementsEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<AnnouncementsEntry>toUnescapedModel in interface AnnouncementsEntryModelpublic java.lang.String toString()
toString in interface AnnouncementsEntryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<AnnouncementsEntry>toXmlString in interface AnnouncementsEntryModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic long getGroupId()
throws PortalException,
SystemException
getGroupId in interface AnnouncementsEntryPortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic AnnouncementsEntry getWrappedAnnouncementsEntry()
getWrappedModel()public AnnouncementsEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<AnnouncementsEntry>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AnnouncementsEntry>