|
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.portlet.messageboards.service.MBDiscussionLocalServiceWrapper
@ProviderType public class MBDiscussionLocalServiceWrapper
Provides a wrapper for MBDiscussionLocalService.
MBDiscussionLocalService| Constructor Summary | |
|---|---|
MBDiscussionLocalServiceWrapper(MBDiscussionLocalService mbDiscussionLocalService)
|
|
| Method Summary | ||
|---|---|---|
MBDiscussion |
addDiscussion(long userId,
long groupId,
long classNameId,
long classPK,
long threadId,
ServiceContext serviceContext)
|
|
MBDiscussion |
addDiscussion(long userId,
long classNameId,
long classPK,
long threadId,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by addDiscussion(long, long,
long, long, long, ServiceContext) |
|
MBDiscussion |
addMBDiscussion(MBDiscussion mbDiscussion)
Adds the message boards discussion to the database. |
|
MBDiscussion |
createMBDiscussion(long discussionId)
Creates a new message boards discussion with the primary key. |
|
MBDiscussion |
deleteMBDiscussion(long discussionId)
Deletes the message boards discussion with the primary key from the database. |
|
MBDiscussion |
deleteMBDiscussion(MBDiscussion mbDiscussion)
Deletes the message boards discussion from the database. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
MBDiscussion |
fetchDiscussion(long discussionId)
|
|
MBDiscussion |
fetchDiscussion(String className,
long classPK)
|
|
MBDiscussion |
fetchMBDiscussion(long discussionId)
|
|
MBDiscussion |
fetchMBDiscussionByUuidAndGroupId(String uuid,
long groupId)
Returns the message boards discussion matching the UUID and group. |
|
MBDiscussion |
fetchThreadDiscussion(long threadId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
MBDiscussion |
getDiscussion(long discussionId)
|
|
MBDiscussion |
getDiscussion(String className,
long classPK)
|
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
|
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
MBDiscussion |
getMBDiscussion(long discussionId)
Returns the message boards discussion with the primary key. |
|
MBDiscussion |
getMBDiscussionByUuidAndGroupId(String uuid,
long groupId)
Returns the message boards discussion matching the UUID and group. |
|
List<MBDiscussion> |
getMBDiscussions(int start,
int end)
Returns a range of all the message boards discussions. |
|
List<MBDiscussion> |
getMBDiscussionsByUuidAndCompanyId(String uuid,
long companyId)
Returns all the message boards discussions matching the UUID and company. |
|
List<MBDiscussion> |
getMBDiscussionsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBDiscussion> orderByComparator)
Returns a range of message boards discussions matching the UUID and company. |
|
int |
getMBDiscussionsCount()
Returns the number of message boards discussions. |
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
MBDiscussion |
getThreadDiscussion(long threadId)
|
|
MBDiscussionLocalService |
getWrappedService()
|
|
void |
setWrappedService(MBDiscussionLocalService mbDiscussionLocalService)
|
|
void |
subscribeDiscussion(long userId,
long groupId,
String className,
long classPK)
|
|
void |
unsubscribeDiscussion(long userId,
String className,
long classPK)
|
|
MBDiscussion |
updateMBDiscussion(MBDiscussion mbDiscussion)
Updates the message boards discussion in the database or adds it if it does not yet exist. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBDiscussionLocalServiceWrapper(MBDiscussionLocalService mbDiscussionLocalService)
| Method Detail |
|---|
@Deprecated
public MBDiscussion addDiscussion(long userId,
long classNameId,
long classPK,
long threadId,
ServiceContext serviceContext)
throws PortalException
addDiscussion(long, long,
long, long, long, ServiceContext)
addDiscussion in interface MBDiscussionLocalServicePortalException
public MBDiscussion addDiscussion(long userId,
long groupId,
long classNameId,
long classPK,
long threadId,
ServiceContext serviceContext)
throws PortalException
addDiscussion in interface MBDiscussionLocalServicePortalExceptionpublic MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion)
addMBDiscussion in interface MBDiscussionLocalServicembDiscussion - the message boards discussion
public MBDiscussion createMBDiscussion(long discussionId)
createMBDiscussion in interface MBDiscussionLocalServicediscussionId - the primary key for the new message boards discussion
public MBDiscussion deleteMBDiscussion(long discussionId)
throws PortalException
deleteMBDiscussion in interface MBDiscussionLocalServicediscussionId - the primary key of the message boards discussion
PortalException - if a message boards discussion with the primary key could not be foundpublic MBDiscussion deleteMBDiscussion(MBDiscussion mbDiscussion)
deleteMBDiscussion in interface MBDiscussionLocalServicembDiscussion - the message boards discussion
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface MBDiscussionLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface MBDiscussionLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface MBDiscussionLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.messageboards.model.impl.MBDiscussionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface MBDiscussionLocalServicedynamicQuery - 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> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.messageboards.model.impl.MBDiscussionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface MBDiscussionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface MBDiscussionLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface MBDiscussionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public MBDiscussion fetchDiscussion(String className,
long classPK)
fetchDiscussion in interface MBDiscussionLocalServicepublic MBDiscussion fetchDiscussion(long discussionId)
fetchDiscussion in interface MBDiscussionLocalServicepublic MBDiscussion fetchMBDiscussion(long discussionId)
fetchMBDiscussion in interface MBDiscussionLocalService
public MBDiscussion fetchMBDiscussionByUuidAndGroupId(String uuid,
long groupId)
fetchMBDiscussionByUuidAndGroupId in interface MBDiscussionLocalServiceuuid - the message boards discussion's UUIDgroupId - the primary key of the group
null if a matching message boards discussion could not be foundpublic MBDiscussion fetchThreadDiscussion(long threadId)
fetchThreadDiscussion in interface MBDiscussionLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MBDiscussionLocalService
public MBDiscussion getDiscussion(String className,
long classPK)
throws PortalException
getDiscussion in interface MBDiscussionLocalServicePortalException
public MBDiscussion getDiscussion(long discussionId)
throws PortalException
getDiscussion in interface MBDiscussionLocalServicePortalExceptionpublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface MBDiscussionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MBDiscussionLocalService
public MBDiscussion getMBDiscussion(long discussionId)
throws PortalException
getMBDiscussion in interface MBDiscussionLocalServicediscussionId - the primary key of the message boards discussion
PortalException - if a message boards discussion with the primary key could not be found
public MBDiscussion getMBDiscussionByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getMBDiscussionByUuidAndGroupId in interface MBDiscussionLocalServiceuuid - the message boards discussion's UUIDgroupId - the primary key of the group
PortalException - if a matching message boards discussion could not be found
public List<MBDiscussion> getMBDiscussions(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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.messageboards.model.impl.MBDiscussionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getMBDiscussions in interface MBDiscussionLocalServicestart - the lower bound of the range of message boards discussionsend - the upper bound of the range of message boards discussions (not inclusive)
public List<MBDiscussion> getMBDiscussionsByUuidAndCompanyId(String uuid,
long companyId)
getMBDiscussionsByUuidAndCompanyId in interface MBDiscussionLocalServiceuuid - the UUID of the message boards discussionscompanyId - the primary key of the company
public List<MBDiscussion> getMBDiscussionsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBDiscussion> orderByComparator)
getMBDiscussionsByUuidAndCompanyId in interface MBDiscussionLocalServiceuuid - the UUID of the message boards discussionscompanyId - the primary key of the companystart - the lower bound of the range of message boards discussionsend - the upper bound of the range of message boards discussions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getMBDiscussionsCount()
getMBDiscussionsCount in interface MBDiscussionLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBDiscussionLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface MBDiscussionLocalServicePortalException
public MBDiscussion getThreadDiscussion(long threadId)
throws PortalException
getThreadDiscussion in interface MBDiscussionLocalServicePortalException
public void subscribeDiscussion(long userId,
long groupId,
String className,
long classPK)
throws PortalException
subscribeDiscussion in interface MBDiscussionLocalServicePortalException
public void unsubscribeDiscussion(long userId,
String className,
long classPK)
throws PortalException
unsubscribeDiscussion in interface MBDiscussionLocalServicePortalExceptionpublic MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion)
updateMBDiscussion in interface MBDiscussionLocalServicembDiscussion - the message boards discussion
public MBDiscussionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<MBDiscussionLocalService>public void setWrappedService(MBDiscussionLocalService mbDiscussionLocalService)
setWrappedService in interface ServiceWrapper<MBDiscussionLocalService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||