public class MBThreadLocalServiceImpl extends MBThreadLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, counterLocalService, groupFinder, groupLocalService, groupPersistence, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, persistedModelLocalServiceRegistry, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
Constructor and Description |
---|
MBThreadLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.message.boards.kernel.model.MBThread |
addThread(long categoryId,
com.liferay.message.boards.kernel.model.MBMessage message,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteThread(long threadId) |
void |
deleteThread(com.liferay.message.boards.kernel.model.MBThread thread) |
void |
deleteThreads(long groupId,
long categoryId) |
void |
deleteThreads(long groupId,
long categoryId,
boolean includeTrashedEntries) |
com.liferay.message.boards.kernel.model.MBThread |
fetchThread(long threadId) |
int |
getCategoryThreadsCount(long groupId,
long categoryId,
int status) |
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
long userId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) |
List<com.liferay.message.boards.kernel.model.MBThread> |
getNoAssetThreads() |
List<com.liferay.message.boards.kernel.model.MBThread> |
getPriorityThreads(long categoryId,
double priority) |
List<com.liferay.message.boards.kernel.model.MBThread> |
getPriorityThreads(long categoryId,
double priority,
boolean inherit) |
com.liferay.message.boards.kernel.model.MBThread |
getThread(long threadId) |
List<com.liferay.message.boards.kernel.model.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(com.liferay.message.boards.kernel.model.MBMessage message,
long oldAttachmentsFolderId,
com.liferay.message.boards.kernel.model.MBThread oldThread,
com.liferay.message.boards.kernel.model.MBThread newThread,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
moveChildrenMessages(com.liferay.message.boards.kernel.model.MBMessage parentMessage,
com.liferay.message.boards.kernel.model.MBCategory category,
long oldThreadId) |
void |
moveDependentsToTrash(long groupId,
long threadId,
long trashEntryId) |
com.liferay.message.boards.kernel.model.MBThread |
moveThread(long groupId,
long categoryId,
long threadId) |
com.liferay.message.boards.kernel.model.MBThread |
moveThreadFromTrash(long userId,
long categoryId,
long threadId) |
void |
moveThreadsToTrash(long groupId,
long userId) |
com.liferay.message.boards.kernel.model.MBThread |
moveThreadToTrash(long userId,
long threadId) |
com.liferay.message.boards.kernel.model.MBThread |
moveThreadToTrash(long userId,
com.liferay.message.boards.kernel.model.MBThread thread) |
void |
restoreDependentsFromTrash(long groupId,
long threadId) |
void |
restoreDependentsFromTrash(long groupId,
long threadId,
long trashEntryId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
restoreDependentsFromTrash(long, long) |
void |
restoreThreadFromTrash(long userId,
long threadId) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
long userId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end) |
com.liferay.message.boards.kernel.model.MBThread |
splitThread(long userId,
long messageId,
String subject,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.message.boards.kernel.model.MBThread |
updateMessageCount(long threadId) |
void |
updateQuestion(long threadId,
boolean question) |
com.liferay.message.boards.kernel.model.MBThread |
updateStatus(long userId,
long threadId,
int status) |
addMBThread, afterPropertiesSet, createMBThread, deleteMBThread, deleteMBThread, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBThread, fetchMBThreadByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getCounterLocalService, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThread, getMBThreadByUuidAndGroupId, getMBThreadFinder, getMBThreadFlagLocalService, getMBThreadFlagPersistence, getMBThreadLocalService, getMBThreadPersistence, getMBThreads, getMBThreadsByUuidAndCompanyId, getMBThreadsByUuidAndCompanyId, getMBThreadsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadFlagLocalService, setMBThreadFlagPersistence, setMBThreadLocalService, setMBThreadPersistence, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateMBThread
public com.liferay.message.boards.kernel.model.MBThread addThread(long categoryId, com.liferay.message.boards.kernel.model.MBMessage message, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(action=1, type=1) public void deleteThread(com.liferay.message.boards.kernel.model.MBThread thread) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteThreads(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteThreads(long groupId, long categoryId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread fetchThread(long threadId)
public int getCategoryThreadsCount(long groupId, long categoryId, int status)
public List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(long groupId, long userId, boolean subscribed, boolean includeAnonymous, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(long groupId, long userId, boolean subscribed, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(long groupId, long userId, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(long groupId, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public int getGroupThreadsCount(long groupId, long userId, boolean subscribed, boolean includeAnonymous, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public int getGroupThreadsCount(long groupId, long userId, boolean subscribed, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public int getGroupThreadsCount(long groupId, long userId, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public int getGroupThreadsCount(long groupId, com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition)
public List<com.liferay.message.boards.kernel.model.MBThread> getNoAssetThreads()
public List<com.liferay.message.boards.kernel.model.MBThread> getPriorityThreads(long categoryId, double priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.message.boards.kernel.model.MBThread> getPriorityThreads(long categoryId, double priority, boolean inherit) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread getThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.message.boards.kernel.model.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=com.liferay.portal.kernel.increment.NumberIncrement.class) public void incrementViewCounter(long threadId, int increment) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void moveDependentsToTrash(long groupId, long threadId, long trashEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread moveThread(long groupId, long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread moveThreadFromTrash(long userId, long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void moveThreadsToTrash(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread moveThreadToTrash(long userId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread moveThreadToTrash(long userId, com.liferay.message.boards.kernel.model.MBThread thread) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void restoreDependentsFromTrash(long groupId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void restoreDependentsFromTrash(long groupId, long threadId, long trashEntryId) throws com.liferay.portal.kernel.exception.PortalException
restoreDependentsFromTrash(long, long)
com.liferay.portal.kernel.exception.PortalException
public void restoreThreadFromTrash(long userId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.Hits search(long groupId, long userId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread splitThread(long userId, long messageId, String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread updateMessageCount(long threadId)
public void updateQuestion(long threadId, boolean question) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBThread updateStatus(long userId, long threadId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void moveAttachmentsFolders(com.liferay.message.boards.kernel.model.MBMessage message, long oldAttachmentsFolderId, com.liferay.message.boards.kernel.model.MBThread oldThread, com.liferay.message.boards.kernel.model.MBThread newThread, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void moveChildrenMessages(com.liferay.message.boards.kernel.model.MBMessage parentMessage, com.liferay.message.boards.kernel.model.MBCategory category, long oldThreadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException