com.liferay.portlet.messageboards.model.impl
Class MBCategoryModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBCategory>
com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBCategory>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.messageboards.model.MBCategory>
- Direct Known Subclasses:
- MBCategoryImpl
public class MBCategoryModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBCategory>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a model that represents the MBCategory
table
in the database.
- Author:
- Brian Wing Shun Chan
- See Also:
MBCategory
,
MBCategoryModel
,
MBCategoryImpl
,
Serialized Form
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 |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
MBCategoryModelImpl
public MBCategoryModelImpl()
toModel
public static com.liferay.portlet.messageboards.model.MBCategory toModel(com.liferay.portlet.messageboards.model.MBCategorySoap soapModel)
toModels
public static java.util.List<com.liferay.portlet.messageboards.model.MBCategory> toModels(com.liferay.portlet.messageboards.model.MBCategorySoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(long pk)
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
getUuid
public java.lang.String getUuid()
setUuid
public void setUuid(java.lang.String uuid)
getOriginalUuid
public java.lang.String getOriginalUuid()
getCategoryId
public long getCategoryId()
setCategoryId
public void setCategoryId(long categoryId)
getGroupId
public long getGroupId()
setGroupId
public void setGroupId(long groupId)
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
public long getCompanyId()
setCompanyId
public void setCompanyId(long companyId)
getUserId
public long getUserId()
setUserId
public void setUserId(long userId)
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getCreateDate
public java.util.Date getCreateDate()
setCreateDate
public void setCreateDate(java.util.Date createDate)
getModifiedDate
public java.util.Date getModifiedDate()
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
getParentCategoryId
public long getParentCategoryId()
setParentCategoryId
public void setParentCategoryId(long parentCategoryId)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getThreadCount
public int getThreadCount()
setThreadCount
public void setThreadCount(int threadCount)
getMessageCount
public int getMessageCount()
setMessageCount
public void setMessageCount(int messageCount)
getLastPostDate
public java.util.Date getLastPostDate()
setLastPostDate
public void setLastPostDate(java.util.Date lastPostDate)
toEscapedModel
public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel()
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBCategory>
- Overrides:
getExpandoBridge
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBCategory>
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBCategory>
- Specified by:
clone
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBCategory>
compareTo
public int compareTo(com.liferay.portlet.messageboards.model.MBCategory mbCategory)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()