Liferay 6.1.2-ce-ga3

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

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

public abstract class MBDiscussionLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements MBDiscussionLocalService, IdentifiableBean

The base implementation of the message boards discussion 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 MBDiscussionLocalServiceImpl.

See Also:
MBDiscussionLocalServiceImpl, MBDiscussionLocalServiceUtil
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  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
MBDiscussionLocalServiceBaseImpl()
           
 
Method Summary
 MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion)
          Adds the message boards discussion to the database.
 void afterPropertiesSet()
           
 MBDiscussion createMBDiscussion(long discussionId)
          Creates a new message boards discussion with the primary key.
 MBDiscussion deleteMBDiscussion(long discussionId)
          Deletes the message boards discussion with the primary key from the database.
 MBDiscussion deleteMBDiscussion(MBDiscussion mbDiscussion)
          Deletes the message boards discussion from the database.
 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.
 MBDiscussion fetchMBDiscussion(long discussionId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 MBBanLocalService getMBBanLocalService()
          Returns the message boards ban local service.
 MBBanPersistence getMBBanPersistence()
          Returns the message boards ban persistence.
 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.
 MBDiscussion getMBDiscussion(long discussionId)
          Returns the message boards discussion with the primary key.
 MBDiscussionLocalService getMBDiscussionLocalService()
          Returns the message boards discussion local service.
 MBDiscussionPersistence getMBDiscussionPersistence()
          Returns the message boards discussion persistence.
 List<MBDiscussion> getMBDiscussions(int start, int end)
          Returns a range of all the message boards discussions.
 int getMBDiscussionsCount()
          Returns the number of message boards discussions.
 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)
           
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 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 setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 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.
 MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion)
          Updates the message boards discussion in the database or adds it if it does not yet exist.
 MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion, boolean merge)
          Updates the message boards discussion in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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.MBDiscussionLocalService
addDiscussion, getDiscussion, getDiscussion, getThreadDiscussion
 

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

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

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

MBDiscussionLocalServiceBaseImpl

public MBDiscussionLocalServiceBaseImpl()
Method Detail

addMBDiscussion

@Indexable(type=REINDEX)
public MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion)
                             throws SystemException
Adds the message boards discussion to the database. Also notifies the appropriate model listeners.

Specified by:
addMBDiscussion in interface MBDiscussionLocalService
Parameters:
mbDiscussion - the message boards discussion
Returns:
the message boards discussion that was added
Throws:
SystemException - if a system exception occurred

createMBDiscussion

public MBDiscussion createMBDiscussion(long discussionId)
Creates a new message boards discussion with the primary key. Does not add the message boards discussion to the database.

Specified by:
createMBDiscussion in interface MBDiscussionLocalService
Parameters:
discussionId - the primary key for the new message boards discussion
Returns:
the new message boards discussion

deleteMBDiscussion

@Indexable(type=DELETE)
public MBDiscussion deleteMBDiscussion(long discussionId)
                                throws PortalException,
                                       SystemException
Deletes the message boards discussion with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBDiscussion in interface MBDiscussionLocalService
Parameters:
discussionId - the primary key of the message boards discussion
Returns:
the message boards discussion that was removed
Throws:
PortalException - if a message boards discussion with the primary key could not be found
SystemException - if a system exception occurred

deleteMBDiscussion

@Indexable(type=DELETE)
public MBDiscussion deleteMBDiscussion(MBDiscussion mbDiscussion)
                                throws SystemException
Deletes the message boards discussion from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBDiscussion in interface MBDiscussionLocalService
Parameters:
mbDiscussion - the message boards discussion
Returns:
the message boards discussion that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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 MBDiscussionLocalService
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.

Specified by:
dynamicQuery in interface MBDiscussionLocalService
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.

Specified by:
dynamicQuery in interface MBDiscussionLocalService
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 MBDiscussionLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchMBDiscussion

public MBDiscussion fetchMBDiscussion(long discussionId)
                               throws SystemException
Specified by:
fetchMBDiscussion in interface MBDiscussionLocalService
Throws:
SystemException

getMBDiscussion

public MBDiscussion getMBDiscussion(long discussionId)
                             throws PortalException,
                                    SystemException
Returns the message boards discussion with the primary key.

Specified by:
getMBDiscussion in interface MBDiscussionLocalService
Parameters:
discussionId - the primary key of the message boards discussion
Returns:
the message boards discussion
Throws:
PortalException - if a message boards discussion 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 MBDiscussionLocalService
Throws:
PortalException
SystemException

getMBDiscussions

public List<MBDiscussion> getMBDiscussions(int start,
                                           int end)
                                    throws SystemException
Returns a range of all the message boards discussions.

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.

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

getMBDiscussionsCount

public int getMBDiscussionsCount()
                          throws SystemException
Returns the number of message boards discussions.

Specified by:
getMBDiscussionsCount in interface MBDiscussionLocalService
Returns:
the number of message boards discussions
Throws:
SystemException - if a system exception occurred

updateMBDiscussion

@Indexable(type=REINDEX)
public MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion)
                                throws SystemException
Updates the message boards discussion in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMBDiscussion in interface MBDiscussionLocalService
Parameters:
mbDiscussion - the message boards discussion
Returns:
the message boards discussion that was updated
Throws:
SystemException - if a system exception occurred

updateMBDiscussion

@Indexable(type=REINDEX)
public MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion,
                                                            boolean merge)
                                throws SystemException
Updates the message boards discussion in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMBDiscussion in interface MBDiscussionLocalService
Parameters:
mbDiscussion - the message boards discussion
merge - whether to merge the message boards discussion with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the message boards discussion 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

getResourceService

public ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

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 MBDiscussionLocalService
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 MBDiscussionLocalService
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.1.2-ce-ga3