Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.base.MBThreadLocalServiceBaseImpl
All Implemented Interfaces:
MBThreadLocalService
Direct Known Subclasses:
MBThreadLocalServiceImpl

public abstract class MBThreadLocalServiceBaseImpl
extends Object
implements MBThreadLocalService

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

Never modify or reference this class directly. Always use MBThreadLocalServiceUtil to access the message boards thread local service.

See Also:
MBThreadLocalServiceImpl, MBThreadLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetEntryService assetEntryService
           
protected  CounterLocalService counterLocalService
           
protected  DLLocalService dlLocalService
           
protected  DLService dlService
           
protected  LockLocalService lockLocalService
           
protected  LockPersistence lockPersistence
           
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  MBMessageFlagLocalService mbMessageFlagLocalService
           
protected  MBMessageFlagPersistence mbMessageFlagPersistence
           
protected  MBMessageFlagService mbMessageFlagService
           
protected  MBMessageLocalService mbMessageLocalService
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBMessageService mbMessageService
           
protected  MBStatsUserLocalService mbStatsUserLocalService
           
protected  MBStatsUserPersistence mbStatsUserPersistence
           
protected  MBThreadFinder mbThreadFinder
           
protected  MBThreadLocalService mbThreadLocalService
           
protected  MBThreadPersistence mbThreadPersistence
           
protected  MBThreadService mbThreadService
           
protected  RatingsStatsFinder ratingsStatsFinder
           
protected  RatingsStatsLocalService ratingsStatsLocalService
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  SocialActivityFinder socialActivityFinder
           
