|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
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()
|
AnnouncementsFlag |
toUnescapedModel()
|
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, setNew |
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, setNew |
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 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 AnnouncementsFlagModel
public void setPrimaryKey(long primaryKey)
AnnouncementsFlagModel
setPrimaryKey
in interface AnnouncementsFlagModel
primaryKey
- the primary key of this announcements flagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsFlag>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AnnouncementsFlagModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AnnouncementsFlag>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AnnouncementsFlagModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 AnnouncementsFlagModel
public void setFlagId(long flagId)
AnnouncementsFlagModel
setFlagId
in interface AnnouncementsFlagModel
flagId
- the flag ID of this announcements flag@JSON public long getUserId()
AnnouncementsFlagModel
getUserId
in interface AnnouncementsFlagModel
public void setUserId(long userId)
AnnouncementsFlagModel
setUserId
in interface AnnouncementsFlagModel
userId
- the user ID of this announcements flagpublic String getUserUuid() throws SystemException
AnnouncementsFlagModel
getUserUuid
in interface AnnouncementsFlagModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AnnouncementsFlagModel
setUserUuid
in interface AnnouncementsFlagModel
userUuid
- the user uuid of this announcements flagpublic long getOriginalUserId()
@JSON public Date getCreateDate()
AnnouncementsFlagModel
getCreateDate
in interface AnnouncementsFlagModel
public void setCreateDate(Date createDate)
AnnouncementsFlagModel
setCreateDate
in interface AnnouncementsFlagModel
createDate
- the create date of this announcements flag@JSON public long getEntryId()
AnnouncementsFlagModel
getEntryId
in interface AnnouncementsFlagModel
public void setEntryId(long entryId)
AnnouncementsFlagModel
setEntryId
in interface AnnouncementsFlagModel
entryId
- the entry ID of this announcements flagpublic long getOriginalEntryId()
@JSON public int getValue()
AnnouncementsFlagModel
getValue
in interface AnnouncementsFlagModel
public void setValue(int value)
AnnouncementsFlagModel
setValue
in interface AnnouncementsFlagModel
value
- the value of this announcements flagpublic int getOriginalValue()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsFlag>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AnnouncementsFlagModel
getExpandoBridge
in class BaseModelImpl<AnnouncementsFlag>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsFlag>
setExpandoBridgeAttributes
in interface AnnouncementsFlagModel
setExpandoBridgeAttributes
in class BaseModelImpl<AnnouncementsFlag>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public AnnouncementsFlag toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AnnouncementsFlag>
toEscapedModel
in interface AnnouncementsFlagModel
toEscapedModel
in class BaseModelImpl<AnnouncementsFlag>
AutoEscapeBeanHandler
public AnnouncementsFlag toUnescapedModel()
toUnescapedModel
in interface BaseModel<AnnouncementsFlag>
toUnescapedModel
in interface AnnouncementsFlagModel
toUnescapedModel
in class BaseModelImpl<AnnouncementsFlag>
public Object clone()
BaseModel
clone
in interface BaseModel<AnnouncementsFlag>
clone
in interface AnnouncementsFlagModel
clone
in class BaseModelImpl<AnnouncementsFlag>
public int compareTo(AnnouncementsFlag announcementsFlag)
compareTo
in interface AnnouncementsFlagModel
compareTo
in interface Comparable<AnnouncementsFlag>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AnnouncementsFlagModel
hashCode
in class Object
public 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 AnnouncementsFlagModel
toCacheModel
in class BaseModelImpl<AnnouncementsFlag>
public String toString()
toString
in interface AnnouncementsFlagModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AnnouncementsFlag>
toXmlString
in interface AnnouncementsFlagModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |