public abstract class MBBanLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.liferay.portlet.messageboards.service.MBBanLocalService, 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 MBBanLocalServiceImpl.
MBBanLocalServiceImpl,
MBBanLocalServiceUtil| 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.SystemEventLocalService |
systemEventLocalService |
protected com.liferay.portal.service.persistence.SystemEventPersistence |
systemEventPersistence |
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 |
|---|
MBBanLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.messageboards.model.MBBan |
addMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
Adds the message boards ban to the database.
|
void |
afterPropertiesSet() |
com.liferay.portlet.messageboards.model.MBBan |
createMBBan(long banId)
Creates a new message boards ban with the primary key.
|
com.liferay.portlet.messageboards.model.MBBan |
deleteMBBan(long banId)
Deletes the message boards ban with the primary key from the database.
|
com.liferay.portlet.messageboards.model.MBBan |
deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
Deletes the message boards ban 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.MBBan |
fetchMBBan(long banId) |
com.liferay.portlet.messageboards.model.MBBan |
fetchMBBanByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards ban with the matching UUID and company.
|
com.liferay.portlet.messageboards.model.MBBan |
fetchMBBanByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards ban 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.model.MBBan |
getMBBan(long banId)
Returns the message boards ban with the primary key.
|
com.liferay.portlet.messageboards.model.MBBan |
getMBBanByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards ban with the matching UUID and company.
|
com.liferay.portlet.messageboards.model.MBBan |
getMBBanByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards ban matching the UUID and group.
|
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.
|
java.util.List<com.liferay.portlet.messageboards.model.MBBan> |
getMBBans(int start,
int end)
Returns a range of all the message boards bans.
|
int |
getMBBansCount()
Returns the number of message boards bans.
|
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.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.
|
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.SystemEventLocalService |
getSystemEventLocalService()
Returns the system event local service.
|
com.liferay.portal.service.persistence.SystemEventPersistence |
getSystemEventPersistence()
Returns the system event persistence.
|
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 |
setSystemEventLocalService(com.liferay.portal.service.SystemEventLocalService systemEventLocalService)
Sets the system event local service.
|
void |
setSystemEventPersistence(com.liferay.portal.service.persistence.SystemEventPersistence systemEventPersistence)
Sets the system event persistence.
|
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.MBBan |
updateMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
Updates the message boards ban 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.SystemEventLocalService.class) protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService
@BeanReference(type=com.liferay.portal.service.persistence.SystemEventPersistence.class) protected com.liferay.portal.service.persistence.SystemEventPersistence systemEventPersistence
@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.MBBan addMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
throws com.liferay.portal.kernel.exception.SystemException
addMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicembBan - the message boards bancom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId)
createMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicebanId - the primary key for the new message boards ban@Indexable(type=DELETE)
public com.liferay.portlet.messageboards.model.MBBan deleteMBBan(long banId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
deleteMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicebanId - the primary key of the message boards bancom.liferay.portal.kernel.exception.PortalException - if a message boards ban 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.MBBan deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
throws com.liferay.portal.kernel.exception.SystemException
deleteMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicembBan - the message boards bancom.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.MBBanLocalServicepublic 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.MBBanLocalServicedynamicQuery - 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 MBBanModelImpl. 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.MBBanLocalServicedynamicQuery - 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 MBBanModelImpl. 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.MBBanLocalServicedynamicQuery - 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.MBBanLocalServicedynamicQuery - 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.MBBanLocalServicedynamicQuery - 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.MBBan fetchMBBan(long banId)
throws com.liferay.portal.kernel.exception.SystemException
fetchMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicecom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.messageboards.model.MBBan fetchMBBanByUuidAndCompanyId(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
fetchMBBanByUuidAndCompanyId in interface com.liferay.portlet.messageboards.service.MBBanLocalServiceuuid - the message boards ban's UUIDcompanyId - the primary key of the companynull if a matching message boards ban could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBBan fetchMBBanByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
fetchMBBanByUuidAndGroupId in interface com.liferay.portlet.messageboards.service.MBBanLocalServiceuuid - the message boards ban's UUIDgroupId - the primary key of the groupnull if a matching message boards ban could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicebanId - the primary key of the message boards bancom.liferay.portal.kernel.exception.PortalException - if a message boards ban 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.MBBanLocalServicecom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.messageboards.model.MBBan getMBBanByUuidAndCompanyId(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getMBBanByUuidAndCompanyId in interface com.liferay.portlet.messageboards.service.MBBanLocalServiceuuid - the message boards ban's UUIDcompanyId - the primary key of the companycom.liferay.portal.kernel.exception.PortalException - if a matching message boards ban could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.messageboards.model.MBBan getMBBanByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getMBBanByUuidAndGroupId in interface com.liferay.portlet.messageboards.service.MBBanLocalServiceuuid - the message boards ban's UUIDgroupId - the primary key of the groupcom.liferay.portal.kernel.exception.PortalException - if a matching message boards ban could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(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 MBBanModelImpl. 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.
getMBBans in interface com.liferay.portlet.messageboards.service.MBBanLocalServicestart - the lower bound of the range of message boards bansend - the upper bound of the range of message boards bans (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getMBBansCount()
throws com.liferay.portal.kernel.exception.SystemException
getMBBansCount in interface com.liferay.portlet.messageboards.service.MBBanLocalServicecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=REINDEX)
public com.liferay.portlet.messageboards.model.MBBan updateMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
throws com.liferay.portal.kernel.exception.SystemException
updateMBBan in interface com.liferay.portlet.messageboards.service.MBBanLocalServicembBan - the message boards bancom.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.SystemEventLocalService getSystemEventLocalService()
public void setSystemEventLocalService(com.liferay.portal.service.SystemEventLocalService systemEventLocalService)
systemEventLocalService - the system event local servicepublic com.liferay.portal.service.persistence.SystemEventPersistence getSystemEventPersistence()
public void setSystemEventPersistence(com.liferay.portal.service.persistence.SystemEventPersistence systemEventPersistence)
systemEventPersistence - the system event persistencepublic 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.MBBanLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeansetBeanIdentifier in interface com.liferay.portlet.messageboards.service.MBBanLocalServicebeanIdentifier - 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