Liferay 6.2-ce-ga5

com.liferay.portlet.messageboards.service.base
Class MBBanLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, MBBanLocalService
Direct Known Subclasses:
MBBanLocalServiceImpl

public abstract class MBBanLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements MBBanLocalService, IdentifiableBean

Provides the base implementation for the message boards ban local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in MBBanLocalServiceImpl.

See Also:
MBBanLocalServiceImpl, MBBanLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  CounterLocalService counterLocalService
           
protected  MBBanLocalService mbBanLocalService
           
protected  MBBanPersistence mbBanPersistence
           
protected  MBBanService mbBanService
           
protected  MBCategoryFinder mbCategoryFinder
           
protected  MBCategoryLocalService mbCategoryLocalService
           
protected  MBCategoryPersistence mbCategoryPersistence
           
protected  MBCategoryService mbCategoryService
           
protected  MBDiscussionLocalService mbDiscussionLocalService
           
protected  MBDiscussionPersistence mbDiscussionPersistence
           
protected  MBMailingListLocalService mbMailingListLocalService
           
protected  MBMailingListPersistence mbMailingListPersistence
           
protected  MBMessageFinder mbMessageFinder
           
protected  MBMessageLocalService mbMessageLocalService
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBMessageService mbMessageService
           
protected  MBStatsUserLocalService mbStatsUserLocalService
           
protected  MBStatsUserPersistence mbStatsUserPersistence
           
protected  MBThreadFinder mbThreadFinder
           
protected  MBThreadFlagLocalService mbThreadFlagLocalService
           
protected  MBThreadFlagPersistence mbThreadFlagPersistence
           
protected  MBThreadLocalService mbThreadLocalService
           
protected  MBThreadPersistence mbThreadPersistence
           
protected  MBThreadService mbThreadService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  SystemEventLocalService systemEventLocalService
           