protected  SocialActivityLocalService socialActivityLocalService
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
protected  WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Constructor Summary
MBThreadLocalServiceBaseImpl()
           
 
Method Summary
 MBThread addMBThread(MBThread mbThread)
          Adds the message boards thread to the database.
 MBThread createMBThread(long threadId)
          Creates a new message boards thread with the primary key.
 void deleteMBThread(long threadId)
          Deletes the message boards thread with the primary key from the database.
 void deleteMBThread(MBThread mbThread)
          Deletes the message boards thread from the database.
 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)
          Counts the number of rows that match the dynamic query.
 AssetEntryFinder getAssetEntryFinder()
          Gets the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Gets the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Gets the asset entry persistence.
 AssetEntryService getAssetEntryService()
          Gets the asset entry remote service.
 CounterLocalService getCounterLocalService()
          Gets the counter local service.
 DLLocalService getDLLocalService()
          Gets the d l local service.
 DLService getDLService()
          Gets the d l remote service.
 LockLocalService getLockLocalService()
          Gets the lock local service.
 LockPersistence getLockPersistence()
          Gets the lock persistence.
 MBBanLocalService getMBBanLocalService()
          Gets the message boards ban local service.
 MBBanPersistence getMBBanPersistence()
          Gets the message boards ban persistence.
 MBBanService getMBBanService()
          Gets the message boards ban remote service.
 MBCategoryFinder getMBCategoryFinder()
          Gets the message boards category finder.
 MBCategoryLocalService getMBCategoryLocalService()
          Gets the message boards category local service.
 MBCategoryPersistence getMBCategoryPersistence()
          Gets the message boards category persistence.
 MBCategoryService getMBCategoryService()
          Gets the message boards category remote service.
 MBDiscussionLocalService getMBDiscussionLocalService()
          Gets the message boards discussion local service.
 MBDiscussionPersistence getMBDiscussionPersistence()
          Gets the message boards discussion persistence.
 MBMailingListLocalService getMBMailingListLocalService()
          Gets the message boards mailing list local service.
 MBMailingListPersistence getMBMailingListPersistence()
          Gets the message boards mailing list persistence.
 MBMessageFinder getMBMessageFinder()
          Gets the message-boards message finder.
 MBMessageFlagLocalService getMBMessageFlagLocalService()
          Gets the message boards message flag local service.
 MBMessageFlagPersistence getMBMessageFlagPersistence()
          Gets the message boards message flag persistence.
 MBMessageFlagService getMBMessageFlagService()
          Gets the message boards message flag remote service.
 MBMessageLocalService getMBMessageLocalService()
          Gets the message-boards message local service.
 MBMessagePersistence getMBMessagePersistence()
          Gets the message-boards message persistence.
 MBMessageService getMBMessageService()
          Gets the message-boards message remote service.
 MBStatsUserLocalService getMBStatsUserLocalService()
          Gets the message boards stats user local service.
 MBStatsUserPersistence getMBStatsUserPersistence()
          Gets the message boards stats user persistence.
 MBThread getMBThread(long threadId)
          Gets the message boards thread with the primary key.
 MBThreadFinder getMBThreadFinder()
          Gets the message boards thread finder.
 MBThreadLocalService getMBThreadLocalService()
          Gets the message boards thread local service.
 MBThreadPersistence getMBThreadPersistence()
          Gets the message boards thread persistence.
 List<MBThread> getMBThreads(int start, int end)
          Gets a range of all the message boards threads.
 int getMBThreadsCount()
          Gets the number of message boards threads.
 MBThreadService getMBThreadService()
          Gets the message boards thread remote service.
 RatingsStatsFinder getRatingsStatsFinder()
          Gets the ratings stats finder.
 RatingsStatsLocalService getRatingsStatsLocalService()
          Gets the ratings stats local service.
 RatingsStatsPersistence getRatingsStatsPersistence()
          Gets the ratings stats persistence.
 ResourceFinder getResourceFinder()
          Gets the resource finder.
 ResourceLocalService getResourceLocalService()
          Gets the resource local service.
 ResourcePersistence getResourcePersistence()
          Gets the resource persistence.
 ResourceService getResourceService()
          Gets the resource remote service.
 SocialActivityFinder getSocialActivityFinder()
          Gets the social activity finder.
 SocialActivityLocalService getSocialActivityLocalService()
          Gets the social activity local service.
 SocialActivityPersistence getSocialActivityPersistence()
          Gets the social activity persistence.
 UserFinder getUserFinder()
          Gets the user finder.
 UserLocalService getUserLocalService()
          Gets the user local service.
 UserPersistence getUserPersistence()
          Gets the user persistence.
 UserService getUserService()
          Gets the user remote service.
 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
          Gets the workflow instance link local service.
 WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
          Gets the workflow instance link persistence.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetEntryService(AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setDLLocalService(DLLocalService dlLocalService)
          Sets the d l local service.
 void setDLService(DLService dlService)
          Sets the d l remote service.
 void setLockLocalService(LockLocalService lockLocalService)
          Sets the lock local service.
 void setLockPersistence(LockPersistence lockPersistence)
          Sets the lock persistence.
 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 setMBMessageFlagLocalService(MBMessageFlagLocalService mbMessageFlagLocalService)
          Sets the message boards message flag local service.
 void setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
          Sets the message boards message flag persistence.
 void setMBMessageFlagService(MBMessageFlagService mbMessageFlagService)
          Sets the message boards message flag remote service.
 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 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 setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
          Sets the ratings stats finder.
 void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
          Sets the ratings stats local service.
 void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
          Sets the ratings stats persistence.
 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 setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
          Sets the social activity finder.
 void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
          Sets the social activity local service.
 void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
          Sets the social activity 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.
 void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
          Sets the workflow instance link local service.
 void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
          Sets the workflow instance link persistence.
 MBThread updateMBThread(MBThread mbThread)
          Updates the message boards thread in the database.
 MBThread updateMBThread(MBThread mbThread, boolean merge)
          Updates the message boards thread in the database.
 
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.MBThreadLocalService
deleteThread, deleteThread, deleteThreads, getCategoryThreadsCount, getGroupThreads, getGroupThreads, getGroupThreads, getGroupThreads, getGroupThreadsCount, getGroupThreadsCount, getGroupThreadsCount, getGroupThreadsCount, getPriorityThreads, getPriorityThreads, getThread, getThreads, getThreadsCount, moveThread, splitThread, updateThread
 

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

mbMessageFlagLocalService

@BeanReference(type=MBMessageFlagLocalService.class)
protected MBMessageFlagLocalService mbMessageFlagLocalService

mbMessageFlagService

@BeanReference(type=MBMessageFlagService.class)
protected MBMessageFlagService mbMessageFlagService

mbMessageFlagPersistence

@BeanReference(type=MBMessageFlagPersistence.class)
protected MBMessageFlagPersistence mbMessageFlagPersistence

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

counterLocalService

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

dlLocalService

@BeanReference(type=DLLocalService.class)
protected DLLocalService dlLocalService

dlService

@BeanReference(type=DLService.class)
protected DLService dlService

lockLocalService

@BeanReference(type=LockLocalService.class)
protected LockLocalService lockLocalService

lockPersistence

@BeanReference(type=LockPersistence.class)
protected LockPersistence lockPersistence

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

workflowInstanceLinkLocalService

@BeanReference(type=WorkflowInstanceLinkLocalService.class)
protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryService

@BeanReference(type=AssetEntryService.class)
protected AssetEntryService assetEntryService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

ratingsStatsLocalService

@BeanReference(type=RatingsStatsLocalService.class)
protected RatingsStatsLocalService ratingsStatsLocalService

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence

ratingsStatsFinder

@BeanReference(type=RatingsStatsFinder.class)
protected RatingsStatsFinder ratingsStatsFinder

socialActivityLocalService

@BeanReference(type=SocialActivityLocalService.class)
protected SocialActivityLocalService socialActivityLocalService

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialActivityFinder

@BeanReference(type=SocialActivityFinder.class)
protected SocialActivityFinder socialActivityFinder
Constructor Detail

MBThreadLocalServiceBaseImpl

public MBThreadLocalServiceBaseImpl()
Method Detail

addMBThread

public MBThread addMBThread(MBThread mbThread)
                     throws SystemException
Adds the message boards thread to the database. Also notifies the appropriate model listeners.

Specified by:
addMBThread in interface MBThreadLocalService
Parameters:
mbThread - the message boards thread to add
Returns:
the message boards thread that was added
Throws:
SystemException - if a system exception occurred

createMBThread

public MBThread createMBThread(long threadId)
Creates a new message boards thread with the primary key. Does not add the message boards thread to the database.

Specified by:
createMBThread in interface MBThreadLocalService
Parameters:
threadId - the primary key for the new message boards thread
Returns:
the new message boards thread

deleteMBThread

public void deleteMBThread(long threadId)
                    throws PortalException,
                           SystemException
Deletes the message boards thread with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBThread in interface MBThreadLocalService
Parameters:
threadId - the primary key of the message boards thread to delete
Throws:
PortalException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

deleteMBThread

public void deleteMBThread(MBThread mbThread)
                    throws SystemException
Deletes the message boards thread from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBThread in interface MBThreadLocalService
Parameters:
mbThread - the message boards thread to delete
Throws:
SystemException - if a system exception occurred

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 MBThreadLocalService
Parameters:
dynamicQuery - the dynamic query to search with
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 MBThreadLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (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 MBThreadLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

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

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

getMBThread

public MBThread getMBThread(long threadId)
                     throws PortalException,
                            SystemException
Gets the message boards thread with the primary key.

Specified by:
getMBThread in interface MBThreadLocalService
Parameters:
threadId - the primary key of the message boards thread to get
Returns:
the message boards thread
Throws:
PortalException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getMBThreads

public List<MBThread> getMBThreads(int start,
                                   int end)
                            throws SystemException
Gets a range of all the message boards threads.

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:
getMBThreads in interface MBThreadLocalService
Parameters:
start - the lower bound of the range of message boards threads to return
end - the upper bound of the range of message boards threads to return (not inclusive)
Returns:
the range of message boards threads
Throws:
SystemException - if a system exception occurred

getMBThreadsCount

public int getMBThreadsCount()
                      throws SystemException
Gets the number of message boards threads.

Specified by:
getMBThreadsCount in interface MBThreadLocalService
Returns:
the number of message boards threads
Throws:
SystemException - if a system exception occurred

updateMBThread

public MBThread updateMBThread(MBThread mbThread)
                        throws SystemException
Updates the message boards thread in the database. Also notifies the appropriate model listeners.

Specified by:
updateMBThread in interface MBThreadLocalService
Parameters:
mbThread - the message boards thread to update
Returns:
the message boards thread that was updated
Throws:
SystemException - if a system exception occurred

updateMBThread

public MBThread updateMBThread(MBThread mbThread,
                               boolean merge)
                        throws SystemException
Updates the message boards thread in the database. Also notifies the appropriate model listeners.

Specified by:
updateMBThread in interface MBThreadLocalService
Parameters:
mbThread - the message boards thread to update
merge - whether to merge the message boards thread 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 thread that was updated
Throws:
SystemException - if a system exception occurred

getMBBanLocalService

public MBBanLocalService getMBBanLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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

getMBMessageFlagLocalService

public MBMessageFlagLocalService getMBMessageFlagLocalService()
Gets the message boards message flag local service.

Returns:
the message boards message flag local service

setMBMessageFlagLocalService

public void setMBMessageFlagLocalService(MBMessageFlagLocalService mbMessageFlagLocalService)
Sets the message boards message flag local service.

Parameters:
mbMessageFlagLocalService - the message boards message flag local service

getMBMessageFlagService

public MBMessageFlagService getMBMessageFlagService()
Gets the message boards message flag remote service.

Returns:
the message boards message flag remote service

setMBMessageFlagService

public void setMBMessageFlagService(MBMessageFlagService mbMessageFlagService)
Sets the message boards message flag remote service.

Parameters:
mbMessageFlagService - the message boards message flag remote service

getMBMessageFlagPersistence

public MBMessageFlagPersistence getMBMessageFlagPersistence()
Gets the message boards message flag persistence.

Returns:
the message boards message flag persistence

setMBMessageFlagPersistence

public void setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
Sets the message boards message flag persistence.

Parameters:
mbMessageFlagPersistence - the message boards message flag persistence

getMBStatsUserLocalService

public MBStatsUserLocalService getMBStatsUserLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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

getCounterLocalService

public CounterLocalService getCounterLocalService()
Gets 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

getDLLocalService

public DLLocalService getDLLocalService()
Gets the d l local service.

Returns:
the d l local service

setDLLocalService

public void setDLLocalService(DLLocalService dlLocalService)
Sets the d l local service.

Parameters:
dlLocalService - the d l local service

getDLService

public DLService getDLService()
Gets the d l remote service.

Returns:
the d l remote service

setDLService

public void setDLService(DLService dlService)
Sets the d l remote service.

Parameters:
dlService - the d l remote service

getLockLocalService

public LockLocalService getLockLocalService()
Gets the lock local service.

Returns:
the lock local service

setLockLocalService

public void setLockLocalService(LockLocalService lockLocalService)
Sets the lock local service.

Parameters:
lockLocalService - the lock local service

getLockPersistence

public LockPersistence getLockPersistence()
Gets the lock persistence.

Returns:
the lock persistence

setLockPersistence

public void setLockPersistence(LockPersistence lockPersistence)
Sets the lock persistence.

Parameters:
lockPersistence - the lock persistence

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets the user finder.

Returns:
the user finder

setUserFinder

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

Parameters:
userFinder - the user finder

getWorkflowInstanceLinkLocalService

public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
Gets the workflow instance link local service.

Returns:
the workflow instance link local service

setWorkflowInstanceLinkLocalService

public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service.

Parameters:
workflowInstanceLinkLocalService - the workflow instance link local service

getWorkflowInstanceLinkPersistence

public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
Gets the workflow instance link persistence.

Returns:
the workflow instance link persistence

setWorkflowInstanceLinkPersistence

public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence.

Parameters:
workflowInstanceLinkPersistence - the workflow instance link persistence

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Gets the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryService

public AssetEntryService getAssetEntryService()
Gets the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Gets the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Gets the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

getRatingsStatsLocalService

public RatingsStatsLocalService getRatingsStatsLocalService()
Gets the ratings stats local service.

Returns:
the ratings stats local service

setRatingsStatsLocalService

public void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
Sets the ratings stats local service.

Parameters:
ratingsStatsLocalService - the ratings stats local service

getRatingsStatsPersistence

public RatingsStatsPersistence getRatingsStatsPersistence()
Gets the ratings stats persistence.

Returns:
the ratings stats persistence

setRatingsStatsPersistence

public void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
Sets the ratings stats persistence.

Parameters:
ratingsStatsPersistence - the ratings stats persistence

getRatingsStatsFinder

public RatingsStatsFinder getRatingsStatsFinder()
Gets the ratings stats finder.

Returns:
the ratings stats finder

setRatingsStatsFinder

public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
Sets the ratings stats finder.

Parameters:
ratingsStatsFinder - the ratings stats finder

getSocialActivityLocalService

public SocialActivityLocalService getSocialActivityLocalService()
Gets the social activity local service.

Returns:
the social activity local service

setSocialActivityLocalService

public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service.

Parameters:
socialActivityLocalService - the social activity local service

getSocialActivityPersistence

public SocialActivityPersistence getSocialActivityPersistence()
Gets the social activity persistence.

Returns:
the social activity persistence

setSocialActivityPersistence

public void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence.

Parameters:
socialActivityPersistence - the social activity persistence

getSocialActivityFinder

public SocialActivityFinder getSocialActivityFinder()
Gets the social activity finder.

Returns:
the social activity finder

setSocialActivityFinder

public void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder.

Parameters:
socialActivityFinder - the social activity finder

runSQL

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

Parameters:
sql - the sql query to perform
Throws:
SystemException

Liferay 6.0.5