|
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<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 FormField 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 MBMessageFlagModel
public void setPrimaryKey(long pk)
MBMessageFlagModel
setPrimaryKey
in interface MBMessageFlagModel
pk
- the primary key of this message boards message flagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBMessageFlag>
getPrimaryKeyObj
in interface MBMessageFlagModel
public long getMessageFlagId()
MBMessageFlagModel
getMessageFlagId
in interface MBMessageFlagModel
public void setMessageFlagId(long messageFlagId)
MBMessageFlagModel
setMessageFlagId
in interface MBMessageFlagModel
messageFlagId
- the message flag id of this message boards message flagpublic long getUserId()
MBMessageFlagModel
getUserId
in interface MBMessageFlagModel
public void setUserId(long userId)
MBMessageFlagModel
setUserId
in interface MBMessageFlagModel
userId
- the user id of this message boards message flagpublic String getUserUuid() throws SystemException
MBMessageFlagModel
getUserUuid
in interface MBMessageFlagModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
MBMessageFlagModel
setUserUuid
in interface MBMessageFlagModel
userUuid
- the user uuid of this message boards message flagpublic long getOriginalUserId()
public Date getModifiedDate()
MBMessageFlagModel
getModifiedDate
in interface MBMessageFlagModel
public void setModifiedDate(Date modifiedDate)
MBMessageFlagModel
setModifiedDate
in interface MBMessageFlagModel
modifiedDate
- the modified date of this message boards message flagpublic long getThreadId()
MBMessageFlagModel
getThreadId
in interface MBMessageFlagModel
public void setThreadId(long threadId)
MBMessageFlagModel
setThreadId
in interface MBMessageFlagModel
threadId
- the thread id of this message boards message flagpublic long getMessageId()
MBMessageFlagModel
getMessageId
in interface MBMessageFlagModel
public void setMessageId(long messageId)
MBMessageFlagModel
setMessageId
in interface MBMessageFlagModel
messageId
- the message id of this message boards message flagpublic long getOriginalMessageId()
public int getFlag()
MBMessageFlagModel
getFlag
in interface MBMessageFlagModel
public void setFlag(int flag)
MBMessageFlagModel
setFlag
in interface MBMessageFlagModel
flag
- the flag of this message boards message flagpublic int getOriginalFlag()
public MBMessageFlag toEscapedModel()
MBMessageFlagModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface MBMessageFlagModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBMessageFlag>
getExpandoBridge
in interface MBMessageFlagModel
getExpandoBridge
in class BaseModelImpl<MBMessageFlag>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBMessageFlag>
setExpandoBridgeAttributes
in interface MBMessageFlagModel
setExpandoBridgeAttributes
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 MBMessageFlagModel
clone
in class BaseModelImpl<MBMessageFlag>
public int compareTo(MBMessageFlag mbMessageFlag)
compareTo
in interface MBMessageFlagModel
compareTo
in interface Comparable<MBMessageFlag>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface MBMessageFlagModel
hashCode
in class Object
public String toString()
toString
in interface MBMessageFlagModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBMessageFlag>
toXmlString
in interface MBMessageFlagModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |