Class AnnouncementsEntryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AnnouncementsEntry>
com.liferay.announcements.kernel.model.AnnouncementsEntryWrapper
- All Implemented Interfaces:
AnnouncementsEntry
,AnnouncementsEntryModel
,AttachedModel
,AuditedModel
,BaseModel<AnnouncementsEntry>
,CTModel<AnnouncementsEntry>
,ClassedModel
,ModelWrapper<AnnouncementsEntry>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
,Serializable
,Cloneable
,Comparable<AnnouncementsEntry>
public class AnnouncementsEntryWrapper
extends BaseModelWrapper<AnnouncementsEntry>
implements AnnouncementsEntry, ModelWrapper<AnnouncementsEntry>
This class is a wrapper for AnnouncementsEntry
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.announcements.kernel.model.AnnouncementsEntry
ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAlert()
Returns the alert of this announcements entry.Returns the fully qualified class name of this announcements entry.long
Returns the class name ID of this announcements entry.long
Returns the class pk of this announcements entry.long
Returns the company ID of this announcements entry.Returns the content of this announcements entry.Returns the create date of this announcements entry.long
Returns the ct collection ID of this announcements entry.Returns the display date of this announcements entry.long
Returns the entry ID of this announcements entry.Returns the expiration date of this announcements entry.long
Returns the modified date of this announcements entry.long
Returns the mvcc version of this announcements entry.long
Returns the primary key of this announcements entry.int
Returns the priority of this announcements entry.getTitle()
Returns the title of this announcements entry.getType()
Returns the type of this announcements entry.getUrl()
Returns the url of this announcements entry.long
Returns the user ID of this announcements entry.Returns the user name of this announcements entry.Returns the user uuid of this announcements entry.getUuid()
Returns the uuid of this announcements entry.boolean
isAlert()
Returnstrue
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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID 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
Sets the title of this announcements entry.void
Sets the type of this announcements entry.void
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
Sets the uuid of this announcements entry.protected AnnouncementsEntryWrapper
wrap
(AnnouncementsEntry announcementsEntry) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
AnnouncementsEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<AnnouncementsEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<AnnouncementsEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAnnouncementsEntryModel
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<AnnouncementsEntry>
-
getAlert
public boolean getAlert()Returns the alert of this announcements entry.- Specified by:
getAlert
in interfaceAnnouncementsEntryModel
- Returns:
- the alert of this announcements entry
-
getClassName
Returns the fully qualified class name of this announcements entry.- Specified by:
getClassName
in interfaceAnnouncementsEntryModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this announcements entry
-
getClassNameId
public long getClassNameId()Returns the class name ID of this announcements entry.- Specified by:
getClassNameId
in interfaceAnnouncementsEntryModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this announcements entry
-
getClassPK
public long getClassPK()Returns the class pk of this announcements entry.- Specified by:
getClassPK
in interfaceAnnouncementsEntryModel
- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this announcements entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this announcements entry.- Specified by:
getCompanyId
in interfaceAnnouncementsEntryModel
- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this announcements entry
-
getContent
Returns the content of this announcements entry.- Specified by:
getContent
in interfaceAnnouncementsEntryModel
- Returns:
- the content of this announcements entry
-
getCreateDate
Returns the create date of this announcements entry.- Specified by:
getCreateDate
in interfaceAnnouncementsEntryModel
- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this announcements entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this announcements entry.- Specified by:
getCtCollectionId
in interfaceAnnouncementsEntryModel
- Specified by:
getCtCollectionId
in interfaceCTModel<AnnouncementsEntry>
- Returns:
- the ct collection ID of this announcements entry
-
getDisplayDate
Returns the display date of this announcements entry.- Specified by:
getDisplayDate
in interfaceAnnouncementsEntryModel
- Returns:
- the display date of this announcements entry
-
getEntryId
public long getEntryId()Returns the entry ID of this announcements entry.- Specified by:
getEntryId
in interfaceAnnouncementsEntryModel
- Returns:
- the entry ID of this announcements entry
-
getExpirationDate
Returns the expiration date of this announcements entry.- Specified by:
getExpirationDate
in interfaceAnnouncementsEntryModel
- Returns:
- the expiration date of this announcements entry
-
getGroupId
- Specified by:
getGroupId
in interfaceAnnouncementsEntry
- Throws:
PortalException
-
getModifiedDate
Returns the modified date of this announcements entry.- Specified by:
getModifiedDate
in interfaceAnnouncementsEntryModel
- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this announcements entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this announcements entry.- Specified by:
getMvccVersion
in interfaceAnnouncementsEntryModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this announcements entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this announcements entry.- Specified by:
getPrimaryKey
in interfaceAnnouncementsEntryModel
- Specified by:
getPrimaryKey
in interfaceCTModel<AnnouncementsEntry>
- Returns:
- the primary key of this announcements entry
-
getPriority
public int getPriority()Returns the priority of this announcements entry.- Specified by:
getPriority
in interfaceAnnouncementsEntryModel
- Returns:
- the priority of this announcements entry
-
getTitle
Returns the title of this announcements entry.- Specified by:
getTitle
in interfaceAnnouncementsEntryModel
- Returns:
- the title of this announcements entry
-
getType
Returns the type of this announcements entry.- Specified by:
getType
in interfaceAnnouncementsEntryModel
- Returns:
- the type of this announcements entry
-
getUrl
Returns the url of this announcements entry.- Specified by:
getUrl
in interfaceAnnouncementsEntryModel
- Returns:
- the url of this announcements entry
-
getUserId
public long getUserId()Returns the user ID of this announcements entry.- Specified by:
getUserId
in interfaceAnnouncementsEntryModel
- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this announcements entry
-
getUserName
Returns the user name of this announcements entry.- Specified by:
getUserName
in interfaceAnnouncementsEntryModel
- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this announcements entry
-
getUserUuid
Returns the user uuid of this announcements entry.- Specified by:
getUserUuid
in interfaceAnnouncementsEntryModel
- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this announcements entry
-
getUuid
Returns the uuid of this announcements entry.- Specified by:
getUuid
in interfaceAnnouncementsEntryModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this announcements entry
-
isAlert
public boolean isAlert()Returnstrue
if this announcements entry is alert.- Specified by:
isAlert
in interfaceAnnouncementsEntryModel
- Returns:
true
if this announcements entry is alert;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setAlert
public void setAlert(boolean alert) Sets whether this announcements entry is alert.- Specified by:
setAlert
in interfaceAnnouncementsEntryModel
- Parameters:
alert
- the alert of this announcements entry
-
setClassName
- Specified by:
setClassName
in interfaceAnnouncementsEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this announcements entry.- Specified by:
setClassNameId
in interfaceAnnouncementsEntryModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this announcements entry
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this announcements entry.- Specified by:
setClassPK
in interfaceAnnouncementsEntryModel
- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this announcements entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this announcements entry.- Specified by:
setCompanyId
in interfaceAnnouncementsEntryModel
- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this announcements entry
-
setContent
Sets the content of this announcements entry.- Specified by:
setContent
in interfaceAnnouncementsEntryModel
- Parameters:
content
- the content of this announcements entry
-
setCreateDate
Sets the create date of this announcements entry.- Specified by:
setCreateDate
in interfaceAnnouncementsEntryModel
- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this announcements entry
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements entry.- Specified by:
setCtCollectionId
in interfaceAnnouncementsEntryModel
- Specified by:
setCtCollectionId
in interfaceCTModel<AnnouncementsEntry>
- Parameters:
ctCollectionId
- the ct collection ID of this announcements entry
-
setDisplayDate
Sets the display date of this announcements entry.- Specified by:
setDisplayDate
in interfaceAnnouncementsEntryModel
- Parameters:
displayDate
- the display date of this announcements entry
-
setEntryId
public void setEntryId(long entryId) Sets the entry ID of this announcements entry.- Specified by:
setEntryId
in interfaceAnnouncementsEntryModel
- Parameters:
entryId
- the entry ID of this announcements entry
-
setExpirationDate
Sets the expiration date of this announcements entry.- Specified by:
setExpirationDate
in interfaceAnnouncementsEntryModel
- Parameters:
expirationDate
- the expiration date of this announcements entry
-
setModifiedDate
Sets the modified date of this announcements entry.- Specified by:
setModifiedDate
in interfaceAnnouncementsEntryModel
- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this announcements entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this announcements entry.- Specified by:
setMvccVersion
in interfaceAnnouncementsEntryModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this announcements entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this announcements entry.- Specified by:
setPrimaryKey
in interfaceAnnouncementsEntryModel
- Specified by:
setPrimaryKey
in interfaceCTModel<AnnouncementsEntry>
- Parameters:
primaryKey
- the primary key of this announcements entry
-
setPriority
public void setPriority(int priority) Sets the priority of this announcements entry.- Specified by:
setPriority
in interfaceAnnouncementsEntryModel
- Parameters:
priority
- the priority of this announcements entry
-
setTitle
Sets the title of this announcements entry.- Specified by:
setTitle
in interfaceAnnouncementsEntryModel
- Parameters:
title
- the title of this announcements entry
-
setType
Sets the type of this announcements entry.- Specified by:
setType
in interfaceAnnouncementsEntryModel
- Parameters:
type
- the type of this announcements entry
-
setUrl
Sets the url of this announcements entry.- Specified by:
setUrl
in interfaceAnnouncementsEntryModel
- Parameters:
url
- the url of this announcements entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this announcements entry.- Specified by:
setUserId
in interfaceAnnouncementsEntryModel
- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this announcements entry
-
setUserName
Sets the user name of this announcements entry.- Specified by:
setUserName
in interfaceAnnouncementsEntryModel
- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this announcements entry
-
setUserUuid
Sets the user uuid of this announcements entry.- Specified by:
setUserUuid
in interfaceAnnouncementsEntryModel
- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this announcements entry
-
setUuid
Sets the uuid of this announcements entry.- Specified by:
setUuid
in interfaceAnnouncementsEntryModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this announcements entry
-
toXmlString
- Specified by:
toXmlString
in interfaceAnnouncementsEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<AnnouncementsEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<AnnouncementsEntry>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<AnnouncementsEntry>
-