|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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 |
|---|
| 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<MBThread> queryDefinition)
|
List<MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
QueryDefinition<MBThread> 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<MBThread> queryDefinition)
|
List<MBThread> |
getGroupThreads(long groupId,
QueryDefinition<MBThread> 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<MBThread> queryDefinition)
|
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
QueryDefinition<MBThread> 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<MBThread> queryDefinition)
|
int |
getGroupThreadsCount(long groupId,
QueryDefinition<MBThread> 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)
|
void |
incrementViewCounter(long threadId,
int increment)
|
protected void |
moveAttachmentsFolders(MBMessage message,
long oldAttachmentsFolderId,
MBThread oldThread,
MBThread newThread,
ServiceContext serviceContext)
|
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)
|
void |
restoreDependentsFromTrash(long groupId,
long threadId,
long trashEntryId)
Deprecated. As of 7.0.0, replaced by restoreDependentsFromTrash(long, long) |
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 userId,
long messageId,
String subject,
ServiceContext serviceContext)
|
MBThread |
updateMessageCount(long threadId)
|
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, getLocalizationMap |
| 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
PortalException
public void deleteThread(long threadId)
throws PortalException
PortalException
@SystemEvent(action=1,
type=1)
public void deleteThread(MBThread thread)
throws PortalException
PortalException
public void deleteThreads(long groupId,
long categoryId)
throws PortalException
PortalException
public void deleteThreads(long groupId,
long categoryId,
boolean includeTrashedEntries)
throws PortalException
PortalExceptionpublic MBThread fetchThread(long threadId)
public int getCategoryThreadsCount(long groupId,
long categoryId,
int status)
@Deprecated
public List<MBThread> getGroupThreads(long groupId,
int status,
int start,
int end)
getGroupThreads(long,
QueryDefinition)
public List<MBThread> getGroupThreads(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
QueryDefinition<MBThread> queryDefinition)
public List<MBThread> getGroupThreads(long groupId,
long userId,
boolean subscribed,
QueryDefinition<MBThread> queryDefinition)
@Deprecated
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
getGroupThreads(long, long,
boolean, boolean, QueryDefinition)
@Deprecated
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
getGroupThreads(long, long,
boolean, QueryDefinition)
@Deprecated
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
getGroupThreads(long, long,
QueryDefinition)
public List<MBThread> getGroupThreads(long groupId,
long userId,
QueryDefinition<MBThread> queryDefinition)
public List<MBThread> getGroupThreads(long groupId,
QueryDefinition<MBThread> queryDefinition)
@Deprecated
public int getGroupThreadsCount(long groupId,
int status)
getGroupThreadsCount(long,
QueryDefinition)
public int getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
QueryDefinition<MBThread> queryDefinition)
public int getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
QueryDefinition<MBThread> queryDefinition)
@Deprecated
public int getGroupThreadsCount(long groupId,
long userId,
int status)
getGroupThreadsCount(long,
long, QueryDefinition)
@Deprecated
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
getGroupThreadsCount(long,
long, boolean, QueryDefinition)
@Deprecated
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
getGroupThreadsCount(long,
long, boolean, boolean, QueryDefinition)
public int getGroupThreadsCount(long groupId,
long userId,
QueryDefinition<MBThread> queryDefinition)
public int getGroupThreadsCount(long groupId,
QueryDefinition<MBThread> queryDefinition)
public List<MBThread> getNoAssetThreads()
public List<MBThread> getPriorityThreads(long categoryId,
double priority)
throws PortalException
PortalException
public List<MBThread> getPriorityThreads(long categoryId,
double priority,
boolean inherit)
throws PortalException
PortalException
public MBThread getThread(long threadId)
throws PortalException
PortalException
public List<MBThread> getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
public int getThreadsCount(long groupId,
long categoryId,
int status)
public boolean hasAnswerMessage(long threadId)
@BufferedIncrement(configuration="MBThread",
incrementClass=NumberIncrement.class)
public void incrementViewCounter(long threadId,
int increment)
throws PortalException
PortalException
public void moveDependentsToTrash(long groupId,
long threadId,
long trashEntryId)
throws PortalException
PortalException
public MBThread moveThread(long groupId,
long categoryId,
long threadId)
throws PortalException
PortalException
public MBThread moveThreadFromTrash(long userId,
long categoryId,
long threadId)
throws PortalException
PortalException
public void moveThreadsToTrash(long groupId,
long userId)
throws PortalException
PortalException
public MBThread moveThreadToTrash(long userId,
long threadId)
throws PortalException
PortalException
public MBThread moveThreadToTrash(long userId,
MBThread thread)
throws PortalException
PortalException
public void restoreDependentsFromTrash(long groupId,
long threadId)
throws PortalException
PortalException
@Deprecated
public void restoreDependentsFromTrash(long groupId,
long threadId,
long trashEntryId)
throws PortalException
restoreDependentsFromTrash(long, long)
PortalException
public void restoreThreadFromTrash(long userId,
long threadId)
throws PortalException
PortalException
public Hits search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end)
throws PortalException
PortalException
public Hits search(long groupId,
long userId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end)
throws PortalException
PortalException
public MBThread splitThread(long userId,
long messageId,
String subject,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic MBThread updateMessageCount(long threadId)
public void updateQuestion(long threadId,
boolean question)
throws PortalException
PortalException
public MBThread updateStatus(long userId,
long threadId,
int status)
throws PortalException
PortalException
@Deprecated
public MBThread updateThread(long threadId,
int viewCount)
throws PortalException
incrementViewCounter(long,
int)
PortalException
protected void moveAttachmentsFolders(MBMessage message,
long oldAttachmentsFolderId,
MBThread oldThread,
MBThread newThread,
ServiceContext serviceContext)
throws PortalException
PortalException
protected void moveChildrenMessages(MBMessage parentMessage,
MBCategory category,
long oldThreadId)
throws PortalException
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||