com.liferay.portlet.messageboards.model.impl
Class MBThreadImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThread>
      extended by com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
          extended by com.liferay.portlet.messageboards.model.impl.MBThreadImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThread>, com.liferay.portlet.messageboards.model.MBThread, com.liferay.portlet.messageboards.model.MBThreadModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.messageboards.model.MBThread>

public class MBThreadImpl
extends MBThreadModelImpl
implements com.liferay.portlet.messageboards.model.MBThread

View Source

Author:
Brian Wing Shun Chan, Mika Koivisto
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
MBThreadImpl()
           
 
Method Summary
 java.lang.String getAttachmentsDir()
           
 com.liferay.portal.model.Lock getLock()
           
 boolean hasLock(long userId)
           
 boolean isLocked()
           
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
clone, compareTo, equals, getCategoryId, getExpandoBridge, getGroupId, getLastPostByUserId, getLastPostByUserUuid, getLastPostDate, getMessageCount, getPrimaryKey, getPrimaryKeyObj, getPriority, getRootMessageId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThreadId, getViewCount, hashCode, setCategoryId, setExpandoBridgeAttributes, setGroupId, setLastPostByUserId, setLastPostByUserUuid, setLastPostDate, setMessageCount, setPrimaryKey, setPriority, setRootMessageId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThreadId, setViewCount, toEscapedModel, toModel, toModels, toString, toXmlString
 
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, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBThreadModel
clone, compareTo, getCategoryId, getExpandoBridge, getGroupId, getLastPostByUserId, getLastPostByUserUuid, getLastPostDate, getMessageCount, getPrimaryKey, getPrimaryKeyObj, getPriority, getRootMessageId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThreadId, getViewCount, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCategoryId, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setLastPostByUserId, setLastPostByUserUuid, setLastPostDate, setMessageCount, setNew, setPrimaryKey, setPriority, setRootMessageId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThreadId, setViewCount, toEscapedModel, toString, toXmlString
 

Constructor Detail

MBThreadImpl

public MBThreadImpl()
Method Detail

getAttachmentsDir

public java.lang.String getAttachmentsDir()
Specified by:
getAttachmentsDir in interface com.liferay.portlet.messageboards.model.MBThread

getLock

public com.liferay.portal.model.Lock getLock()
Specified by:
getLock in interface com.liferay.portlet.messageboards.model.MBThread

hasLock

public boolean hasLock(long userId)
Specified by:
hasLock in interface com.liferay.portlet.messageboards.model.MBThread

isLocked

public boolean isLocked()
Specified by:
isLocked in interface com.liferay.portlet.messageboards.model.MBThread