|
Liferay 6.0.4 | |||||||||
| 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
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.
Never modify or reference this class directly. All methods that expect a announcements flag model instance should use the AnnouncementsFlag interface instead.
AnnouncementsFlagImpl,
AnnouncementsFlag,
AnnouncementsFlagModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
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
|
| Constructor Summary | |
|---|---|
AnnouncementsFlagModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsFlag announcementsFlag)
|
boolean |
equals(Object obj)
|
Date |
getCreateDate()
Gets the create date of this announcements flag. |
long |
getEntryId()
Gets the entry id of this announcements flag. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getFlagId()
Gets the flag id of this announcements flag. |
long |
getOriginalEntryId()
|
long |
getOriginalUserId()
|
int |
getOriginalValue()
|
long |
getPrimaryKey()
Gets the primary key of this announcements flag. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this announcements flag. |
String |
getUserUuid()
Gets the user uuid of this announcements flag. |
int |
getValue()
Gets the value of this announcements flag. |
int |
hashCode()
|
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 |
setPrimaryKey(long pk)
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. |
AnnouncementsFlag |
toEscapedModel()
Gets a copy of this announcements flag 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()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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 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 pk)
AnnouncementsFlagModel
setPrimaryKey in interface AnnouncementsFlagModelpk - the primary key of this announcements flagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>getPrimaryKeyObj in interface AnnouncementsFlagModelpublic long getFlagId()
AnnouncementsFlagModel
getFlagId in interface AnnouncementsFlagModelpublic void setFlagId(long flagId)
AnnouncementsFlagModel
setFlagId in interface AnnouncementsFlagModelflagId - the flag id of this announcements flagpublic 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()
public Date getCreateDate()
AnnouncementsFlagModel
getCreateDate in interface AnnouncementsFlagModelpublic void setCreateDate(Date createDate)
AnnouncementsFlagModel
setCreateDate in interface AnnouncementsFlagModelcreateDate - the create date of this announcements flagpublic 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()
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 AnnouncementsFlag toEscapedModel()
AnnouncementsFlagModelAutoEscapeBeanHandler.
toEscapedModel in interface AnnouncementsFlagModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AnnouncementsFlag>getExpandoBridge 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 retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public 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 String toString()
toString in interface AnnouncementsFlagModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AnnouncementsFlag>toXmlString in interface AnnouncementsFlagModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||