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
model
Fields inherited from interface com.liferay.announcements.kernel.model.AnnouncementsFlag
FLAG_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this announcements flag.Returns the create date of this announcements flag.long
Returns the ct collection ID of this announcements flag.long
Returns the entry ID of this announcements flag.long
Returns the flag ID of this announcements flag.long
Returns the mvcc version of this announcements flag.long
Returns the primary key of this announcements flag.long
Returns the user ID of this announcements flag.Returns the user uuid of this announcements flag.int
getValue()
Returns the value of this announcements flag.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this announcements flag.void
setCreateDate
(Date createDate) Sets the create date of this announcements flag.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this announcements flag.void
setEntryId
(long entryId) Sets the entry ID of this announcements flag.void
setFlagId
(long flagId) Sets the flag ID of this announcements flag.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this announcements flag.void
setPrimaryKey
(long primaryKey) Sets the primary key of this announcements flag.void
setUserId
(long userId) Sets the user ID of this announcements flag.void
setUserUuid
(String userUuid) Sets the user uuid of this announcements flag.void
setValue
(int value) Sets the value of this announcements flag.protected AnnouncementsFlagWrapper
wrap
(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, 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
-
Constructor Details
-
AnnouncementsFlagWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<AnnouncementsFlag>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<AnnouncementsFlag>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAnnouncementsFlagModel
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<AnnouncementsFlag>
-
getCompanyId
public long getCompanyId()Returns the company ID of this announcements flag.- Specified by:
getCompanyId
in interfaceAnnouncementsFlagModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this announcements flag
-
getCreateDate
Returns the create date of this announcements flag.- Specified by:
getCreateDate
in interfaceAnnouncementsFlagModel
- Returns:
- the create date of this announcements flag
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this announcements flag.- Specified by:
getCtCollectionId
in interfaceAnnouncementsFlagModel
- Specified by:
getCtCollectionId
in 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:
getEntryId
in interfaceAnnouncementsFlagModel
- Returns:
- the entry ID of this announcements flag
-
getFlagId
public long getFlagId()Returns the flag ID of this announcements flag.- Specified by:
getFlagId
in interfaceAnnouncementsFlagModel
- Returns:
- the flag ID of this announcements flag
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this announcements flag.- Specified by:
getMvccVersion
in interfaceAnnouncementsFlagModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this announcements flag
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this announcements flag.- Specified by:
getPrimaryKey
in interfaceAnnouncementsFlagModel
- Specified by:
getPrimaryKey
in interfaceCTModel<AnnouncementsFlag>
- Returns:
- the primary key of this announcements flag
-
getUserId
public long getUserId()Returns the user ID of this announcements flag.- Specified by:
getUserId
in interfaceAnnouncementsFlagModel
- Returns:
- the user ID of this announcements flag
-
getUserUuid
Returns the user uuid of this announcements flag.- Specified by:
getUserUuid
in interfaceAnnouncementsFlagModel
- Returns:
- the user uuid of this announcements flag
-
getValue
public int getValue()Returns the value of this announcements flag.- Specified by:
getValue
in interfaceAnnouncementsFlagModel
- Returns:
- the value of this announcements flag
-
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
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this announcements flag.- Specified by:
setCompanyId
in interfaceAnnouncementsFlagModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this announcements flag
-
setCreateDate
Sets the create date of this announcements flag.- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceAnnouncementsFlagModel
- Specified by:
setCtCollectionId
in 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:
setEntryId
in 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:
setFlagId
in 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:
setMvccVersion
in interfaceAnnouncementsFlagModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceAnnouncementsFlagModel
- Specified by:
setPrimaryKey
in 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:
setUserId
in interfaceAnnouncementsFlagModel
- Parameters:
userId
- the user ID of this announcements flag
-
setUserUuid
Sets the user uuid of this announcements flag.- Specified by:
setUserUuid
in 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:
setValue
in interfaceAnnouncementsFlagModel
- Parameters:
value
- the value of this announcements flag
-
toXmlString
- Specified by:
toXmlString
in interfaceAnnouncementsFlagModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<AnnouncementsFlag>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<AnnouncementsFlag>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<AnnouncementsFlag>
-