protected  SystemEventPersistence systemEventPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
MBBanLocalServiceBaseImpl()
           
 
Method Summary
 MBBan addMBBan(MBBan mbBan)
          Adds the message boards ban to the database.
 void afterPropertiesSet()
           
 MBBan createMBBan(long banId)
          Creates a new message boards ban with the primary key.
 MBBan deleteMBBan(long banId)
          Deletes the message boards ban with the primary key from the database.
 MBBan deleteMBBan(MBBan mbBan)
          Deletes the message boards ban from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 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.
 MBBan fetchMBBan(long banId)
           
 MBBan fetchMBBanByUuidAndCompanyId(String uuid, long companyId)
          Returns the message boards ban with the matching UUID and company.
 MBBan fetchMBBanByUuidAndGroupId(String uuid, long groupId)
          Returns the message boards ban matching the UUID and group.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 MBBan getMBBan(long banId)
          Returns the message boards ban with the primary key.
 MBBan getMBBanByUuidAndCompanyId(String uuid, long companyId)
          Returns the message boards ban with the matching UUID and company.
 MBBan getMBBanByUuidAndGroupId(String uuid, long groupId)
          Returns the message boards ban matching the UUID and group.
 MBBanLocalService getMBBanLocalService()
          Returns the message boards ban local service.
 MBBanPersistence getMBBanPersistence()
          Returns the message boards ban persistence.
 List<MBBan> getMBBans(int start, int end)
          Returns a range of all the message boards bans.
 int getMBBansCount()
          Returns the number of message boards bans.
 MBBanService getMBBanService()
          Returns the message boards ban remote service.
 MBCategoryFinder getMBCategoryFinder()
          Returns the message boards category finder.
 MBCategoryLocalService getMBCategoryLocalService()
          Returns the message boards category local service.
 MBCategoryPersistence getMBCategoryPersistence()
          Returns the message boards category persistence.
 MBCategoryService getMBCategoryService()
          Returns the message boards category remote service.
 MBDiscussionLocalService getMBDiscussionLocalService()
          Returns the message boards discussion local service.
 MBDiscussionPersistence getMBDiscussionPersistence()
          Returns the message boards discussion persistence.
 MBMailingListLocalService getMBMailingListLocalService()
          Returns the message boards mailing list local service.
 MBMailingListPersistence getMBMailingListPersistence()
          Returns the message boards mailing list persistence.
 MBMessageFinder getMBMessageFinder()
          Returns the message-boards message finder.
 MBMessageLocalService getMBMessageLocalService()
          Returns the message-boards message local service.
 MBMessagePersistence getMBMessagePersistence()
          Returns the message-boards message persistence.
 MBMessageService getMBMessageService()
          Returns the message-boards message remote service.
 MBStatsUserLocalService getMBStatsUserLocalService()
          Returns the message boards stats user local service.
 MBStatsUserPersistence getMBStatsUserPersistence()
          Returns the message boards stats user persistence.
 MBThreadFinder getMBThreadFinder()
          Returns the message boards thread finder.
 MBThreadFlagLocalService getMBThreadFlagLocalService()
          Returns the message boards thread flag local service.
 MBThreadFlagPersistence getMBThreadFlagPersistence()
          Returns the message boards thread flag persistence.
 MBThreadLocalService getMBThreadLocalService()
          Returns the message boards thread local service.
 MBThreadPersistence getMBThreadPersistence()
          Returns the message boards thread persistence.
 MBThreadService getMBThreadService()
          Returns the message boards thread remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 SystemEventLocalService getSystemEventLocalService()
          Returns the system event local service.
 SystemEventPersistence getSystemEventPersistence()
          Returns the system event persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setMBBanLocalService(MBBanLocalService mbBanLocalService)
          Sets the message boards ban local service.
 void setMBBanPersistence(MBBanPersistence mbBanPersistence)
          Sets the message boards ban persistence.
 void setMBBanService(MBBanService mbBanService)
          Sets the message boards ban remote service.
 void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
          Sets the message boards category finder.
 void setMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
          Sets the message boards category local service.
 void setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
          Sets the message boards category persistence.
 void setMBCategoryService(MBCategoryService mbCategoryService)
          Sets the message boards category remote service.
 void setMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
          Sets the message boards discussion local service.
 void setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
          Sets the message boards discussion persistence.
 void setMBMailingListLocalService(MBMailingListLocalService mbMailingListLocalService)
          Sets the message boards mailing list local service.
 void setMBMailingListPersistence(MBMailingListPersistence mbMailingListPersistence)
          Sets the message boards mailing list persistence.
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
          Sets the message-boards message finder.
 void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
          Sets the message-boards message local service.
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
          Sets the message-boards message persistence.
 void setMBMessageService(MBMessageService mbMessageService)
          Sets the message-boards message remote service.
 void setMBStatsUserLocalService(MBStatsUserLocalService mbStatsUserLocalService)
          Sets the message boards stats user local service.
 void setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
          Sets the message boards stats user persistence.
 void setMBThreadFinder(MBThreadFinder mbThreadFinder)
          Sets the message boards thread finder.
 void setMBThreadFlagLocalService(MBThreadFlagLocalService mbThreadFlagLocalService)
          Sets the message boards thread flag local service.
 void setMBThreadFlagPersistence(MBThreadFlagPersistence mbThreadFlagPersistence)
          Sets the message boards thread flag persistence.
 void setMBThreadLocalService(MBThreadLocalService mbThreadLocalService)
          Sets the message boards thread local service.
 void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
          Sets the message boards thread persistence.
 void setMBThreadService(MBThreadService mbThreadService)
          Sets the message boards thread remote service.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
          Sets the system event local service.
 void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
          Sets the system event persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 MBBan updateMBBan(MBBan mbBan)
          Updates the message boards ban in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.messageboards.service.MBBanLocalService
addBan, checkBan, deleteBan, deleteBan, deleteBan, deleteBansByBanUserId, deleteBansByGroupId, expireBans, getBans, getBansCount, hasBan
 

Field Detail

mbBanLocalService

@BeanReference(type=MBBanLocalService.class)
protected MBBanLocalService mbBanLocalService

mbBanService

@BeanReference(type=MBBanService.class)
protected MBBanService mbBanService

