public class MBThreadLocalServiceWrapper extends java.lang.Object implements MBThreadLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MBThreadLocalService>
MBThreadLocalService.MBThreadLocalService| Constructor and Description |
|---|
MBThreadLocalServiceWrapper() |
MBThreadLocalServiceWrapper(MBThreadLocalService mbThreadLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBThread |
addMBThread(MBThread mbThread)
Adds the message boards thread to the database.
|
MBThread |
addThread(long categoryId,
MBMessage message,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MBThread |
createMBThread(long threadId)
Creates a new message boards thread with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
MBThread |
deleteMBThread(long threadId)
Deletes the message boards thread with the primary key from the database.
|
MBThread |
deleteMBThread(MBThread mbThread)
Deletes the message boards thread from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteThread(long threadId) |
void |
deleteThread(MBThread thread) |
void |
deleteThreads(long groupId,
long categoryId) |
void |
deleteThreads(long groupId,
long categoryId,
boolean includeTrashedEntries) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
MBThread |
fetchMBThread(long threadId) |
MBThread |
fetchMBThreadByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards thread matching the UUID and group.
|
MBThread |
fetchThread(long threadId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
int |
getCategoryThreadsCount(long groupId,
long categoryId,
int status) |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThread> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
boolean subscribed,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
long userId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
int |
getGroupThreadsCount(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
MBThread |
getMBThread(long threadId)
Returns the message boards thread with the primary key.
|
MBThread |
getMBThreadByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards thread matching the UUID and group.
|
java.util.List<MBThread> |
getMBThreads(int start,
int end)
Returns a range of all the message boards threads.
|
java.util.List<MBThread> |
getMBThreadsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the message boards threads matching the UUID and company.
|
java.util.List<MBThread> |
getMBThreadsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator)
Returns a range of message boards threads matching the UUID and company.
|
int |
getMBThreadsCount()
Returns the number of message boards threads.
|
int |
getMessageCount(long threadId,
int status) |
java.lang.Class<MBThread> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<MBThread> |
getPriorityThreads(long categoryId,
double priority) |
java.util.List<MBThread> |
getPriorityThreads(long categoryId,
double priority,
boolean inherit) |
MBThread |
getThread(long threadId) |
java.util.List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
int |
getThreadsCount(long groupId,
long categoryId,
int status) |
MBThreadLocalService |
getWrappedService() |
boolean |
hasAnswerMessage(long threadId) |
void |
incrementViewCounter(long threadId,
int increment) |
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 |
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) |
void |
setWrappedService(MBThreadLocalService mbThreadLocalService) |
MBThread |
splitThread(long userId,
long messageId,
java.lang.String subject,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateLastPostDate(long threadId,
java.util.Date lastPostDate) |
MBThread |
updateMBThread(MBThread mbThread)
Updates the message boards thread in the database or adds it if it does not yet exist.
|
void |
updateQuestion(long threadId,
boolean question) |
MBThread |
updateStatus(long userId,
long threadId,
int status) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThread>,R,E> updateUnsafeFunction) |
public MBThreadLocalServiceWrapper()
public MBThreadLocalServiceWrapper(MBThreadLocalService mbThreadLocalService)
public MBThread addMBThread(MBThread mbThread)
Important: Inspect MBThreadLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addMBThread in interface MBThreadLocalServicembThread - the message boards threadpublic MBThread addThread(long categoryId, MBMessage message, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addThread in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread createMBThread(long threadId)
createMBThread in interface MBThreadLocalServicethreadId - the primary key for the new message boards threadpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface MBThreadLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MBThread deleteMBThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect MBThreadLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteMBThread in interface MBThreadLocalServicethreadId - the primary key of the message boards threadPortalException - if a message boards thread with the primary key could not be foundpublic MBThread deleteMBThread(MBThread mbThread)
Important: Inspect MBThreadLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteMBThread in interface MBThreadLocalServicembThread - the message boards threadpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface MBThreadLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
deleteThread in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteThread(MBThread thread) throws com.liferay.portal.kernel.exception.PortalException
deleteThread in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteThreads(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
deleteThreads in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteThreads(long groupId,
long categoryId,
boolean includeTrashedEntries)
throws com.liferay.portal.kernel.exception.PortalException
deleteThreads in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface MBThreadLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface MBThreadLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface MBThreadLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface MBThreadLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.message.boards.model.impl.MBThreadModelImpl.
dynamicQuery in interface MBThreadLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.message.boards.model.impl.MBThreadModelImpl.
dynamicQuery in interface MBThreadLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface MBThreadLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface MBThreadLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic MBThread fetchMBThread(long threadId)
fetchMBThread in interface MBThreadLocalServicepublic MBThread fetchMBThreadByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchMBThreadByUuidAndGroupId in interface MBThreadLocalServiceuuid - the message boards thread's UUIDgroupId - the primary key of the groupnull if a matching message boards thread could not be foundpublic MBThread fetchThread(long threadId)
fetchThread in interface MBThreadLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MBThreadLocalServicepublic int getCategoryThreadsCount(long groupId,
long categoryId,
int status)
getCategoryThreadsCount in interface MBThreadLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface MBThreadLocalServicepublic java.util.List<MBThread> getGroupThreads(long groupId, long userId, boolean subscribed, boolean includeAnonymous, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreads in interface MBThreadLocalServicepublic java.util.List<MBThread> getGroupThreads(long groupId, long userId, boolean subscribed, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreads in interface MBThreadLocalServicepublic java.util.List<MBThread> getGroupThreads(long groupId, long userId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreads in interface MBThreadLocalServicepublic java.util.List<MBThread> getGroupThreads(long groupId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreads in interface MBThreadLocalServicepublic int getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
boolean includeAnonymous,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreadsCount in interface MBThreadLocalServicepublic int getGroupThreadsCount(long groupId,
long userId,
boolean subscribed,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreadsCount in interface MBThreadLocalServicepublic int getGroupThreadsCount(long groupId,
long userId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreadsCount in interface MBThreadLocalServicepublic int getGroupThreadsCount(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
getGroupThreadsCount in interface MBThreadLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MBThreadLocalServicepublic MBThread getMBThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
getMBThread in interface MBThreadLocalServicethreadId - the primary key of the message boards threadPortalException - if a message boards thread with the primary key could not be foundpublic MBThread getMBThreadByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getMBThreadByUuidAndGroupId in interface MBThreadLocalServiceuuid - the message boards thread's UUIDgroupId - the primary key of the groupPortalException - if a matching message boards thread could not be foundpublic java.util.List<MBThread> getMBThreads(int start, int end)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.message.boards.model.impl.MBThreadModelImpl.
getMBThreads in interface MBThreadLocalServicestart - the lower bound of the range of message boards threadsend - the upper bound of the range of message boards threads (not inclusive)public java.util.List<MBThread> getMBThreadsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getMBThreadsByUuidAndCompanyId in interface MBThreadLocalServiceuuid - the UUID of the message boards threadscompanyId - the primary key of the companypublic java.util.List<MBThread> getMBThreadsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator)
getMBThreadsByUuidAndCompanyId in interface MBThreadLocalServiceuuid - the UUID of the message boards threadscompanyId - the primary key of the companystart - the lower bound of the range of message boards threadsend - the upper bound of the range of message boards threads (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getMBThreadsCount()
getMBThreadsCount in interface MBThreadLocalServicepublic int getMessageCount(long threadId,
int status)
getMessageCount in interface MBThreadLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBThreadLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface MBThreadLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<MBThread> getPriorityThreads(long categoryId, double priority) throws com.liferay.portal.kernel.exception.PortalException
getPriorityThreads in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<MBThread> getPriorityThreads(long categoryId, double priority, boolean inherit) throws com.liferay.portal.kernel.exception.PortalException
getPriorityThreads in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread getThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
getThread in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
getThreads in interface MBThreadLocalServicepublic int getThreadsCount(long groupId,
long categoryId,
int status)
getThreadsCount in interface MBThreadLocalServicepublic boolean hasAnswerMessage(long threadId)
hasAnswerMessage in interface MBThreadLocalServicepublic void incrementViewCounter(long threadId,
int increment)
incrementViewCounter in interface MBThreadLocalServicepublic void moveDependentsToTrash(long groupId,
long threadId,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException
moveDependentsToTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread moveThread(long groupId, long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
moveThread in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread moveThreadFromTrash(long userId, long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
moveThreadFromTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void moveThreadsToTrash(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
moveThreadsToTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread moveThreadToTrash(long userId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
moveThreadToTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread moveThreadToTrash(long userId, MBThread thread) throws com.liferay.portal.kernel.exception.PortalException
moveThreadToTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void restoreDependentsFromTrash(long groupId,
long threadId)
throws com.liferay.portal.kernel.exception.PortalException
restoreDependentsFromTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void restoreThreadFromTrash(long userId,
long threadId)
throws com.liferay.portal.kernel.exception.PortalException
restoreThreadFromTrash in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
search in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
search in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread splitThread(long userId, long messageId, java.lang.String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
splitThread in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void updateLastPostDate(long threadId,
java.util.Date lastPostDate)
updateLastPostDate in interface MBThreadLocalServicepublic MBThread updateMBThread(MBThread mbThread)
Important: Inspect MBThreadLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateMBThread in interface MBThreadLocalServicembThread - the message boards threadpublic void updateQuestion(long threadId,
boolean question)
throws com.liferay.portal.kernel.exception.PortalException
updateQuestion in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThread updateStatus(long userId, long threadId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface MBThreadLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThread> getCTPersistence()
getCTPersistence in interface MBThreadLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBThread>public java.lang.Class<MBThread> getModelClass()
getModelClass in interface MBThreadLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBThread>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThread>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface MBThreadLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBThread>E extends java.lang.Throwablepublic MBThreadLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBThreadLocalService>public void setWrappedService(MBThreadLocalService mbThreadLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBThreadLocalService>