Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.model
Interface MBThread

All Superinterfaces:
AuditedModel, BaseModel<MBThread>, ClassedModel, Cloneable, Comparable<MBThread>, ContainerModel, GroupedModel, MBThreadModel, PersistedModel, Serializable, ShardedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel
All Known Implementing Classes:
MBThreadBaseImpl, MBThreadImpl, MBThreadWrapper

@ProviderType
public interface MBThread
extends MBThreadModel, PersistedModel

The extended model interface for the MBThread service. Represents a row in the "MBThread" database table, with each column mapped to a property of this class.

See Also:
MBThreadModel, MBThreadImpl, MBThreadModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static Accessor<MBThread,Long> THREAD_ID_ACCESSOR
           
 
Method Summary
 Folder addAttachmentsFolder()
           
 long getAttachmentsFolderId()
           
 MBCategory getCategory()
           
 Lock getLock()
           
 long[] getParticipantUserIds()
           
 boolean hasLock(long userId)
           
 boolean isLocked()
           
 
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
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Field Detail

THREAD_ID_ACCESSOR

static final Accessor<MBThread,Long> THREAD_ID_ACCESSOR
Method Detail

addAttachmentsFolder

Folder addAttachmentsFolder()
                            throws PortalException
Throws:
PortalException

getAttachmentsFolderId

long getAttachmentsFolderId()

getCategory

MBCategory getCategory()
                       throws PortalException
Throws:
PortalException

getLock

Lock getLock()

getParticipantUserIds

long[] getParticipantUserIds()

hasLock

boolean hasLock(long userId)

isLocked

boolean isLocked()

Liferay 7.0-ce-b4