mbBanPersistence

@BeanReference(type=MBBanPersistence.class)
protected MBBanPersistence mbBanPersistence

mbCategoryLocalService

@BeanReference(type=MBCategoryLocalService.class)
protected MBCategoryLocalService mbCategoryLocalService

mbCategoryService

@BeanReference(type=MBCategoryService.class)
protected MBCategoryService mbCategoryService

mbCategoryPersistence

@BeanReference(type=MBCategoryPersistence.class)
protected MBCategoryPersistence mbCategoryPersistence

mbCategoryFinder

@BeanReference(type=MBCategoryFinder.class)
protected MBCategoryFinder mbCategoryFinder

mbDiscussionLocalService

@BeanReference(type=MBDiscussionLocalService.class)
protected MBDiscussionLocalService mbDiscussionLocalService

mbDiscussionPersistence

@BeanReference(type=MBDiscussionPersistence.class)
protected MBDiscussionPersistence mbDiscussionPersistence

mbMailingListLocalService

@BeanReference(type=MBMailingListLocalService.class)
protected MBMailingListLocalService mbMailingListLocalService

mbMailingListPersistence

@BeanReference(type=MBMailingListPersistence.class)
protected MBMailingListPersistence mbMailingListPersistence

mbMessageLocalService

@BeanReference(type=MBMessageLocalService.class)
protected MBMessageLocalService mbMessageLocalService

mbMessageService

@BeanReference(type=MBMessageService.class)
protected MBMessageService mbMessageService

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

mbMessageFinder

@BeanReference(type=MBMessageFinder.class)
protected MBMessageFinder mbMessageFinder

mbStatsUserLocalService

@BeanReference(type=MBStatsUserLocalService.class)
protected MBStatsUserLocalService mbStatsUserLocalService

mbStatsUserPersistence

@BeanReference(type=MBStatsUserPersistence.class)
protected MBStatsUserPersistence mbStatsUserPersistence

mbThreadLocalService

@BeanReference(type=MBThreadLocalService.class)
protected MBThreadLocalService mbThreadLocalService

mbThreadService

@BeanReference(type=MBThreadService.class)
protected MBThreadService mbThreadService

mbThreadPersistence

@BeanReference(type=MBThreadPersistence.class)
protected MBThreadPersistence mbThreadPersistence

mbThreadFinder

@BeanReference(type=MBThreadFinder.class)
protected MBThreadFinder mbThreadFinder

mbThreadFlagLocalService

@BeanReference(type=MBThreadFlagLocalService.class)
protected MBThreadFlagLocalService mbThreadFlagLocalService

mbThreadFlagPersistence

@BeanReference(type=MBThreadFlagPersistence.class)
protected MBThreadFlagPersistence mbThreadFlagPersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

systemEventLocalService

@BeanReference(type=SystemEventLocalService.class)
protected SystemEventLocalService systemEventLocalService

systemEventPersistence

@BeanReference(type=SystemEventPersistence.class)
protected SystemEventPersistence systemEventPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

MBBanLocalServiceBaseImpl

public MBBanLocalServiceBaseImpl()
Method Detail

addMBBan

@Indexable(type=REINDEX)
public MBBan addMBBan(MBBan mbBan)
               throws SystemException
Adds the message boards ban to the database. Also notifies the appropriate model listeners.

Specified by:
addMBBan in interface MBBanLocalService
Parameters:
mbBan - the message boards ban
Returns:
the message boards ban that was added
Throws:
SystemException - if a system exception occurred

createMBBan

public MBBan createMBBan(long banId)
Creates a new message boards ban with the primary key. Does not add the message boards ban to the database.

Specified by:
createMBBan in interface MBBanLocalService
Parameters:
banId - the primary key for the new message boards ban
Returns:
the new message boards ban

deleteMBBan

@Indexable(type=DELETE)
public MBBan deleteMBBan(long banId)
                  throws PortalException,
                         SystemException
