|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<AnnouncementsFlag>
com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl
@JSON(strict=true) public class AnnouncementsFlagModelImpl
The base model implementation for the AnnouncementsFlag service. Represents a row in the "AnnouncementsFlag" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AnnouncementsFlagModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AnnouncementsFlagImpl.
AnnouncementsFlagImpl,
AnnouncementsFlag,
AnnouncementsFlagModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
CREATEDATE_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
ENTRYID_COLUMN_BITMASK
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
USERID_COLUMN_BITMASK
|
static long |
VALUE_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
AnnouncementsFlagModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsFlag announcementsFlag)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalEntryId()
|
long |
getOriginalUserId()
|
int |
getOriginalValue()
|
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()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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(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 |
setModelAttributes(Map<String,Object> attributes)
|
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. |
static AnnouncementsFlag |
toModel(AnnouncementsFlagSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AnnouncementsFlag> |
toModels(AnnouncementsFlagSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.announcements.model.AnnouncementsFlagModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long ENTRYID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long VALUE_COLUMN_BITMASK
public static long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AnnouncementsFlagModelImpl()
| Method Detail |
|---|
public static AnnouncementsFlag toModel(AnnouncementsFlagSoap soapModel)
soapModel - the soap model instance to convert
public static List<AnnouncementsFlag> toModels(AnnouncementsFlagSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
AnnouncementsFlagModel
getPrimaryKey in interface AnnouncementsFlagModelpublic void setPrimaryKey(long primaryKey)
AnnouncementsFlagModel
setPrimaryKey in interface AnnouncementsFlagModelprimaryKey - the primary key of this announcements flagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AnnouncementsFlagModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AnnouncementsFlagModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AnnouncementsFlag>getModelAttributes in class BaseModelImpl<AnnouncementsFlag>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsFlag>setModelAttributes in class BaseModelImpl<AnnouncementsFlag>@JSON public long getFlagId()
AnnouncementsFlagModel
getFlagId in interface AnnouncementsFlagModelpublic void setFlagId(long flagId)
AnnouncementsFlagModel
setFlagId in interface AnnouncementsFlagModelflagId - the flag ID of this announcements flag@JSON public long getUserId()
AnnouncementsFlagModel
getUserId in interface AnnouncementsFlagModelpublic void setUserId(long userId)
AnnouncementsFlagModel
setUserId in interface AnnouncementsFlagModeluserId - the user ID of this announcements flag
public String getUserUuid()
throws SystemException
AnnouncementsFlagModel
getUserUuid in interface AnnouncementsFlagModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AnnouncementsFlagModel
setUserUuid in interface AnnouncementsFlagModeluserUuid - the user uuid of this announcements flagpublic long getOriginalUserId()
@JSON public Date getCreateDate()
AnnouncementsFlagModel
getCreateDate in interface AnnouncementsFlagModelpublic void setCreateDate(Date createDate)
AnnouncementsFlagModel
setCreateDate in interface AnnouncementsFlagModelcreateDate - the create date of this announcements flag@JSON public long getEntryId()
AnnouncementsFlagModel
getEntryId in interface AnnouncementsFlagModelpublic void setEntryId(long entryId)
AnnouncementsFlagModel
setEntryId in interface AnnouncementsFlagModelentryId - the entry ID of this announcements flagpublic long getOriginalEntryId()
@JSON public int getValue()
AnnouncementsFlagModel
getValue in interface AnnouncementsFlagModelpublic void setValue(int value)
AnnouncementsFlagModel
setValue in interface AnnouncementsFlagModelvalue - the value of this announcements flagpublic int getOriginalValue()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AnnouncementsFlag>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AnnouncementsFlagModelgetExpandoBridge in class BaseModelImpl<AnnouncementsFlag>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>setExpandoBridgeAttributes in interface AnnouncementsFlagModelsetExpandoBridgeAttributes in class BaseModelImpl<AnnouncementsFlag>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public AnnouncementsFlag toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AnnouncementsFlag>toEscapedModel in interface AnnouncementsFlagModeltoEscapedModel in class BaseModelImpl<AnnouncementsFlag>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<AnnouncementsFlag>clone in interface AnnouncementsFlagModelclone in class BaseModelImpl<AnnouncementsFlag>public int compareTo(AnnouncementsFlag announcementsFlag)
compareTo in interface AnnouncementsFlagModelcompareTo in interface Comparable<AnnouncementsFlag>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AnnouncementsFlagModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<AnnouncementsFlag>resetOriginalValues in class BaseModelImpl<AnnouncementsFlag>public CacheModel<AnnouncementsFlag> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AnnouncementsFlag>toCacheModel in interface AnnouncementsFlagModeltoCacheModel in class BaseModelImpl<AnnouncementsFlag>public String toString()
toString in interface AnnouncementsFlagModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AnnouncementsFlag>toXmlString in interface AnnouncementsFlagModel
|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||