Liferay 7.0-ce-b4

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:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, MBDiscussionLocalService
Direct Known Subclasses:
MBDiscussionLocalServiceImpl

@ProviderType
public abstract class MBDiscussionLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements MBDiscussionLocalService, IdentifiableOSGiService

Provides the base implementation for 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  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  CounterLocalService counterLocalService
           
protected  MBDiscussionLocalService mbDiscussionLocalService
           
protected  MBDiscussionPersistence mbDiscussionPersistence
           
protected  MBMailingListLocalService mbMailingListLocalService
           
protected  MBMailingListPersistence mbMailingListPersistence
           
protected  MBMessageFinder mbMessageFinder
           
protected  MBMessageLocalService mbMessageLocalService
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBThreadFinder mbThreadFinder
           
protected  MBThreadLocalService mbThreadLocalService
           
protected  MBThreadPersistence mbThreadPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
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.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 MBDiscussion fetchMBDiscussion(long discussionId)
           
 MBDiscussion fetchMBDiscussionByUuidAndGroupId(String uuid, long groupId)
          Returns the message boards discussion matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 MBDiscussion getMBDiscussion(long discussionId)
          Returns the message boards discussion with the primary key.
 MBDiscussion getMBDiscussionByUuidAndGroupId(String uuid, long groupId)
          Returns the message boards discussion matching the UUID and group.
 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.
 List<MBDiscussion> getMBDiscussionsByUuidAndCompanyId(String uuid, long companyId)
          Returns all the message boards discussions matching the UUID and company.
 List<MBDiscussion> getMBDiscussionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<MBDiscussion> orderByComparator)
          Returns a range of message boards discussions matching the UUID and company.
 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.
 MBThreadFinder getMBThreadFinder()
          Returns the message boards thread finder.
 MBThreadLocalService getMBThreadLocalService()
          Returns the message boards thread local service.
 MBThreadPersistence getMBThreadPersistence()
          Returns the message boards thread persistence.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local 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 setMBThreadFinder(MBThreadFinder mbThreadFinder)
          Sets the message boards thread finder.
 void setMBThreadLocalService(MBThreadLocalService mbThreadLocalService)
          Sets the message boards thread local service.
 void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
          Sets the message boards thread persistence.
 void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription 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.
 MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion)
          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, getLocalizationMap
 
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, addDiscussion, fetchDiscussion, fetchDiscussion, fetchThreadDiscussion, getDiscussion, getDiscussion, getThreadDiscussion, subscribeDiscussion, unsubscribeDiscussion
 

Field Detail

mbDiscussionLocalService

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

mbDiscussionPersistence

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

counterLocalService

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

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

subscriptionLocalService

@BeanReference(type=SubscriptionLocalService.class)
protected SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userLocalService

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

userPersistence

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

userFinder

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

mbMailingListLocalService

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

mbMailingListPersistence

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

mbMessageLocalService

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

mbMessagePersistence

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

mbMessageFinder

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

mbThreadLocalService

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

mbThreadPersistence

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

mbThreadFinder

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

persistedModelLocalServiceRegistry

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

MBDiscussionLocalServiceBaseImpl

public MBDiscussionLocalServiceBaseImpl()
Method Detail

addMBDiscussion

@Indexable(type=REINDEX)
public MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion)
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

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

deleteMBDiscussion

@Indexable(type=DELETE)
public MBDiscussion deleteMBDiscussion(MBDiscussion mbDiscussion)
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

dynamicQuery

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
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 MBDiscussionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
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 MBDiscussionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface MBDiscussionLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface MBDiscussionLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchMBDiscussion

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

fetchMBDiscussionByUuidAndGroupId

public MBDiscussion fetchMBDiscussionByUuidAndGroupId(String uuid,
                                                      long groupId)
Returns the message boards discussion matching the UUID and group.

Specified by:
fetchMBDiscussionByUuidAndGroupId in interface MBDiscussionLocalService
Parameters:
uuid - the message boards discussion's UUID
groupId - the primary key of the group
Returns:
the matching message boards discussion, or null if a matching message boards discussion could not be found

getMBDiscussion

public MBDiscussion getMBDiscussion(long discussionId)
                             throws PortalException
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

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface MBDiscussionLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface MBDiscussionLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface MBDiscussionLocalService

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface MBDiscussionLocalService
Throws:
PortalException

getPersistedModel

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

getMBDiscussionsByUuidAndCompanyId

public List<MBDiscussion> getMBDiscussionsByUuidAndCompanyId(String uuid,
                                                             long companyId)
Returns all the message boards discussions matching the UUID and company.

Specified by:
getMBDiscussionsByUuidAndCompanyId in interface MBDiscussionLocalService
Parameters:
uuid - the UUID of the message boards discussions
companyId - the primary key of the company
Returns:
the matching message boards discussions, or an empty list if no matches were found

getMBDiscussionsByUuidAndCompanyId

public List<MBDiscussion> getMBDiscussionsByUuidAndCompanyId(String uuid,
                                                             long companyId,
                                                             int start,
                                                             int end,
                                                             OrderByComparator<MBDiscussion> orderByComparator)
Returns a range of message boards discussions matching the UUID and company.

Specified by:
getMBDiscussionsByUuidAndCompanyId in interface MBDiscussionLocalService
Parameters:
uuid - the UUID of the message boards discussions
companyId - the primary key of the company
start - the lower bound of the range of message boards discussions
end - the upper bound of the range of message boards discussions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching message boards discussions, or an empty list if no matches were found

getMBDiscussionByUuidAndGroupId

public MBDiscussion getMBDiscussionByUuidAndGroupId(String uuid,
                                                    long groupId)
                                             throws PortalException
Returns the message boards discussion matching the UUID and group.

Specified by:
getMBDiscussionByUuidAndGroupId in interface MBDiscussionLocalService
Parameters:
uuid - the message boards discussion's UUID
groupId - the primary key of the group
Returns:
the matching message boards discussion
Throws:
PortalException - if a matching message boards discussion could not be found

getMBDiscussions

public List<MBDiscussion> getMBDiscussions(int start,
                                           int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBDiscussionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

getMBDiscussionsCount

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

Specified by:
getMBDiscussionsCount in interface MBDiscussionLocalService
Returns:
the number of message boards discussions

updateMBDiscussion

@Indexable(type=REINDEX)
public MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion)
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

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

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

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service.

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription 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

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

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

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

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

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

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface MBDiscussionLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4