Deletes the message boards ban with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBBan in interface MBBanLocalService
Parameters:
banId - the primary key of the message boards ban
Returns:
the message boards ban that was removed
Throws:
PortalException - if a message boards ban with the primary key could not be found
SystemException - if a system exception occurred

deleteMBBan

@Indexable(type=DELETE)
public MBBan deleteMBBan(MBBan mbBan)
                  throws SystemException
Deletes the message boards ban from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBBan in interface MBBanLocalService
Parameters:
mbBan - the message boards ban
Returns:
the message boards ban that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface MBBanLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface MBBanLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface MBBanLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface MBBanLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface MBBanLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface MBBanLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchMBBan

public MBBan fetchMBBan(long banId)
                 throws SystemException
Specified by:
fetchMBBan in interface MBBanLocalService
Throws:
SystemException

fetchMBBanByUuidAndCompanyId

public MBBan fetchMBBanByUuidAndCompanyId(String uuid,
                                          long companyId)
                                   throws SystemException
Returns the message boards ban with the matching UUID and company.

Specified by:
fetchMBBanByUuidAndCompanyId in interface MBBanLocalService
Parameters:
uuid - the message boards ban's UUID
companyId - the primary key of the company
Returns:
the matching message boards ban, or null if a matching message boards ban could not be found
Throws:
SystemException - if a system exception occurred

fetchMBBanByUuidAndGroupId

public MBBan fetchMBBanByUuidAndGroupId(String uuid,
                                        long groupId)
                                 throws SystemException
Returns the message boards ban matching the UUID and group.

Specified by:
fetchMBBanByUuidAndGroupId in interface MBBanLocalService
Parameters:
uuid - the message boards ban's UUID
groupId - the primary key of the group
Returns:
the matching message boards ban, or null if a matching message boards ban could not be found
Throws:
SystemException - if a system exception occurred

getMBBan

public MBBan getMBBan(long banId)
               throws PortalException,
                      SystemException
Returns the message boards ban with the primary key.

Specified by:
getMBBan in interface MBBanLocalService
Parameters:
banId - the primary key of the message boards ban
Returns:
the message boards ban
Throws:
PortalException - if a message boards ban with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface MBBanLocalService
Throws:
PortalException
SystemException

getMBBanByUuidAndCompanyId

public MBBan getMBBanByUuidAndCompanyId(String uuid,
                                        long companyId)
                                 throws PortalException,
                                        SystemException
Returns the message boards ban with the matching UUID and company.

Specified by:
getMBBanByUuidAndCompanyId in interface MBBanLocalService
Parameters:
uuid - the message boards ban's UUID
companyId - the primary key of the company
Returns:
the matching message boards ban
Throws:
PortalException - if a matching message boards ban could not be found
SystemException - if a system exception occurred

getMBBanByUuidAndGroupId

public MBBan getMBBanByUuidAndGroupId(String uuid,
                                      long groupId)
                               throws PortalException,
                                      SystemException
Returns the message boards ban matching the UUID and group.

Specified by:
getMBBanByUuidAndGroupId in interface MBBanLocalService
Parameters:
uuid - the message boards ban's UUID
groupId - the primary key of the group
Returns:
the matching message boards ban
Throws:
PortalException - if a matching message boards ban could not be found
SystemException - if a system exception occurred

getMBBans

public List<MBBan> getMBBans(int start,
                             int end)
                      throws SystemException
Returns a range of all the message boards bans.

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.

Specified by:
getMBBans in interface MBBanLocalService
Parameters:
start - the lower bound of the range of message boards bans
end - the upper bound of the range of message boards bans (not inclusive)
Returns:
the range of message boards bans
Throws:
SystemException - if a system exception occurred

getMBBansCount

public int getMBBansCount()
                   throws SystemException
Returns the number of message boards bans.

Specified by:
getMBBansCount in interface MBBanLocalService
Returns:
the number of message boards bans
Throws:
SystemException - if a system exception occurred

updateMBBan

@Indexable(type=REINDEX)
public MBBan updateMBBan(MBBan mbBan)
                  throws SystemException
