Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<MBThread>
      extended by com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
          extended by com.liferay.portlet.messageboards.model.impl.MBThreadBaseImpl
              extended by com.liferay.portlet.messageboards.model.impl.MBThreadImpl
All Implemented Interfaces:
AuditedModel, BaseModel<MBThread>, ClassedModel, ContainerModel, GroupedModel, PersistedModel, ShardedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel, MBThread, MBThreadModel, Serializable, Cloneable, Comparable<MBThread>

public class MBThreadImpl
extends MBThreadBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
CATEGORYID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LASTPOSTDATE_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, PRIORITY_COLUMN_BITMASK, ROOTMESSAGEID_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.portlet.messageboards.model.MBThread
THREAD_ID_ACCESSOR
 
Constructor Summary
MBThreadImpl()
           
 
Method Summary
 Folder addAttachmentsFolder()
           
 long getAttachmentsFolderId()
           
 MBCategory getCategory()
           
 Lock getLock()
           
 long[] getParticipantUserIds()
           
 boolean hasLock(long userId)
           
 boolean isLocked()
           
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBThreadBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
clone, compareTo, equals, getCategoryId, getColumnBitmask, getCompanyId, getContainerModelId, getContainerModelName, getCreateDate, getExpandoBridge, getGroupId, getLastPostByUserId, getLastPostByUserUuid, getLastPostDate, getLastPublishDate, getMessageCount, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalCategoryId, getOriginalCompanyId, getOriginalGroupId, getOriginalLastPostDate, getOriginalPriority, getOriginalRootMessageId, getOriginalStatus, getOriginalUuid, getParentContainerModelId, getPrimaryKey, getPrimaryKeyObj, getPriority, getQuestion, getRootMessageId, getRootMessageUserId, getRootMessageUserUuid, getStagedModelType, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThreadId, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, getViewCount, hashCode, hasSetModifiedDate, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isInactive, isIncomplete, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isPending, isQuestion, isScheduled, resetOriginalValues, setCategoryId, setCompanyId, setContainerModelId, setCreateDate, setExpandoBridgeAttributes, setGroupId, setLastPostByUserId, setLastPostByUserUuid, setLastPostDate, setLastPublishDate, setMessageCount, setModelAttributes, setModifiedDate, setParentContainerModelId, setPrimaryKey, setPrimaryKeyObj, setPriority, setQuestion, setRootMessageId, setRootMessageUserId, setRootMessageUserUuid, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThreadId, setUserId, setUserName, setUserUuid, setUuid, setViewCount, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
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, getCompanyId, getContainerModelId, getContainerModelName, getCreateDate, getExpandoBridge, getGroupId, getLastPostByUserId, getLastPostByUserUuid, getLastPostDate, getLastPublishDate, getMessageCount, getModifiedDate, getParentContainerModelId, getPrimaryKey, getPrimaryKeyObj, getPriority, getQuestion, getRootMessageId, getRootMessageUserId, getRootMessageUserUuid, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThreadId, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, getViewCount, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isNew, isPending, isQuestion, isScheduled, setCachedModel, setCategoryId, setCompanyId, setContainerModelId, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLastPostByUserId, setLastPostByUserUuid, setLastPostDate, setLastPublishDate, setMessageCount, setModifiedDate, setNew, setParentContainerModelId, setPrimaryKey, setPrimaryKeyObj, setPriority, setQuestion, setRootMessageId, setRootMessageUserId, setRootMessageUserUuid, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThreadId, setUserId, setUserName, setUserUuid, setUuid, setViewCount, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ContainerModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 

Constructor Detail

MBThreadImpl

public MBThreadImpl()
Method Detail

addAttachmentsFolder

public Folder addAttachmentsFolder()
                            throws PortalException
Throws:
PortalException

getAttachmentsFolderId

public long getAttachmentsFolderId()

getCategory

public MBCategory getCategory()
                       throws PortalException
Throws:
PortalException

getLock

public Lock getLock()

getParticipantUserIds

public long[] getParticipantUserIds()

hasLock

public boolean hasLock(long userId)

isLocked

public boolean isLocked()

Liferay 7.0-ce-b4