|
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<MBMessageFlag>
com.liferay.portlet.messageboards.model.impl.MBMessageFlagModelImpl
public class MBMessageFlagModelImpl
The base model implementation for the MBMessageFlag service. Represents a row in the "MBMessageFlag" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface MBMessageFlagModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in MBMessageFlagImpl.
Never modify or reference this class directly. All methods that expect a message boards message flag model instance should use the MBMessageFlag interface instead.
MBMessageFlagImpl,
MBMessageFlag,
MBMessageFlagModel,
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 |
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 | |
|---|---|
MBMessageFlagModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessageFlag mbMessageFlag)
|
boolean |
equals(Object obj)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
int |
getFlag()
Gets the flag of this message boards message flag. |
long |
getMessageFlagId()
Gets the message flag id of this message boards message flag. |
long |
getMessageId()
Gets the message id of this message boards message flag. |
Date |
getModifiedDate()
Gets the modified date of this message boards message flag. |
int |
getOriginalFlag()
|
long |
getOriginalMessageId()
|
long |
getOriginalUserId()
|
long |
getPrimaryKey()
Gets the primary key of this message boards message flag. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getThreadId()
Gets the thread id of this message boards message flag. |
long |
getUserId()
Gets the user id of this message boards message flag. |
String |
getUserUuid()
Gets the user uuid of this message boards message flag. |
int |
hashCode()
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFlag(int flag)
Sets the flag of this message boards message flag. |
void |
setMessageFlagId(long messageFlagId)
Sets the message flag id of this message boards message flag. |
void |
setMessageId(long messageId)
Sets the message id of this message boards message flag. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this message boards message flag. |
void |
setPrimaryKey(long pk)
Sets the primary key of this message boards message flag |
void |
setThreadId(long threadId)
Sets the thread id of this message boards message flag. |
void |
setUserId(long userId)
Sets the user id of this message boards message flag. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this message boards message flag. |
MBMessageFlag |
toEscapedModel()
Gets a copy of this message boards message flag as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static MBMessageFlag |
toModel(MBMessageFlagSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<MBMessageFlag> |
toModels(MBMessageFlagSoap[] 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.messageboards.model.MBMessageFlagModel |
|---|
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 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 MBMessageFlagModelImpl()
| Method Detail |
|---|
public static MBMessageFlag toModel(MBMessageFlagSoap soapModel)
soapModel - the soap model instance to convert
public static List<MBMessageFlag> toModels(MBMessageFlagSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
MBMessageFlagModel
getPrimaryKey in interface MBMessageFlagModelpublic void setPrimaryKey(long pk)
MBMessageFlagModel
setPrimaryKey in interface MBMessageFlagModelpk - the primary key of this message boards message flagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBMessageFlag>getPrimaryKeyObj in interface MBMessageFlagModelpublic long getMessageFlagId()
MBMessageFlagModel
getMessageFlagId in interface MBMessageFlagModelpublic void setMessageFlagId(long messageFlagId)
MBMessageFlagModel
setMessageFlagId in interface MBMessageFlagModelmessageFlagId - the message flag id of this message boards message flagpublic long getUserId()
MBMessageFlagModel
getUserId in interface MBMessageFlagModelpublic void setUserId(long userId)
MBMessageFlagModel
setUserId in interface MBMessageFlagModeluserId - the user id of this message boards message flag
public String getUserUuid()
throws SystemException
MBMessageFlagModel
getUserUuid in interface MBMessageFlagModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
MBMessageFlagModel
setUserUuid in interface MBMessageFlagModeluserUuid - the user uuid of this message boards message flagpublic long getOriginalUserId()
public Date getModifiedDate()
MBMessageFlagModel
getModifiedDate in interface MBMessageFlagModelpublic void setModifiedDate(Date modifiedDate)
MBMessageFlagModel
setModifiedDate in interface MBMessageFlagModelmodifiedDate - the modified date of this message boards message flagpublic long getThreadId()
MBMessageFlagModel
getThreadId in interface MBMessageFlagModelpublic void setThreadId(long threadId)
MBMessageFlagModel
setThreadId in interface MBMessageFlagModelthreadId - the thread id of this message boards message flagpublic long getMessageId()
MBMessageFlagModel
getMessageId in interface MBMessageFlagModelpublic void setMessageId(long messageId)
MBMessageFlagModel
setMessageId in interface MBMessageFlagModelmessageId - the message id of this message boards message flagpublic long getOriginalMessageId()
public int getFlag()
MBMessageFlagModel
getFlag in interface MBMessageFlagModelpublic void setFlag(int flag)
MBMessageFlagModel
setFlag in interface MBMessageFlagModelflag - the flag of this message boards message flagpublic int getOriginalFlag()
public MBMessageFlag toEscapedModel()
MBMessageFlagModelAutoEscapeBeanHandler.
toEscapedModel in interface MBMessageFlagModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBMessageFlag>getExpandoBridge in interface MBMessageFlagModelgetExpandoBridge in class BaseModelImpl<MBMessageFlag>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBMessageFlag>setExpandoBridgeAttributes in interface MBMessageFlagModelsetExpandoBridgeAttributes in class BaseModelImpl<MBMessageFlag>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MBMessageFlag>clone in interface MBMessageFlagModelclone in class BaseModelImpl<MBMessageFlag>public int compareTo(MBMessageFlag mbMessageFlag)
compareTo in interface MBMessageFlagModelcompareTo in interface Comparable<MBMessageFlag>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface MBMessageFlagModelhashCode in class Objectpublic String toString()
toString in interface MBMessageFlagModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBMessageFlag>toXmlString in interface MBMessageFlagModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||