Updates the message boards ban in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMBBan in interface MBBanLocalService
Parameters:
mbBan - the message boards ban
Returns:
the message boards ban that was updated
Throws:
SystemException - if a system exception occurred

getMBBanLocalService

public MBBanLocalService getMBBanLocalService()
Returns the message boards ban local service.

Returns:
the message boards ban local service

setMBBanLocalService

public void setMBBanLocalService(MBBanLocalService mbBanLocalService)
Sets the message boards ban local service.

Parameters:
mbBanLocalService - the message boards ban local service

getMBBanService

public MBBanService getMBBanService()
Returns the message boards ban remote service.

Returns:
the message boards ban remote service

setMBBanService

public void setMBBanService(MBBanService mbBanService)
Sets the message boards ban remote service.

Parameters:
mbBanService - the message boards ban remote service

getMBBanPersistence

public MBBanPersistence getMBBanPersistence()
Returns the message boards ban persistence.

Returns:
the message boards ban persistence

setMBBanPersistence

public void setMBBanPersistence(MBBanPersistence mbBanPersistence)
Sets the message boards ban persistence.

Parameters:
mbBanPersistence - the message boards ban persistence

getMBCategoryLocalService

public MBCategoryLocalService getMBCategoryLocalService()
Returns the message boards category local service.

Returns:
the message boards category local service

setMBCategoryLocalService

public void setMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
Sets the message boards category local service.

Parameters:
mbCategoryLocalService - the message boards category local service

getMBCategoryService

public MBCategoryService getMBCategoryService()
Returns the message boards category remote service.

Returns:
the message boards category remote service

setMBCategoryService

public void setMBCategoryService(MBCategoryService mbCategoryService)
Sets the message boards category remote service.

Parameters:
mbCategoryService - the message boards category remote service

getMBCategoryPersistence

public MBCategoryPersistence getMBCategoryPersistence()
Returns the message boards category persistence.

Returns:
the message boards category persistence

setMBCategoryPersistence

public void setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
Sets the message boards category persistence.

Parameters:
mbCategoryPersistence - the message boards category persistence

getMBCategoryFinder

public MBCategoryFinder getMBCategoryFinder()
Returns the message boards category finder.

Returns:
the message boards category finder

setMBCategoryFinder

public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
Sets the message boards category finder.

Parameters:
mbCategoryFinder - the message boards category finder

getMBDiscussionLocalService

public MBDiscussionLocalService getMBDiscussionLocalService()
Returns the message boards discussion local service.

Returns:
the message boards discussion local service

setMBDiscussionLocalService

public void setMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
Sets the message boards discussion local service.

Parameters:
mbDiscussionLocalService - the message boards discussion local service

getMBDiscussionPersistence

public MBDiscussionPersistence getMBDiscussionPersistence()
Returns the message boards discussion persistence.

Returns:
the message boards discussion persistence

setMBDiscussionPersistence

public void setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
Sets the message boards discussion persistence.

Parameters:
mbDiscussionPersistence - the message boards discussion persistence

getMBMailingListLocalService

public MBMailingListLocalService getMBMailingListLocalService()
Returns the message boards mailing list local service.

Returns:
the message boards mailing list local service

setMBMailingListLocalService

public void setMBMailingListLocalService(MBMailingListLocalService mbMailingListLocalService)
Sets the message boards mailing list local service.

Parameters:
mbMailingListLocalService - the message boards mailing list local service

getMBMailingListPersistence

public MBMailingListPersistence getMBMailingListPersistence()
Returns the message boards mailing list persistence.

Returns:
the message boards mailing list persistence

setMBMailingListPersistence

public void setMBMailingListPersistence(MBMailingListPersistence mbMailingListPersistence)
Sets the message boards mailing list persistence.

Parameters:
mbMailingListPersistence - the message boards mailing list persistence

getMBMessageLocalService

public MBMessageLocalService getMBMessageLocalService()
Returns the message-boards message local service.

Returns:
the message-boards message local service

setMBMessageLocalService

public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service.

Parameters:
mbMessageLocalService - the message-boards message local service

getMBMessageService

public MBMessageService getMBMessageService()
Returns the message-boards message remote service.

