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
static double PRIORITY_NOT_GIVEN
           
static java.lang.String THREAD_VIEW_COMBINATION
           
static java.lang.String THREAD_VIEW_FLAT
           
static java.lang.String THREAD_VIEW_TREE
           
 
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, getThreadId, getViewCount, hashCode, setCategoryId, setExpandoBridgeAttributes, setGroupId, setLastPostByUserId, setLastPostByUserUuid, setLastPostDate, setMessageCount, setPrimaryKey, setPriority, setRootMessageId, 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, notify, notifyAll, 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, getThreadId, getViewCount, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCategoryId, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setLastPostByUserId, setLastPostByUserUuid, setLastPostDate, setMessageCount, setNew, setPrimaryKey, setPriority, setRootMessageId, setThreadId, setViewCount, toEscapedModel, toString, toXmlString
 

Field Detail

PRIORITY_NOT_GIVEN

public static final double PRIORITY_NOT_GIVEN
See Also:
Constant Field Values

THREAD_VIEW_COMBINATION

public static final java.lang.String THREAD_VIEW_COMBINATION
See Also:
Constant Field Values

THREAD_VIEW_FLAT

public static final java.lang.String THREAD_VIEW_FLAT
See Also:
Constant Field Values

THREAD_VIEW_TREE

public static final java.lang.String THREAD_VIEW_TREE
See Also:
Constant Field Values
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