Class AnnouncementsFlagWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AnnouncementsFlag>
com.liferay.announcements.kernel.model.AnnouncementsFlagWrapper
- All Implemented Interfaces:
AnnouncementsFlag,AnnouncementsFlagModel,BaseModel<AnnouncementsFlag>,CTModel<AnnouncementsFlag>,ClassedModel,ModelWrapper<AnnouncementsFlag>,MVCCModel,PersistedModel,ShardedModel,Serializable,Cloneable,Comparable<AnnouncementsFlag>
public class AnnouncementsFlagWrapper
extends BaseModelWrapper<AnnouncementsFlag>
implements AnnouncementsFlag, ModelWrapper<AnnouncementsFlag>
This class is a wrapper for AnnouncementsFlag.
- 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.AnnouncementsFlag
FLAG_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this announcements flag.Returns the create date of this announcements flag.longReturns the ct collection ID of this announcements flag.longReturns the entry ID of this announcements flag.longReturns the flag ID of this announcements flag.longReturns the mvcc version of this announcements flag.longReturns the primary key of this announcements flag.longReturns the user ID of this announcements flag.Returns the user uuid of this announcements flag.intgetValue()Returns the value of this announcements flag.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetCompanyId(long companyId) Sets the company ID of this announcements flag.voidsetCreateDate(Date createDate) Sets the create date of this announcements flag.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements flag.voidsetEntryId(long entryId) Sets the entry ID of this announcements flag.voidsetFlagId(long flagId) Sets the flag ID of this announcements flag.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this announcements flag.voidsetPrimaryKey(long primaryKey) Sets the primary key of this announcements flag.voidsetUserId(long userId) Sets the user ID of this announcements flag.voidsetUserUuid(String userUuid) Sets the user uuid of this announcements flag.voidsetValue(int value) Sets the value of this announcements flag.protected AnnouncementsFlagWrapperwrap(AnnouncementsFlag announcementsFlag) 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
getWrappedModel
-
Constructor Details
-
AnnouncementsFlagWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<AnnouncementsFlag>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<AnnouncementsFlag>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAnnouncementsFlagModel- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<AnnouncementsFlag>
-
getCompanyId
public long getCompanyId()Returns the company ID of this announcements flag.- Specified by:
getCompanyIdin interfaceAnnouncementsFlagModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this announcements flag
-
getCreateDate
Returns the create date of this announcements flag.- Specified by:
getCreateDatein interfaceAnnouncementsFlagModel- Returns:
- the create date of this announcements flag
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this announcements flag.- Specified by:
getCtCollectionIdin interfaceAnnouncementsFlagModel- Specified by:
getCtCollectionIdin interfaceCTModel<AnnouncementsFlag>- Returns:
- the ct collection ID of this announcements flag
-
getEntryId
public long getEntryId()Returns the entry ID of this announcements flag.- Specified by:
getEntryIdin interfaceAnnouncementsFlagModel- Returns:
- the entry ID of this announcements flag
-
getFlagId
public long getFlagId()Returns the flag ID of this announcements flag.- Specified by:
getFlagIdin interfaceAnnouncementsFlagModel- Returns:
- the flag ID of this announcements flag
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this announcements flag.- Specified by:
getMvccVersionin interfaceAnnouncementsFlagModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this announcements flag
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this announcements flag.- Specified by:
getPrimaryKeyin interfaceAnnouncementsFlagModel- Specified by:
getPrimaryKeyin interfaceCTModel<AnnouncementsFlag>- Returns:
- the primary key of this announcements flag
-
getUserId
public long getUserId()Returns the user ID of this announcements flag.- Specified by:
getUserIdin interfaceAnnouncementsFlagModel- Returns:
- the user ID of this announcements flag
-
getUserUuid
Returns the user uuid of this announcements flag.- Specified by:
getUserUuidin interfaceAnnouncementsFlagModel- Returns:
- the user uuid of this announcements flag
-
getValue
public int getValue()Returns the value of this announcements flag.- Specified by:
getValuein interfaceAnnouncementsFlagModel- Returns:
- the value of this announcements flag
-
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
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this announcements flag.- Specified by:
setCompanyIdin interfaceAnnouncementsFlagModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this announcements flag
-
setCreateDate
Sets the create date of this announcements flag.- Specified by:
setCreateDatein interfaceAnnouncementsFlagModel- Parameters:
createDate- the create date of this announcements flag
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements flag.- Specified by:
setCtCollectionIdin interfaceAnnouncementsFlagModel- Specified by:
setCtCollectionIdin interfaceCTModel<AnnouncementsFlag>- Parameters:
ctCollectionId- the ct collection ID of this announcements flag
-
setEntryId
public void setEntryId(long entryId) Sets the entry ID of this announcements flag.- Specified by:
setEntryIdin interfaceAnnouncementsFlagModel- Parameters:
entryId- the entry ID of this announcements flag
-
setFlagId
public void setFlagId(long flagId) Sets the flag ID of this announcements flag.- Specified by:
setFlagIdin interfaceAnnouncementsFlagModel- Parameters:
flagId- the flag ID of this announcements flag
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this announcements flag.- Specified by:
setMvccVersionin interfaceAnnouncementsFlagModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this announcements flag
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this announcements flag.- Specified by:
setPrimaryKeyin interfaceAnnouncementsFlagModel- Specified by:
setPrimaryKeyin interfaceCTModel<AnnouncementsFlag>- Parameters:
primaryKey- the primary key of this announcements flag
-
setUserId
public void setUserId(long userId) Sets the user ID of this announcements flag.- Specified by:
setUserIdin interfaceAnnouncementsFlagModel- Parameters:
userId- the user ID of this announcements flag
-
setUserUuid
Sets the user uuid of this announcements flag.- Specified by:
setUserUuidin interfaceAnnouncementsFlagModel- Parameters:
userUuid- the user uuid of this announcements flag
-
setValue
public void setValue(int value) Sets the value of this announcements flag.- Specified by:
setValuein interfaceAnnouncementsFlagModel- Parameters:
value- the value of this announcements flag
-
toXmlString
- Specified by:
toXmlStringin interfaceAnnouncementsFlagModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<AnnouncementsFlag>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<AnnouncementsFlag>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<AnnouncementsFlag>
-