@Override protected Hits searchGroupEntries(long groupId, long creatorUserId) throws Exception { return MBThreadServiceUtil.search( groupId, creatorUserId, WorkflowConstants.STATUS_APPROVED, QueryUtil.ALL_POS, QueryUtil.ALL_POS); }
@Override protected void moveBaseModelToTrash(long primaryKey) throws Exception { MBMessage message = MBMessageLocalServiceUtil.getMessage(primaryKey); MBThreadServiceUtil.moveThreadToTrash(message.getThreadId()); }