public class AnnouncementsEntryWrapper extends BaseModelWrapper<AnnouncementsEntry> implements AnnouncementsEntry, ModelWrapper<AnnouncementsEntry>
This class is a wrapper for AnnouncementsEntry
.
AnnouncementsEntry
,
Serialized Formmodel
ENTRY_ID_ACCESSOR
Constructor and Description |
---|
AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry) |
Modifier and Type | Method and Description |
---|---|
AnnouncementsEntry |
cloneWithOriginalValues() |
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 pk 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.
|
Date |
getExpirationDate()
Returns the expiration date of this announcements entry.
|
long |
getGroupId() |
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this announcements entry.
|
long |
getMvccVersion()
Returns the mvcc version of this announcements entry.
|
long |
getPrimaryKey()
Returns the primary key of this announcements entry.
|
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.
|
boolean |
isAlert()
Returns
true if this announcements entry is alert. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setAlert(boolean alert)
Sets whether this announcements entry is alert.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this announcements entry.
|
void |
setClassPK(long classPK)
Sets the class pk 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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this announcements entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this announcements entry.
|
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.
|
String |
toXmlString() |
protected AnnouncementsEntryWrapper |
wrap(AnnouncementsEntry announcementsEntry) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
clone
getModelClass, getModelClassName
getWrappedModel
public AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AnnouncementsEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AnnouncementsEntry>
public AnnouncementsEntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface AnnouncementsEntryModel
cloneWithOriginalValues
in interface BaseModel<AnnouncementsEntry>
public boolean getAlert()
getAlert
in interface AnnouncementsEntryModel
public String getClassName()
getClassName
in interface AnnouncementsEntryModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface AnnouncementsEntryModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AnnouncementsEntryModel
getClassPK
in interface AttachedModel
public long getCompanyId()
getCompanyId
in interface AnnouncementsEntryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public String getContent()
getContent
in interface AnnouncementsEntryModel
public Date getCreateDate()
getCreateDate
in interface AnnouncementsEntryModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
public Date getDisplayDate()
getDisplayDate
in interface AnnouncementsEntryModel
public long getEntryId()
getEntryId
in interface AnnouncementsEntryModel
public Date getExpirationDate()
getExpirationDate
in interface AnnouncementsEntryModel
public long getGroupId() throws PortalException
getGroupId
in interface AnnouncementsEntry
PortalException
public Date getModifiedDate()
getModifiedDate
in interface AnnouncementsEntryModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface AnnouncementsEntryModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface AnnouncementsEntryModel
public int getPriority()
getPriority
in interface AnnouncementsEntryModel
public String getTitle()
getTitle
in interface AnnouncementsEntryModel
public String getType()
getType
in interface AnnouncementsEntryModel
public String getUrl()
getUrl
in interface AnnouncementsEntryModel
public long getUserId()
getUserId
in interface AnnouncementsEntryModel
getUserId
in interface AuditedModel
public String getUserName()
getUserName
in interface AnnouncementsEntryModel
getUserName
in interface AuditedModel
public String getUserUuid()
getUserUuid
in interface AnnouncementsEntryModel
getUserUuid
in interface AuditedModel
public String getUuid()
getUuid
in interface AnnouncementsEntryModel
getUuid
in interface StagedModel
public boolean isAlert()
true
if this announcements entry is alert.isAlert
in interface AnnouncementsEntryModel
true
if this announcements entry is alert; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setAlert(boolean alert)
setAlert
in interface AnnouncementsEntryModel
alert
- the alert of this announcements entrypublic void setClassName(String className)
setClassName
in interface AnnouncementsEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AnnouncementsEntryModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this announcements entrypublic void setClassPK(long classPK)
setClassPK
in interface AnnouncementsEntryModel
setClassPK
in interface AttachedModel
classPK
- the class pk of this announcements entrypublic void setCompanyId(long companyId)
setCompanyId
in interface AnnouncementsEntryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this announcements entrypublic void setContent(String content)
setContent
in interface AnnouncementsEntryModel
content
- the content of this announcements entrypublic void setCreateDate(Date createDate)
setCreateDate
in interface AnnouncementsEntryModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this announcements entrypublic void setDisplayDate(Date displayDate)
setDisplayDate
in interface AnnouncementsEntryModel
displayDate
- the display date of this announcements entrypublic void setEntryId(long entryId)
setEntryId
in interface AnnouncementsEntryModel
entryId
- the entry ID of this announcements entrypublic void setExpirationDate(Date expirationDate)
setExpirationDate
in interface AnnouncementsEntryModel
expirationDate
- the expiration date of this announcements entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AnnouncementsEntryModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this announcements entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface AnnouncementsEntryModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this announcements entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AnnouncementsEntryModel
primaryKey
- the primary key of this announcements entrypublic void setPriority(int priority)
setPriority
in interface AnnouncementsEntryModel
priority
- the priority of this announcements entrypublic void setTitle(String title)
setTitle
in interface AnnouncementsEntryModel
title
- the title of this announcements entrypublic void setType(String type)
setType
in interface AnnouncementsEntryModel
type
- the type of this announcements entrypublic void setUrl(String url)
setUrl
in interface AnnouncementsEntryModel
url
- the url of this announcements entrypublic void setUserId(long userId)
setUserId
in interface AnnouncementsEntryModel
setUserId
in interface AuditedModel
userId
- the user ID of this announcements entrypublic void setUserName(String userName)
setUserName
in interface AnnouncementsEntryModel
setUserName
in interface AuditedModel
userName
- the user name of this announcements entrypublic void setUserUuid(String userUuid)
setUserUuid
in interface AnnouncementsEntryModel
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this announcements entrypublic void setUuid(String uuid)
setUuid
in interface AnnouncementsEntryModel
setUuid
in interface StagedModel
uuid
- the uuid of this announcements entrypublic String toXmlString()
toXmlString
in interface AnnouncementsEntryModel
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected AnnouncementsEntryWrapper wrap(AnnouncementsEntry announcementsEntry)
wrap
in class BaseModelWrapper<AnnouncementsEntry>