Returns:
the message-boards message remote service

setMBMessageService

public void setMBMessageService(MBMessageService mbMessageService)
Sets the message-boards message remote service.

Parameters:
mbMessageService - the message-boards message remote service

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()
Returns the message-boards message persistence.

Returns:
the message-boards message persistence

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence.

Parameters:
mbMessagePersistence - the message-boards message persistence

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()
Returns the message-boards message finder.

Returns:
the message-boards message finder

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
Sets the message-boards message finder.

Parameters:
mbMessageFinder - the message-boards message finder

getMBStatsUserLocalService

public MBStatsUserLocalService getMBStatsUserLocalService()
Returns the message boards stats user local service.

Returns:
the message boards stats user local service

setMBStatsUserLocalService

public void setMBStatsUserLocalService(MBStatsUserLocalService mbStatsUserLocalService)
Sets the message boards stats user local service.

Parameters:
mbStatsUserLocalService - the message boards stats user local service

getMBStatsUserPersistence

public MBStatsUserPersistence getMBStatsUserPersistence()
Returns the message boards stats user persistence.

Returns:
the message boards stats user persistence

setMBStatsUserPersistence

public void setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
Sets the message boards stats user persistence.

Parameters:
mbStatsUserPersistence - the message boards stats user persistence

getMBThreadLocalService

public MBThreadLocalService getMBThreadLocalService()
Returns the message boards thread local service.

Returns:
the message boards thread local service

setMBThreadLocalService

public void setMBThreadLocalService(MBThreadLocalService mbThreadLocalService)
Sets the message boards thread local service.

Parameters:
mbThreadLocalService - the message boards thread local service

getMBThreadService

public MBThreadService getMBThreadService()
Returns the message boards thread remote service.

Returns:
the message boards thread remote service

setMBThreadService

public void setMBThreadService(MBThreadService mbThreadService)
Sets the message boards thread remote service.

Parameters:
mbThreadService - the message boards thread remote service

getMBThreadPersistence

public MBThreadPersistence getMBThreadPersistence()
Returns the message boards thread persistence.

Returns:
the message boards thread persistence

setMBThreadPersistence

public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
Sets the message boards thread persistence.

Parameters:
mbThreadPersistence - the message boards thread persistence

getMBThreadFinder

public MBThreadFinder getMBThreadFinder()
Returns the message boards thread finder.

Returns:
the message boards thread finder

setMBThreadFinder

public void setMBThreadFinder(MBThreadFinder mbThreadFinder)
Sets the message boards thread finder.

Parameters:
mbThreadFinder - the message boards thread finder

getMBThreadFlagLocalService

public MBThreadFlagLocalService getMBThreadFlagLocalService()
Returns the message boards thread flag local service.

Returns:
the message boards thread flag local service

setMBThreadFlagLocalService

public void setMBThreadFlagLocalService(MBThreadFlagLocalService mbThreadFlagLocalService)
Sets the message boards thread flag local service.

Parameters:
mbThreadFlagLocalService - the message boards thread flag local service

getMBThreadFlagPersistence

public MBThreadFlagPersistence getMBThreadFlagPersistence()
Returns the message boards thread flag persistence.

Returns:
the message boards thread flag persistence

setMBThreadFlagPersistence

public void setMBThreadFlagPersistence(MBThreadFlagPersistence mbThreadFlagPersistence)
Sets the message boards thread flag persistence.

Parameters:
mbThreadFlagPersistence - the message boards thread flag persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getSystemEventLocalService

public SystemEventLocalService getSystemEventLocalService()
Returns the system event local service.

Returns:
the system event local service

setSystemEventLocalService

public void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
Sets the system event local service.

Parameters:
systemEventLocalService - the system event local service

getSystemEventPersistence

public SystemEventPersistence getSystemEventPersistence()
Returns the system event persistence.

Returns:
the system event persistence

setSystemEventPersistence

public void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
Sets the system event persistence.

Parameters:
systemEventPersistence - the system event persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface MBBanLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface MBBanLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.2-ce-ga5