|
Liferay 6.0.5 | |||||||||
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
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 FormField 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 AnnouncementsFlagModel
public void setPrimaryKey(long pk)
AnnouncementsFlagModel
setPrimaryKey
in interface AnnouncementsFlagModel
pk
- the primary key of this announcements flagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsFlag>
getPrimaryKeyObj
in interface AnnouncementsFlagModel
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 flagpublic 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()
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 flagpublic 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()
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 AnnouncementsFlag toEscapedModel()
AnnouncementsFlagModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AnnouncementsFlagModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsFlag>
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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 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.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |