@ProviderType public interface AnnouncementsFlagModel extends BaseModel<AnnouncementsFlag>, ShardedModel
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.
AnnouncementsFlag,
com.liferay.portlet.announcements.model.impl.AnnouncementsFlagImpl,
com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AnnouncementsFlag announcementsFlag) |
long |
getCompanyId()
Returns the company ID of this announcements flag.
|
Date |
getCreateDate()
Returns the create date of this announcements flag.
|
long |
getEntryId()
Returns the entry ID of this announcements flag.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getFlagId()
Returns the flag ID of this announcements flag.
|
long |
getPrimaryKey()
Returns the primary key of this announcements flag.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this announcements flag.
|
String |
getUserUuid()
Returns the user uuid of this announcements flag.
|
int |
getValue()
Returns the value of this announcements flag.
|
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
setEntryId(long entryId)
Sets the entry ID of this announcements flag.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setFlagId(long flagId)
Sets the flag ID of this announcements flag.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this announcements flag.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<AnnouncementsFlag> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AnnouncementsFlag |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
AnnouncementsFlag |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this announcements flaglong getFlagId()
void setFlagId(long flagId)
flagId - the flag ID of this announcements flaglong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this announcements flaglong getUserId()
void setUserId(long userId)
userId - the user ID of this announcements flagString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this announcements flagDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this announcements flaglong getEntryId()
void setEntryId(long entryId)
entryId - the entry ID of this announcements flagint getValue()
void setValue(int value)
value - the value of this announcements flagboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<AnnouncementsFlag>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<AnnouncementsFlag>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<AnnouncementsFlag>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<AnnouncementsFlag>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<AnnouncementsFlag>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AnnouncementsFlag>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<AnnouncementsFlag>int compareTo(AnnouncementsFlag announcementsFlag)
compareTo in interface Comparable<AnnouncementsFlag>CacheModel<AnnouncementsFlag> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AnnouncementsFlag>AnnouncementsFlag toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AnnouncementsFlag>AutoEscapeBeanHandlerAnnouncementsFlag toUnescapedModel()
toUnescapedModel in interface BaseModel<AnnouncementsFlag>String toXmlString()
BaseModeltoXmlString in interface BaseModel<AnnouncementsFlag>