public abstract class MBMailingListLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.liferay.portlet.messageboards.service.MBMailingListLocalService, com.liferay.portal.kernel.bean.IdentifiableBean
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in MBMailingListLocalServiceImpl.
MBMailingListLocalServiceImpl,
MBMailingListLocalServiceUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.counter.service.CounterLocalService |
counterLocalService |
protected com.liferay.portlet.messageboards.service.MBBanLocalService |
mbBanLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence |
mbBanPersistence |
protected com.liferay.portlet.messageboards.service.MBBanService |
mbBanService |
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder |
mbCategoryFinder |
protected com.liferay.portlet.messageboards.service.MBCategoryLocalService |
mbCategoryLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence |
mbCategoryPersistence |
protected com.liferay.portlet.messageboards.service.MBCategoryService |
mbCategoryService |
protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService |
mbDiscussionLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence |
mbDiscussionPersistence |
protected com.liferay.portlet.messageboards.service.MBMailingListLocalService |
mbMailingListLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence |
mbMailingListPersistence |
protected com.liferay.portlet.messageboards.service.persistence.MBMessageFinder |
mbMessageFinder |
protected com.liferay.portlet.messageboards.service.MBMessageLocalService |
mbMessageLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence |
mbMessagePersistence |
protected com.liferay.portlet.messageboards.service.MBMessageService |
mbMessageService |
protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService |
mbStatsUserLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence |
mbStatsUserPersistence |
protected com.liferay.portlet.messageboards.service.persistence.MBThreadFinder |
mbThreadFinder |
protected com.liferay.portlet.messageboards.service.MBThreadFlagLocalService |
mbThreadFlagLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence |
mbThreadFlagPersistence |
protected com.liferay.portlet.messageboards.service.MBThreadLocalService |
mbThreadLocalService |
protected com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence |
mbThreadPersistence |
protected com.liferay.portlet.messageboards.service.MBThreadService |
mbThreadService |
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portal.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.service.persistence.UserFinder |
userFinder |
protected com.liferay.portal.service.UserLocalService |
userLocalService |
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence |
protected com.liferay.portal.service.UserService |
userService |
| Constructor and Description |
|---|
MBMailingListLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.messageboards.model.MBMailingList |
addMBMailingList(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
Adds the message boards mailing list to the database.
|
void |
afterPropertiesSet() |
com.liferay.portlet.messageboards.model.MBMailingList |
createMBMailingList(long mailingListId)
Creates a new message boards mailing list with the primary key.
|
com.liferay.portlet.messageboards.model.MBMailingList |
deleteMBMailingList(long mailingListId)
Deletes the message boards mailing list with the primary key from the database.
|
com.liferay.portlet.messageboards.model.MBMailingList |
deleteMBMailingList(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
Deletes the message boards mailing list from the database.
|
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
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.
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator 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 that match 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 that match the dynamic query.
|
com.liferay.portlet.messageboards.model.MBMailingList |
fetchMBMailingList(long mailingListId) |
com.liferay.portlet.messageboards.model.MBMailingList |
fetchMBMailingListByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards mailing list with the matching UUID and company.
|
com.liferay.portlet.messageboards.model.MBMailingList |
fetchMBMailingListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards mailing list matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
com.liferay.counter.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portlet.messageboards.service.MBBanLocalService |
getMBBanLocalService()
Returns the message boards ban local service.
|
com.liferay.portlet.messageboards.service.persistence.MBBanPersistence |
getMBBanPersistence()
Returns the message boards ban persistence.
|
com.liferay.portlet.messageboards.service.MBBanService |
getMBBanService()
Returns the message boards ban remote service.
|
com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder |
getMBCategoryFinder()
Returns the message boards category finder.
|
com.liferay.portlet.messageboards.service.MBCategoryLocalService |
getMBCategoryLocalService()
Returns the message boards category local service.
|
com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence |
getMBCategoryPersistence()
Returns the message boards category persistence.
|
com.liferay.portlet.messageboards.service.MBCategoryService |
getMBCategoryService()
Returns the message boards category remote service.
|
com.liferay.portlet.messageboards.service.MBDiscussionLocalService |
getMBDiscussionLocalService()
Returns the message boards discussion local service.
|
com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence |
getMBDiscussionPersistence()
Returns the message boards discussion persistence.
|
com.liferay.portlet.messageboards.model.MBMailingList |
getMBMailingList(long mailingListId)
Returns the message boards mailing list with the primary key.
|
com.liferay.portlet.messageboards.model.MBMailingList |
getMBMailingListByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards mailing list with the matching UUID and company.
|
com.liferay.portlet.messageboards.model.MBMailingList |
getMBMailingListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards mailing list matching the UUID and group.
|
com.liferay.portlet.messageboards.service.MBMailingListLocalService |
getMBMailingListLocalService()
Returns the message boards mailing list local service.
|
com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence |
getMBMailingListPersistence()
Returns the message boards mailing list persistence.
|
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
getMBMailingLists(int start,
int end)
Returns a range of all the message boards mailing lists.
|
int |
getMBMailingListsCount()
Returns the number of message boards mailing lists.
|
com.liferay.portlet.messageboards.service.persistence.MBMessageFinder |
getMBMessageFinder()
Returns the message-boards message finder.
|
com.liferay.portlet.messageboards.service.MBMessageLocalService |
getMBMessageLocalService()
Returns the message-boards message local service.
|
com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence |
getMBMessagePersistence()
Returns the message-boards message persistence.
|
com.liferay.portlet.messageboards.service.MBMessageService |
getMBMessageService()
Returns the message-boards message remote service.
|
com.liferay.portlet.messageboards.service.MBStatsUserLocalService |
getMBStatsUserLocalService()
Returns the message boards stats user local service.
|
com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence |
getMBStatsUserPersistence()
Returns the message boards stats user persistence.
|
com.liferay.portlet.messageboards.service.persistence.MBThreadFinder |
getMBThreadFinder()
Returns the message boards thread finder.
|
com.liferay.portlet.messageboards.service.MBThreadFlagLocalService |
getMBThreadFlagLocalService()
Returns the message boards thread flag local service.
|
com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence |
getMBThreadFlagPersistence()
Returns the message boards thread flag persistence.
|
com.liferay.portlet.messageboards.service.MBThreadLocalService |
getMBThreadLocalService()
Returns the message boards thread local service.
|
com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence |
getMBThreadPersistence()
Returns the message boards thread persistence.
|
com.liferay.portlet.messageboards.service.MBThreadService |
getMBThreadService()
Returns the message boards thread remote service.
|
protected java.lang.Class<?> |
getModelClass() |
protected java.lang.String |
getModelClassName() |
com.liferay.portal.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
com.liferay.portal.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.service.persistence.UserFinder |
getUserFinder()
Returns the user finder.
|
com.liferay.portal.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
com.liferay.portal.service.UserService |
getUserService()
Returns the user remote service.
|
protected void |
runSQL(java.lang.String sql)
Performs an SQL query.
|
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setMBBanLocalService(com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService)
Sets the message boards ban local service.
|
void |
setMBBanPersistence(com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence)
Sets the message boards ban persistence.
|
void |
setMBBanService(com.liferay.portlet.messageboards.service.MBBanService mbBanService)
Sets the message boards ban remote service.
|
void |
setMBCategoryFinder(com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder)
Sets the message boards category finder.
|
void |
setMBCategoryLocalService(com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService)
Sets the message boards category local service.
|
void |
setMBCategoryPersistence(com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence)
Sets the message boards category persistence.
|
void |
setMBCategoryService(com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService)
Sets the message boards category remote service.
|
void |
setMBDiscussionLocalService(com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService)
Sets the message boards discussion local service.
|
void |
setMBDiscussionPersistence(com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence)
Sets the message boards discussion persistence.
|
void |
setMBMailingListLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService)
Sets the message boards mailing list local service.
|
void |
setMBMailingListPersistence(com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence)
Sets the message boards mailing list persistence.
|
void |
setMBMessageFinder(com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder)
Sets the message-boards message finder.
|
void |
setMBMessageLocalService(com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service.
|
void |
setMBMessagePersistence(com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence.
|
void |
setMBMessageService(com.liferay.portlet.messageboards.service.MBMessageService mbMessageService)
Sets the message-boards message remote service.
|
void |
setMBStatsUserLocalService(com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService)
Sets the message boards stats user local service.
|
void |
setMBStatsUserPersistence(com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence)
Sets the message boards stats user persistence.
|
void |
setMBThreadFinder(com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder)
Sets the message boards thread finder.
|
void |
setMBThreadFlagLocalService(com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService)
Sets the message boards thread flag local service.
|
void |
setMBThreadFlagPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence)
Sets the message boards thread flag persistence.
|
void |
setMBThreadLocalService(com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService)
Sets the message boards thread local service.
|
void |
setMBThreadPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence)
Sets the message boards thread persistence.
|
void |
setMBThreadService(com.liferay.portlet.messageboards.service.MBThreadService mbThreadService)
Sets the message boards thread remote service.
|
void |
setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.
|
void |
setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
void |
setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.
|
com.liferay.portlet.messageboards.model.MBMailingList |
updateMBMailingList(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
Updates the message boards mailing list in the database or adds it if it does not yet exist.
|
getClassLoader, getLayoutURL, getLayoutURL@BeanReference(type=com.liferay.portlet.messageboards.service.MBBanLocalService.class) protected com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.MBBanService.class) protected com.liferay.portlet.messageboards.service.MBBanService mbBanService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBBanPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.MBCategoryLocalService.class) protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.MBCategoryService.class) protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder.class) protected com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder
@BeanReference(type=com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class) protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.MBMailingListLocalService.class) protected com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.MBMessageLocalService.class) protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.MBMessageService.class) protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessageFinder.class) protected com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder
@BeanReference(type=com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class) protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.MBThreadLocalService.class) protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.MBThreadService.class) protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadFinder.class) protected com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder
@BeanReference(type=com.liferay.portlet.messageboards.service.MBThreadFlagLocalService.class) protected com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence
@BeanReference(type=com.liferay.counter.service.CounterLocalService.class) protected com.liferay.counter.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class) protected com.liferay.portal.service.ResourceLocalService resourceLocalService
@BeanReference(type=com.liferay.portal.service.UserLocalService.class) protected com.liferay.portal.service.UserLocalService userLocalService
@BeanReference(type=com.liferay.portal.service.UserService.class) protected com.liferay.portal.service.UserService userService
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class) protected com.liferay.portal.service.persistence.UserFinder userFinder
@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX)
public com.liferay.portlet.messageboards.model.MBMailingList addMBMailingList(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
throws com.liferay.portal.kernel.exception.SystemException
addMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicembMailingList - the message boards mailing listcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBMailingList createMBMailingList(long mailingListId)
createMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicemailingListId - the primary key for the new message boards mailing list@Indexable(type=DELETE)
public com.liferay.portlet.messageboards.model.MBMailingList deleteMBMailingList(long mailingListId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
deleteMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicemailingListId - the primary key of the message boards mailing listcom.liferay.portal.kernel.exception.PortalException - if a message boards mailing list with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=DELETE)
public com.liferay.portlet.messageboards.model.MBMailingList deleteMBMailingList(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
throws com.liferay.portal.kernel.exception.SystemException
deleteMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicembMailingList - the message boards mailing listcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicepublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQuery in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicedynamicQuery - the dynamic querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 MBMailingListModelImpl. 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 com.liferay.portlet.messageboards.service.MBMailingListLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 MBMailingListModelImpl. 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 com.liferay.portlet.messageboards.service.MBMailingListLocalServicedynamicQuery - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicedynamicQuery - the dynamic querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBMailingList fetchMBMailingList(long mailingListId)
throws com.liferay.portal.kernel.exception.SystemException
fetchMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicecom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.messageboards.model.MBMailingList fetchMBMailingListByUuidAndCompanyId(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
fetchMBMailingListByUuidAndCompanyId in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServiceuuid - the message boards mailing list's UUIDcompanyId - the primary key of the companynull if a matching message boards mailing list could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBMailingList fetchMBMailingListByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
fetchMBMailingListByUuidAndGroupId in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServiceuuid - the message boards mailing list's UUIDgroupId - the primary key of the groupnull if a matching message boards mailing list could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBMailingList getMBMailingList(long mailingListId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicemailingListId - the primary key of the message boards mailing listcom.liferay.portal.kernel.exception.PortalException - if a message boards mailing list with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicegetPersistedModel in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.messageboards.model.MBMailingList getMBMailingListByUuidAndCompanyId(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getMBMailingListByUuidAndCompanyId in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServiceuuid - the message boards mailing list's UUIDcompanyId - the primary key of the companycom.liferay.portal.kernel.exception.PortalException - if a matching message boards mailing list could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBMailingList getMBMailingListByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getMBMailingListByUuidAndGroupId in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServiceuuid - the message boards mailing list's UUIDgroupId - the primary key of the groupcom.liferay.portal.kernel.exception.PortalException - if a matching message boards mailing list could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> getMBMailingLists(int start,
int end)
throws com.liferay.portal.kernel.exception.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 MBMailingListModelImpl. 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.
getMBMailingLists in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicestart - the lower bound of the range of message boards mailing listsend - the upper bound of the range of message boards mailing lists (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getMBMailingListsCount()
throws com.liferay.portal.kernel.exception.SystemException
getMBMailingListsCount in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=REINDEX)
public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
throws com.liferay.portal.kernel.exception.SystemException
updateMBMailingList in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicembMailingList - the message boards mailing listcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.service.MBBanLocalService getMBBanLocalService()
public void setMBBanLocalService(com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService)
mbBanLocalService - the message boards ban local servicepublic com.liferay.portlet.messageboards.service.MBBanService getMBBanService()
public void setMBBanService(com.liferay.portlet.messageboards.service.MBBanService mbBanService)
mbBanService - the message boards ban remote servicepublic com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence()
public void setMBBanPersistence(com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence)
mbBanPersistence - the message boards ban persistencepublic com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService()
public void setMBCategoryLocalService(com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService)
mbCategoryLocalService - the message boards category local servicepublic com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService()
public void setMBCategoryService(com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService)
mbCategoryService - the message boards category remote servicepublic com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence getMBCategoryPersistence()
public void setMBCategoryPersistence(com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence)
mbCategoryPersistence - the message boards category persistencepublic com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder getMBCategoryFinder()
public void setMBCategoryFinder(com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder)
mbCategoryFinder - the message boards category finderpublic com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService()
public void setMBDiscussionLocalService(com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService)
mbDiscussionLocalService - the message boards discussion local servicepublic com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence getMBDiscussionPersistence()
public void setMBDiscussionPersistence(com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence)
mbDiscussionPersistence - the message boards discussion persistencepublic com.liferay.portlet.messageboards.service.MBMailingListLocalService getMBMailingListLocalService()
public void setMBMailingListLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService)
mbMailingListLocalService - the message boards mailing list local servicepublic com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence getMBMailingListPersistence()
public void setMBMailingListPersistence(com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence)
mbMailingListPersistence - the message boards mailing list persistencepublic com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService()
public void setMBMessageLocalService(com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService)
mbMessageLocalService - the message-boards message local servicepublic com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService()
public void setMBMessageService(com.liferay.portlet.messageboards.service.MBMessageService mbMessageService)
mbMessageService - the message-boards message remote servicepublic com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence()
public void setMBMessagePersistence(com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence)
mbMessagePersistence - the message-boards message persistencepublic com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder()
public void setMBMessageFinder(com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder)
mbMessageFinder - the message-boards message finderpublic com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService()
public void setMBStatsUserLocalService(com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService)
mbStatsUserLocalService - the message boards stats user local servicepublic com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence()
public void setMBStatsUserPersistence(com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence)
mbStatsUserPersistence - the message boards stats user persistencepublic com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService()
public void setMBThreadLocalService(com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService)
mbThreadLocalService - the message boards thread local servicepublic com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService()
public void setMBThreadService(com.liferay.portlet.messageboards.service.MBThreadService mbThreadService)
mbThreadService - the message boards thread remote servicepublic com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence getMBThreadPersistence()
public void setMBThreadPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence)
mbThreadPersistence - the message boards thread persistencepublic com.liferay.portlet.messageboards.service.persistence.MBThreadFinder getMBThreadFinder()
public void setMBThreadFinder(com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder)
mbThreadFinder - the message boards thread finderpublic com.liferay.portlet.messageboards.service.MBThreadFlagLocalService getMBThreadFlagLocalService()
public void setMBThreadFlagLocalService(com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService)
mbThreadFlagLocalService - the message boards thread flag local servicepublic com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence getMBThreadFlagPersistence()
public void setMBThreadFlagPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence)
mbThreadFlagPersistence - the message boards thread flag persistencepublic com.liferay.counter.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic com.liferay.portal.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic com.liferay.portal.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
userLocalService - the user local servicepublic com.liferay.portal.service.UserService getUserService()
public void setUserService(com.liferay.portal.service.UserService userService)
userService - the user remote servicepublic com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
userPersistence - the user persistencepublic com.liferay.portal.service.persistence.UserFinder getUserFinder()
public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
userFinder - the user finderpublic void afterPropertiesSet()
public void destroy()
public java.lang.String getBeanIdentifier()
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeangetBeanIdentifier in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeansetBeanIdentifier in interface com.liferay.portlet.messageboards.service.MBMailingListLocalServicebeanIdentifier - the Spring bean ID for this beanprotected java.lang.Class<?> getModelClass()
protected java.lang.String getModelClassName()
protected void runSQL(java.lang.String sql)
throws com.liferay.portal.kernel.exception.SystemException
sql - the sql querycom.liferay.portal.kernel.exception.SystemException