Interface AnnouncementsFlagModel
- All Superinterfaces:
BaseModel<AnnouncementsFlag>
,ClassedModel
,Cloneable
,Comparable<AnnouncementsFlag>
,CTModel<AnnouncementsFlag>
,MVCCModel
,Serializable
,ShardedModel
- All Known Subinterfaces:
AnnouncementsFlag
- All Known Implementing Classes:
AnnouncementsFlagWrapper
@ProviderType
public interface AnnouncementsFlagModel
extends BaseModel<AnnouncementsFlag>, CTModel<AnnouncementsFlag>, MVCCModel, ShardedModel
The base model interface for the AnnouncementsFlag service. Represents a row in the "AnnouncementsFlag" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.announcements.model.impl.AnnouncementsFlagImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this announcements flag.- Specified by:
getPrimaryKey
in interfaceCTModel<AnnouncementsFlag>
- Returns:
- the primary key of this announcements flag
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this announcements flag.- Specified by:
setPrimaryKey
in interfaceCTModel<AnnouncementsFlag>
- Parameters:
primaryKey
- the primary key of this announcements flag
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this announcements flag.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this announcements flag
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this announcements flag.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this announcements flag
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this announcements flag.- Specified by:
getCtCollectionId
in interfaceCTModel<AnnouncementsFlag>
- Returns:
- the ct collection ID of this announcements flag
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements flag.- Specified by:
setCtCollectionId
in interfaceCTModel<AnnouncementsFlag>
- Parameters:
ctCollectionId
- the ct collection ID of this announcements flag
-
getFlagId
long getFlagId()Returns the flag ID of this announcements flag.- Returns:
- the flag ID of this announcements flag
-
setFlagId
void setFlagId(long flagId) Sets the flag ID of this announcements flag.- Parameters:
flagId
- the flag ID of this announcements flag
-
getCompanyId
long getCompanyId()Returns the company ID of this announcements flag.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this announcements flag
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this announcements flag.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this announcements flag
-
getUserId
long getUserId()Returns the user ID of this announcements flag.- Returns:
- the user ID of this announcements flag
-
setUserId
void setUserId(long userId) Sets the user ID of this announcements flag.- Parameters:
userId
- the user ID of this announcements flag
-
getUserUuid
String getUserUuid()Returns the user uuid of this announcements flag.- Returns:
- the user uuid of this announcements flag
-
setUserUuid
Sets the user uuid of this announcements flag.- Parameters:
userUuid
- the user uuid of this announcements flag
-
getCreateDate
Date getCreateDate()Returns the create date of this announcements flag.- Returns:
- the create date of this announcements flag
-
setCreateDate
Sets the create date of this announcements flag.- Parameters:
createDate
- the create date of this announcements flag
-
getEntryId
long getEntryId()Returns the entry ID of this announcements flag.- Returns:
- the entry ID of this announcements flag
-
setEntryId
void setEntryId(long entryId) Sets the entry ID of this announcements flag.- Parameters:
entryId
- the entry ID of this announcements flag
-
getValue
int getValue()Returns the value of this announcements flag.- Returns:
- the value of this announcements flag
-
setValue
void setValue(int value) Sets the value of this announcements flag.- Parameters:
value
- the value of this announcements flag
-
cloneWithOriginalValues
AnnouncementsFlag cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<AnnouncementsFlag>
-
toXmlString
-