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 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.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.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.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this announcements flag.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<AnnouncementsFlag>- Parameters:
primaryKey- the primary key of this announcements flag
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this announcements flag.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this announcements flag
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this announcements flag.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this announcements flag
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this announcements flag.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this announcements flag
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this announcements flag.- Specified by:
setCompanyIdin 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:
cloneWithOriginalValuesin interfaceBaseModel<AnnouncementsFlag>
-
toXmlString
-