|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.service.MBThreadLocalServiceWrapper
public class MBThreadLocalServiceWrapper
This class is a wrapper for MBThreadLocalService.
MBThreadLocalService| Constructor Summary | |
|---|---|
MBThreadLocalServiceWrapper(MBThreadLocalService mbThreadLocalService)
|
|
| Method Summary | |
|---|---|
MBThread |
addMBThread(MBThread mbThread)
Adds the message boards thread to the database. |
MBThread |
createMBThread(long threadId)
Creates a new message boards thread with the primary key. |
void |
deleteMBThread(long threadId)
Deletes the message boards thread with the primary key from the database. |
void |
deleteMBThread(MBThread mbThread)
Deletes the message boards thread from the database. |
void |
deleteThread(long threadId)
|
void |
deleteThread(MBThread thread)
|
void |
deleteThreads(long groupId,
long categoryId)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
int |
getCategoryThreadsCount(long groupId,
long categoryId,
int status)
|
List<MBThread> |
getGroupThreads(long groupId,
int status,
int start,
int end)
|
List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
|
List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
|
List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
|
int |
getGroupThreadsCount(long groupId,
int status)
|
int |
getGroupThreadsCount(long groupId,
long userId,
int status)
|
int |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
|
int |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
|
MBThread |
getMBThread(long threadId)
Gets the message boards thread with the primary key. |
List<MBThread> |
getMBThreads(int start,
int end)
Gets a range of all the message boards threads. |
int |
getMBThreadsCount()
Gets the number of message boards threads. |
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)
|
MBThreadLocalService |
getWrappedMBThreadLocalService()
|
MBThread |
moveThread(long groupId,
long categoryId,
long threadId)
|
MBThread |
splitThread(long messageId,
ServiceContext serviceContext)
|
MBThread |
updateMBThread(MBThread mbThread)
Updates the message boards thread in the database. |
MBThread |
updateMBThread(MBThread mbThread,
boolean merge)
Updates the message boards thread in the database. |
MBThread |
updateThread(long threadId,
int viewCount)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBThreadLocalServiceWrapper(MBThreadLocalService mbThreadLocalService)
| Method Detail |
|---|
public MBThread addMBThread(MBThread mbThread)
throws SystemException
addMBThread in interface MBThreadLocalServicembThread - the message boards thread to add
SystemException - if a system exception occurredpublic MBThread createMBThread(long threadId)
createMBThread in interface MBThreadLocalServicethreadId - the primary key for the new message boards thread
public void deleteMBThread(long threadId)
throws PortalException,
SystemException
deleteMBThread in interface MBThreadLocalServicethreadId - the primary key of the message boards thread to delete
PortalException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred
public void deleteMBThread(MBThread mbThread)
throws SystemException
deleteMBThread in interface MBThreadLocalServicembThread - the message boards thread to delete
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface MBThreadLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface MBThreadLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface MBThreadLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface MBThreadLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public MBThread getMBThread(long threadId)
throws PortalException,
SystemException
getMBThread in interface MBThreadLocalServicethreadId - the primary key of the message boards thread to get
PortalException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred
public List<MBThread> getMBThreads(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getMBThreads in interface MBThreadLocalServicestart - the lower bound of the range of message boards threads to returnend - the upper bound of the range of message boards threads to return (not inclusive)
SystemException - if a system exception occurred
public int getMBThreadsCount()
throws SystemException
getMBThreadsCount in interface MBThreadLocalServiceSystemException - if a system exception occurred
public MBThread updateMBThread(MBThread mbThread)
throws SystemException
updateMBThread in interface MBThreadLocalServicembThread - the message boards thread to update
SystemException - if a system exception occurred
public MBThread updateMBThread(MBThread mbThread,
boolean merge)
throws SystemException
updateMBThread in interface MBThreadLocalServicembThread - the message boards thread to updatemerge - whether to merge the message boards thread with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurred
public void deleteThread(long threadId)
throws PortalException,
SystemException
deleteThread in interface MBThreadLocalServicePortalException
SystemException
public void deleteThread(MBThread thread)
throws PortalException,
SystemException
deleteThread in interface MBThreadLocalServicePortalException
SystemException
public void deleteThreads(long groupId,
long categoryId)
throws PortalException,
SystemException
deleteThreads in interface MBThreadLocalServicePortalException
SystemException
public int getCategoryThreadsCount(long groupId,
long categoryId,
int status)
throws SystemException
getCategoryThreadsCount in interface MBThreadLocalServiceSystemException
public List<MBThread> getGroupThreads(long groupId,
int status,
int start,
int end)
throws SystemException
getGroupThreads in interface MBThreadLocalServiceSystemException
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
throws PortalException,
SystemException
getGroupThreads in interface MBThreadLocalServicePortalException
SystemException
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
throws PortalException,
SystemException
getGroupThreads in interface MBThreadLocalServicePortalException
SystemException
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
throws PortalException,
SystemException
getGroupThreads in interface MBThreadLocalServicePortalException
SystemException
public int getGroupThreadsCount(long groupId,
int status)
throws SystemException
getGroupThreadsCount in interface MBThreadLocalServiceSystemException
public int getGroupThreadsCount(long groupId,
long userId,
int status)
throws SystemException
getGroupThreadsCount in interface MBThreadLocalServiceSystemException
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
throws SystemException
getGroupThreadsCount in interface MBThreadLocalServiceSystemException
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
throws SystemException
getGroupThreadsCount in interface MBThreadLocalServiceSystemException
public List<MBThread> getPriorityThreads(long categoryId,
double priority)
throws PortalException,
SystemException
getPriorityThreads in interface MBThreadLocalServicePortalException
SystemException
public List<MBThread> getPriorityThreads(long categoryId,
double priority,
boolean inherit)
throws PortalException,
SystemException
getPriorityThreads in interface MBThreadLocalServicePortalException
SystemException
public MBThread getThread(long threadId)
throws PortalException,
SystemException
getThread in interface MBThreadLocalServicePortalException
SystemException
public List<MBThread> getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
throws SystemException
getThreads in interface MBThreadLocalServiceSystemException
public int getThreadsCount(long groupId,
long categoryId,
int status)
throws SystemException
getThreadsCount in interface MBThreadLocalServiceSystemException
public MBThread moveThread(long groupId,
long categoryId,
long threadId)
throws PortalException,
SystemException
moveThread in interface MBThreadLocalServicePortalException
SystemException
public MBThread splitThread(long messageId,
ServiceContext serviceContext)
throws PortalException,
SystemException
splitThread in interface MBThreadLocalServicePortalException
SystemException
public MBThread updateThread(long threadId,
int viewCount)
throws PortalException,
SystemException
updateThread in interface MBThreadLocalServicePortalException
SystemExceptionpublic MBThreadLocalService getWrappedMBThreadLocalService()
|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||