|
Liferay 6.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.messageboards.service.base.MBThreadLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBThreadLocalServiceImpl
public class MBThreadLocalServiceImpl
Field Summary |
---|
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
MBThreadLocalServiceImpl()
|
Method Summary | |
---|---|
MBThread |
addThread(long categoryId,
MBMessage message,
ServiceContext serviceContext)
|
void |
deleteThread(long threadId)
|
void |
deleteThread(MBThread thread)
|
void |
deleteThreads(long groupId,
long categoryId)
|
void |
deleteThreads(long groupId,
long categoryId,
boolean includeTrashedEntries)
|
MBThread |
fetchThread(long threadId)
|
int |
getCategoryThreadsCount(long groupId,
long categoryId,
int status)
|
List<MBThread> |
getGroupThreads(long groupId,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupThreads(long,
QueryDefinition) |
List<MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
QueryDefinition queryDefinition)
|
List<MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
QueryDefinition queryDefinition)
|
List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupThreads(long, long,
boolean, boolean, QueryDefinition) |
List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupThreads(long, long,
boolean, QueryDefinition) |
List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupThreads(long, long,
QueryDefinition) |
List<MBThread> |
getGroupThreads(long groupId,
long userId,
QueryDefinition queryDefinition)
|
List<MBThread> |
getGroupThreads(long groupId,
QueryDefinition queryDefinition)
|
int |
getGroupThreadsCount(long groupId,
int status)
Deprecated. As of 6.2.0, replaced by getGroupThreadsCount(long,
QueryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
QueryDefinition queryDefinition)
|
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
QueryDefinition queryDefinition)
|
int |
getGroupThreadsCount(long groupId,
long userId,
int status)
Deprecated. As of 6.2.0, replaced by getGroupThreadsCount(long,
long, QueryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
Deprecated. As of 6.2.0, replaced by getGroupThreadsCount(long,
long, boolean, QueryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
Deprecated. As of 6.2.0, replaced by getGroupThreadsCount(long,
long, boolean, boolean, QueryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
QueryDefinition queryDefinition)
|
int |
getGroupThreadsCount(long groupId,
QueryDefinition queryDefinition)
|
List<MBThread> |
getNoAssetThreads()
|
List<MBThread> |
getPriorityThreads(long categoryId,
double priority)
|
List<MBThread> |
getPriorityThreads(long categoryId,
double priority,
boolean inherit)
|
MBThread |
getThread(long threadId)
|
List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
|
int |
getThreadsCount(long groupId,
long categoryId,
int status)
|
boolean |
hasAnswerMessage(long threadId)
|
MBThread |
incrementViewCounter(long threadId,
int increment)
|
protected void |
moveChildrenMessages(MBMessage parentMessage,
MBCategory category,
long oldThreadId)
|
void |
moveDependentsToTrash(long groupId,
long threadId,
long trashEntryId)
|
MBThread |
moveThread(long groupId,
long categoryId,
long threadId)
|
MBThread |
moveThreadFromTrash(long userId,
long categoryId,
long threadId)
|
void |
moveThreadsToTrash(long groupId,
long userId)
|
MBThread |
moveThreadToTrash(long userId,
long threadId)
|
MBThread |
moveThreadToTrash(long userId,
MBThread thread)
|
void |
restoreDependentsFromTrash(long groupId,
long threadId,
long trashEntryId)
|
void |
restoreThreadFromTrash(long userId,
long threadId)
|
Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end)
|
Hits |
search(long groupId,
long userId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end)
|
MBThread |
splitThread(long messageId,
String subject,
ServiceContext serviceContext)
|
void |
updateQuestion(long threadId,
boolean question)
|
MBThread |
updateStatus(long userId,
long threadId,
int status)
|
MBThread |
updateThread(long threadId,
int viewCount)
Deprecated. As of 6.2.0, replaced by incrementViewCounter(long,
int) |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MBThreadLocalServiceImpl()
Method Detail |
---|
public MBThread addThread(long categoryId, MBMessage message, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void deleteThread(long threadId) throws PortalException, SystemException
PortalException
SystemException
@SystemEvent(action=1, send=false, type=1) public void deleteThread(MBThread thread) throws PortalException, SystemException
PortalException
SystemException
public void deleteThreads(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
public void deleteThreads(long groupId, long categoryId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
public MBThread fetchThread(long threadId) throws SystemException
SystemException
public int getCategoryThreadsCount(long groupId, long categoryId, int status) throws SystemException
SystemException
public List<MBThread> getGroupThreads(long groupId, int status, int start, int end) throws SystemException
getGroupThreads(long,
QueryDefinition)
SystemException
public List<MBThread> getGroupThreads(long groupId, long userId, boolean subscribed, boolean includeAnonymous, QueryDefinition queryDefinition) throws SystemException
SystemException
public List<MBThread> getGroupThreads(long groupId, long userId, boolean subscribed, QueryDefinition queryDefinition) throws SystemException
SystemException
public List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws SystemException
getGroupThreads(long, long,
boolean, boolean, QueryDefinition)
SystemException
public List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws SystemException
getGroupThreads(long, long,
boolean, QueryDefinition)
SystemException
public List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws SystemException
getGroupThreads(long, long,
QueryDefinition)
SystemException
public List<MBThread> getGroupThreads(long groupId, long userId, QueryDefinition queryDefinition) throws SystemException
SystemException
public List<MBThread> getGroupThreads(long groupId, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getGroupThreadsCount(long groupId, int status) throws SystemException
getGroupThreadsCount(long,
QueryDefinition)
SystemException
public int getGroupThreadsCount(long groupId, long userId, boolean subscribed, boolean includeAnonymous, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getGroupThreadsCount(long groupId, long userId, boolean subscribed, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getGroupThreadsCount(long groupId, long userId, int status) throws SystemException
getGroupThreadsCount(long,
long, QueryDefinition)
SystemException
public int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed) throws SystemException
getGroupThreadsCount(long,
long, boolean, QueryDefinition)
SystemException
public int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous) throws SystemException
getGroupThreadsCount(long,
long, boolean, boolean, QueryDefinition)
SystemException
public int getGroupThreadsCount(long groupId, long userId, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getGroupThreadsCount(long groupId, QueryDefinition queryDefinition) throws SystemException
SystemException
public List<MBThread> getNoAssetThreads() throws SystemException
SystemException
public List<MBThread> getPriorityThreads(long categoryId, double priority) throws PortalException, SystemException
PortalException
SystemException
public List<MBThread> getPriorityThreads(long categoryId, double priority, boolean inherit) throws PortalException, SystemException
PortalException
SystemException
public MBThread getThread(long threadId) throws PortalException, SystemException
PortalException
SystemException
public List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end) throws SystemException
SystemException
public int getThreadsCount(long groupId, long categoryId, int status) throws SystemException
SystemException
public boolean hasAnswerMessage(long threadId) throws SystemException
SystemException
@BufferedIncrement(configuration="MBThread", incrementClass=NumberIncrement.class) public MBThread incrementViewCounter(long threadId, int increment) throws PortalException, SystemException
PortalException
SystemException
public void moveDependentsToTrash(long groupId, long threadId, long trashEntryId) throws PortalException, SystemException
PortalException
SystemException
public MBThread moveThread(long groupId, long categoryId, long threadId) throws PortalException, SystemException
PortalException
SystemException
public MBThread moveThreadFromTrash(long userId, long categoryId, long threadId) throws PortalException, SystemException
PortalException
SystemException
public void moveThreadsToTrash(long groupId, long userId) throws PortalException, SystemException
PortalException
SystemException
public MBThread moveThreadToTrash(long userId, long threadId) throws PortalException, SystemException
PortalException
SystemException
public MBThread moveThreadToTrash(long userId, MBThread thread) throws PortalException, SystemException
PortalException
SystemException
public void restoreDependentsFromTrash(long groupId, long threadId, long trashEntryId) throws PortalException, SystemException
PortalException
SystemException
public void restoreThreadFromTrash(long userId, long threadId) throws PortalException, SystemException
PortalException
SystemException
public Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public Hits search(long groupId, long userId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public MBThread splitThread(long messageId, String subject, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void updateQuestion(long threadId, boolean question) throws PortalException, SystemException
PortalException
SystemException
public MBThread updateStatus(long userId, long threadId, int status) throws PortalException, SystemException
PortalException
SystemException
public MBThread updateThread(long threadId, int viewCount) throws PortalException, SystemException
incrementViewCounter(long,
int)
PortalException
SystemException
protected void moveChildrenMessages(MBMessage parentMessage, MBCategory category, long oldThreadId) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |