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
modelFields inherited from interface com.liferay.announcements.kernel.model.AnnouncementsEntry
ENTRY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAlert()Returns the alert of this announcements entry.Returns the fully qualified class name of this announcements entry.longReturns the class name ID of this announcements entry.longReturns the class pk of this announcements entry.longReturns the company ID of this announcements entry.Returns the content of this announcements entry.Returns the create date of this announcements entry.longReturns the ct collection ID of this announcements entry.Returns the display date of this announcements entry.longReturns the entry ID of this announcements entry.Returns the expiration date of this announcements entry.longReturns the modified date of this announcements entry.longReturns the mvcc version of this announcements entry.longReturns the primary key of this announcements entry.intReturns 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.longReturns 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.booleanisAlert()Returnstrueif this announcements entry is alert.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetAlert(boolean alert) Sets whether this announcements entry is alert.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this announcements entry.voidsetClassPK(long classPK) Sets the class pk of this announcements entry.voidsetCompanyId(long companyId) Sets the company ID of this announcements entry.voidsetContent(String content) Sets the content of this announcements entry.voidsetCreateDate(Date createDate) Sets the create date of this announcements entry.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements entry.voidsetDisplayDate(Date displayDate) Sets the display date of this announcements entry.voidsetEntryId(long entryId) Sets the entry ID of this announcements entry.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this announcements entry.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this announcements entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this announcements entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this announcements entry.voidsetPriority(int priority) Sets the priority of this announcements entry.voidSets the title of this announcements entry.voidSets the type of this announcements entry.voidSets the url of this announcements entry.voidsetUserId(long userId) Sets the user ID of this announcements entry.voidsetUserName(String userName) Sets the user name of this announcements entry.voidsetUserUuid(String userUuid) Sets the user uuid of this announcements entry.voidSets the uuid of this announcements entry.protected AnnouncementsEntryWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
AnnouncementsEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<AnnouncementsEntry>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<AnnouncementsEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAnnouncementsEntryModel- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<AnnouncementsEntry>
-
getAlert
public boolean getAlert()Returns the alert of this announcements entry.- Specified by:
getAlertin interfaceAnnouncementsEntryModel- Returns:
- the alert of this announcements entry
-
getClassName
Returns the fully qualified class name of this announcements entry.- Specified by:
getClassNamein interfaceAnnouncementsEntryModel- Specified by:
getClassNamein 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:
getClassNameIdin interfaceAnnouncementsEntryModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this announcements entry
-
getClassPK
public long getClassPK()Returns the class pk of this announcements entry.- Specified by:
getClassPKin interfaceAnnouncementsEntryModel- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this announcements entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this announcements entry.- Specified by:
getCompanyIdin interfaceAnnouncementsEntryModel- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this announcements entry
-
getContent
Returns the content of this announcements entry.- Specified by:
getContentin interfaceAnnouncementsEntryModel- Returns:
- the content of this announcements entry
-
getCreateDate
Returns the create date of this announcements entry.- Specified by:
getCreateDatein interfaceAnnouncementsEntryModel- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this announcements entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this announcements entry.- Specified by:
getCtCollectionIdin interfaceAnnouncementsEntryModel- Specified by:
getCtCollectionIdin interfaceCTModel<AnnouncementsEntry>- Returns:
- the ct collection ID of this announcements entry
-
getDisplayDate
Returns the display date of this announcements entry.- Specified by:
getDisplayDatein interfaceAnnouncementsEntryModel- Returns:
- the display date of this announcements entry
-
getEntryId
public long getEntryId()Returns the entry ID of this announcements entry.- Specified by:
getEntryIdin interfaceAnnouncementsEntryModel- Returns:
- the entry ID of this announcements entry
-
getExpirationDate
Returns the expiration date of this announcements entry.- Specified by:
getExpirationDatein interfaceAnnouncementsEntryModel- Returns:
- the expiration date of this announcements entry
-
getGroupId
- Specified by:
getGroupIdin interfaceAnnouncementsEntry- Throws:
PortalException
-
getModifiedDate
Returns the modified date of this announcements entry.- Specified by:
getModifiedDatein interfaceAnnouncementsEntryModel- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this announcements entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this announcements entry.- Specified by:
getMvccVersionin interfaceAnnouncementsEntryModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this announcements entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this announcements entry.- Specified by:
getPrimaryKeyin interfaceAnnouncementsEntryModel- Specified by:
getPrimaryKeyin interfaceCTModel<AnnouncementsEntry>- Returns:
- the primary key of this announcements entry
-
getPriority
public int getPriority()Returns the priority of this announcements entry.- Specified by:
getPriorityin interfaceAnnouncementsEntryModel- Returns:
- the priority of this announcements entry
-
getTitle
Returns the title of this announcements entry.- Specified by:
getTitlein interfaceAnnouncementsEntryModel- Returns:
- the title of this announcements entry
-
getType
Returns the type of this announcements entry.- Specified by:
getTypein interfaceAnnouncementsEntryModel- Returns:
- the type of this announcements entry
-
getUrl
Returns the url of this announcements entry.- Specified by:
getUrlin interfaceAnnouncementsEntryModel- Returns:
- the url of this announcements entry
-
getUserId
public long getUserId()Returns the user ID of this announcements entry.- Specified by:
getUserIdin interfaceAnnouncementsEntryModel- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this announcements entry
-
getUserName
Returns the user name of this announcements entry.- Specified by:
getUserNamein interfaceAnnouncementsEntryModel- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this announcements entry
-
getUserUuid
Returns the user uuid of this announcements entry.- Specified by:
getUserUuidin interfaceAnnouncementsEntryModel- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this announcements entry
-
getUuid
Returns the uuid of this announcements entry.- Specified by:
getUuidin interfaceAnnouncementsEntryModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this announcements entry
-
isAlert
public boolean isAlert()Returnstrueif this announcements entry is alert.- Specified by:
isAlertin interfaceAnnouncementsEntryModel- Returns:
trueif this announcements entry is alert;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setAlert
public void setAlert(boolean alert) Sets whether this announcements entry is alert.- Specified by:
setAlertin interfaceAnnouncementsEntryModel- Parameters:
alert- the alert of this announcements entry
-
setClassName
- Specified by:
setClassNamein interfaceAnnouncementsEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this announcements entry.- Specified by:
setClassNameIdin interfaceAnnouncementsEntryModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAnnouncementsEntryModel- Specified by:
setClassPKin 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:
setCompanyIdin interfaceAnnouncementsEntryModel- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this announcements entry
-
setContent
Sets the content of this announcements entry.- Specified by:
setContentin interfaceAnnouncementsEntryModel- Parameters:
content- the content of this announcements entry
-
setCreateDate
Sets the create date of this announcements entry.- Specified by:
setCreateDatein interfaceAnnouncementsEntryModel- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfaceAnnouncementsEntryModel- Specified by:
setCtCollectionIdin interfaceCTModel<AnnouncementsEntry>- Parameters:
ctCollectionId- the ct collection ID of this announcements entry
-
setDisplayDate
Sets the display date of this announcements entry.- Specified by:
setDisplayDatein 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:
setEntryIdin interfaceAnnouncementsEntryModel- Parameters:
entryId- the entry ID of this announcements entry
-
setExpirationDate
Sets the expiration date of this announcements entry.- Specified by:
setExpirationDatein interfaceAnnouncementsEntryModel- Parameters:
expirationDate- the expiration date of this announcements entry
-
setModifiedDate
Sets the modified date of this announcements entry.- Specified by:
setModifiedDatein interfaceAnnouncementsEntryModel- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceAnnouncementsEntryModel- Specified by:
setMvccVersionin 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:
setPrimaryKeyin interfaceAnnouncementsEntryModel- Specified by:
setPrimaryKeyin 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:
setPriorityin interfaceAnnouncementsEntryModel- Parameters:
priority- the priority of this announcements entry
-
setTitle
Sets the title of this announcements entry.- Specified by:
setTitlein interfaceAnnouncementsEntryModel- Parameters:
title- the title of this announcements entry
-
setType
Sets the type of this announcements entry.- Specified by:
setTypein interfaceAnnouncementsEntryModel- Parameters:
type- the type of this announcements entry
-
setUrl
Sets the url of this announcements entry.- Specified by:
setUrlin 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:
setUserIdin interfaceAnnouncementsEntryModel- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this announcements entry
-
setUserName
Sets the user name of this announcements entry.- Specified by:
setUserNamein interfaceAnnouncementsEntryModel- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this announcements entry
-
setUserUuid
Sets the user uuid of this announcements entry.- Specified by:
setUserUuidin interfaceAnnouncementsEntryModel- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this announcements entry
-
setUuid
Sets the uuid of this announcements entry.- Specified by:
setUuidin interfaceAnnouncementsEntryModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this announcements entry
-
toXmlString
- Specified by:
toXmlStringin interfaceAnnouncementsEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<AnnouncementsEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<AnnouncementsEntry>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<AnnouncementsEntry>
-