@ProviderType public class MBDiscussionLocalServiceWrapper extends java.lang.Object implements MBDiscussionLocalService, ServiceWrapper<MBDiscussionLocalService>
MBDiscussionLocalService.MBDiscussionLocalService| Constructor and Description |
|---|
MBDiscussionLocalServiceWrapper(MBDiscussionLocalService mbDiscussionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBDiscussion |
addDiscussion(long userId,
long classNameId,
long classPK,
long threadId,
ServiceContext 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.
|
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.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)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
MBDiscussion |
fetchDiscussion(long discussionId) |
MBDiscussion |
fetchDiscussion(java.lang.String className,
long classPK) |
MBDiscussion |
fetchMBDiscussion(long discussionId) |
MBDiscussion |
fetchMBDiscussionByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards discussion with the matching UUID and company.
|
MBDiscussion |
fetchMBDiscussionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards discussion matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
MBDiscussion |
getDiscussion(long discussionId) |
MBDiscussion |
getDiscussion(java.lang.String className,
long classPK) |
MBDiscussion |
getMBDiscussion(long discussionId)
Returns the message boards discussion with the primary key.
|
MBDiscussion |
getMBDiscussionByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards discussion with the matching UUID and company.
|
MBDiscussion |
getMBDiscussionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards discussion matching the UUID and group.
|
java.util.List<MBDiscussion> |
getMBDiscussions(int start,
int end)
Returns a range of all the message boards discussions.
|
int |
getMBDiscussionsCount()
Returns the number of message boards discussions.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
MBDiscussion |
getThreadDiscussion(long threadId) |
MBDiscussionLocalService |
getWrappedMBDiscussionLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
MBDiscussionLocalService |
getWrappedService() |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.messageboards.service.MBDiscussionLocalService) |
void |
setWrappedService(MBDiscussionLocalService mbDiscussionLocalService) |
MBDiscussion |
updateMBDiscussion(MBDiscussion mbDiscussion)
Updates the message boards discussion in the database or adds it if it does not yet exist.
|
public MBDiscussionLocalServiceWrapper(MBDiscussionLocalService mbDiscussionLocalService)
public MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
addMBDiscussion in interface MBDiscussionLocalServicembDiscussion - the message boards discussionSystemException - if a system exception occurredpublic MBDiscussion createMBDiscussion(long discussionId)
createMBDiscussion in interface MBDiscussionLocalServicediscussionId - the primary key for the new message boards discussionpublic MBDiscussion deleteMBDiscussion(long discussionId) throws PortalException, SystemException
deleteMBDiscussion in interface MBDiscussionLocalServicediscussionId - the primary key of the message boards discussionPortalException - if a message boards discussion with the primary key could not be foundSystemException - if a system exception occurredpublic MBDiscussion deleteMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
deleteMBDiscussion in interface MBDiscussionLocalServicembDiscussion - the message boards discussionSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface MBDiscussionLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface MBDiscussionLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.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. 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 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)SystemException - if a system exception occurredpublic java.util.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. 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 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)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface MBDiscussionLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface MBDiscussionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic MBDiscussion fetchMBDiscussion(long discussionId) throws SystemException
fetchMBDiscussion in interface MBDiscussionLocalServiceSystemExceptionpublic MBDiscussion fetchMBDiscussionByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchMBDiscussionByUuidAndCompanyId in interface MBDiscussionLocalServiceuuid - the message boards discussion's UUIDcompanyId - the primary key of the companynull if a matching message boards discussion could not be foundSystemException - if a system exception occurredpublic MBDiscussion fetchMBDiscussionByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchMBDiscussionByUuidAndGroupId in interface MBDiscussionLocalServiceuuid - the message boards discussion's UUIDgroupId - the primary key of the groupnull if a matching message boards discussion could not be foundSystemException - if a system exception occurredpublic MBDiscussion getMBDiscussion(long discussionId) throws PortalException, SystemException
getMBDiscussion in interface MBDiscussionLocalServicediscussionId - the primary key of the message boards discussionPortalException - if a message boards discussion with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface MBDiscussionLocalServicePortalExceptionSystemExceptionpublic MBDiscussion getMBDiscussionByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getMBDiscussionByUuidAndCompanyId in interface MBDiscussionLocalServiceuuid - the message boards discussion's UUIDcompanyId - the primary key of the companyPortalException - if a matching message boards discussion could not be foundSystemException - if a system exception occurredpublic MBDiscussion getMBDiscussionByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getMBDiscussionByUuidAndGroupId in interface MBDiscussionLocalServiceuuid - the message boards discussion's UUIDgroupId - the primary key of the groupPortalException - if a matching message boards discussion could not be foundSystemException - if a system exception occurredpublic java.util.List<MBDiscussion> getMBDiscussions(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. 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 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)SystemException - if a system exception occurredpublic int getMBDiscussionsCount()
throws SystemException
getMBDiscussionsCount in interface MBDiscussionLocalServiceSystemException - if a system exception occurredpublic MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
updateMBDiscussion in interface MBDiscussionLocalServicembDiscussion - the message boards discussionSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface MBDiscussionLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface MBDiscussionLocalServicebeanIdentifier - the Spring bean ID for this beanpublic MBDiscussion addDiscussion(long userId, long classNameId, long classPK, long threadId, ServiceContext serviceContext) throws PortalException, SystemException
addDiscussion in interface MBDiscussionLocalServicePortalExceptionSystemExceptionpublic MBDiscussion fetchDiscussion(long discussionId) throws SystemException
fetchDiscussion in interface MBDiscussionLocalServiceSystemExceptionpublic MBDiscussion fetchDiscussion(java.lang.String className, long classPK) throws SystemException
fetchDiscussion in interface MBDiscussionLocalServiceSystemExceptionpublic MBDiscussion getDiscussion(long discussionId) throws PortalException, SystemException
getDiscussion in interface MBDiscussionLocalServicePortalExceptionSystemExceptionpublic MBDiscussion getDiscussion(java.lang.String className, long classPK) throws PortalException, SystemException
getDiscussion in interface MBDiscussionLocalServicePortalExceptionSystemExceptionpublic MBDiscussion getThreadDiscussion(long threadId) throws PortalException, SystemException
getThreadDiscussion in interface MBDiscussionLocalServicePortalExceptionSystemExceptionpublic MBDiscussionLocalService getWrappedMBDiscussionLocalService()
getWrappedService()public void setWrappedMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
setWrappedService(com.liferay.portlet.messageboards.service.MBDiscussionLocalService)public MBDiscussionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<MBDiscussionLocalService>public void setWrappedService(MBDiscussionLocalService mbDiscussionLocalService)
setWrappedService in interface ServiceWrapper<MBDiscussionLocalService>