|
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<MBDiscussion> com.liferay.portlet.messageboards.model.impl.MBDiscussionModelImpl
public class MBDiscussionModelImpl
The base model implementation for the MBDiscussion service. Represents a row in the "MBDiscussion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface MBDiscussionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in MBDiscussionImpl
.
Never modify or reference this class directly. All methods that expect a message boards discussion model instance should use the MBDiscussion
interface instead.
MBDiscussionImpl
,
MBDiscussion
,
MBDiscussionModel
,
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 | |
---|---|
MBDiscussionModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBDiscussion mbDiscussion)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Gets the class name of the model instance this message boards discussion is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this message boards discussion. |
long |
getClassPK()
Gets the class p k of this message boards discussion. |
long |
getDiscussionId()
Gets the discussion id of this message boards discussion. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalThreadId()
|
long |
getPrimaryKey()
Gets the primary key of this message boards discussion. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getThreadId()
Gets the thread id of this message boards discussion. |
int |
hashCode()
|
void |
setClassNameId(long classNameId)
Sets the class name id of this message boards discussion. |
void |
setClassPK(long classPK)
Sets the class p k of this message boards discussion. |
void |
setDiscussionId(long discussionId)
Sets the discussion id of this message boards discussion. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setPrimaryKey(long pk)
Sets the primary key of this message boards discussion |
void |
setThreadId(long threadId)
Sets the thread id of this message boards discussion. |
MBDiscussion |
toEscapedModel()
Gets a copy of this message boards discussion as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
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.MBDiscussionModel |
---|
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 MBDiscussionModelImpl()
Method Detail |
---|
public long getPrimaryKey()
MBDiscussionModel
getPrimaryKey
in interface MBDiscussionModel
public void setPrimaryKey(long pk)
MBDiscussionModel
setPrimaryKey
in interface MBDiscussionModel
pk
- the primary key of this message boards discussionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBDiscussion>
getPrimaryKeyObj
in interface MBDiscussionModel
public long getDiscussionId()
MBDiscussionModel
getDiscussionId
in interface MBDiscussionModel
public void setDiscussionId(long discussionId)
MBDiscussionModel
setDiscussionId
in interface MBDiscussionModel
discussionId
- the discussion id of this message boards discussionpublic String getClassName()
MBDiscussionModel
getClassName
in interface MBDiscussionModel
public long getClassNameId()
MBDiscussionModel
getClassNameId
in interface MBDiscussionModel
public void setClassNameId(long classNameId)
MBDiscussionModel
setClassNameId
in interface MBDiscussionModel
classNameId
- the class name id of this message boards discussionpublic long getOriginalClassNameId()
public long getClassPK()
MBDiscussionModel
getClassPK
in interface MBDiscussionModel
public void setClassPK(long classPK)
MBDiscussionModel
setClassPK
in interface MBDiscussionModel
classPK
- the class p k of this message boards discussionpublic long getOriginalClassPK()
public long getThreadId()
MBDiscussionModel
getThreadId
in interface MBDiscussionModel
public void setThreadId(long threadId)
MBDiscussionModel
setThreadId
in interface MBDiscussionModel
threadId
- the thread id of this message boards discussionpublic long getOriginalThreadId()
public MBDiscussion toEscapedModel()
MBDiscussionModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface MBDiscussionModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBDiscussion>
getExpandoBridge
in interface MBDiscussionModel
getExpandoBridge
in class BaseModelImpl<MBDiscussion>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBDiscussion>
setExpandoBridgeAttributes
in interface MBDiscussionModel
setExpandoBridgeAttributes
in class BaseModelImpl<MBDiscussion>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<MBDiscussion>
clone
in interface MBDiscussionModel
clone
in class BaseModelImpl<MBDiscussion>
public int compareTo(MBDiscussion mbDiscussion)
compareTo
in interface MBDiscussionModel
compareTo
in interface Comparable<MBDiscussion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface MBDiscussionModel
hashCode
in class Object
public String toString()
toString
in interface MBDiscussionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBDiscussion>
toXmlString
in interface MBDiscussionModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |