Liferay 6.1.2-ce-ga3

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

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

public abstract class MBCategoryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements MBCategoryLocalService, IdentifiableBean

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

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

Field Summary
protected  AssetTagFinder assetTagFinder
           
protected  AssetTagLocalService assetTagLocalService
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagService assetTagService
           
protected  CounterLocalService counterLocalService
           
protected  ExpandoValueLocalService expandoValueLocalService
           
protected  ExpandoValuePersistence expandoValuePersistence
           
protected  ExpandoValueService expandoValueService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
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  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
MBCategoryLocalServiceBaseImpl()
           
 
Method Summary
 MBCategory addMBCategory(MBCategory mbCategory)
          Adds the message boards category to the database.
 void afterPropertiesSet()
           
 MBCategory createMBCategory(long categoryId)
          Creates a new message boards category with the primary key.
 MBCategory deleteMBCategory(long categoryId)
          Deletes the message boards category with the primary key from the database.
 MBCategory deleteMBCategory(MBCategory mbCategory)
          Deletes the message boards category 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.
 MBCategory fetchMBCategory(long categoryId)
           
 AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 AssetTagService getAssetTagService()
          Returns the asset tag remote service.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExpandoValueLocalService getExpandoValueLocalService()
          Returns the expando value local service.
 ExpandoValuePersistence getExpandoValuePersistence()
          Returns the expando value persistence.
 ExpandoValueService getExpandoValueService()
          Returns the expando value remote service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote 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.
 List<MBCategory> getMBCategories(int start, int end)
          Returns a range of all the message boards categories.
 int getMBCategoriesCount()
          Returns the number of message boards categories.
 MBCategory getMBCategory(long categoryId)
          Returns the message boards category with the primary key.
 MBCategory getMBCategoryByUuidAndGroupId(String uuid, long groupId)
          Returns the message boards category with the UUID in the group.
 MBCategoryFinder getMBCategoryFinder()
          Returns the message boards category finder.
 MBCategoryLocalService getMBCategoryLocalService()
          Returns the message boards category local service.
 MBCategoryPersistence getMBCategoryPersistence()
          Returns the message boards category persistence.
 MBCategoryService getMBCategoryService()
          Returns the message boards category remote service.
 MBDiscussionLocalService getMBDiscussionLocalService()
          Returns the message boards discussion local service.
 MBDiscussionPersistence getMBDiscussionPersistence()
          Returns the message boards discussion persistence.
 MBMailingListLocalService getMBMailingListLocalService()
          Returns the message boards mailing list local service.
 MBMailingListPersistence getMBMailingListPersistence()
          Returns the message boards mailing list persistence.
 MBMessageFinder getMBMessageFinder()
          Returns the message-boards message finder.
 MBMessageLocalService getMBMessageLocalService()
          Returns the message-boards message local service.
 MBMessagePersistence getMBMessagePersistence()
          Returns the message-boards message persistence.
 MBMessageService getMBMessageService()
          Returns the message-boards message remote service.
 MBStatsUserLocalService getMBStatsUserLocalService()
          Returns the message boards stats user local service.
 MBStatsUserPersistence getMBStatsUserPersistence()
          Returns the message boards stats user persistence.
 MBThreadFinder getMBThreadFinder()
          Returns the message boards thread finder.
 MBThreadFlagLocalService getMBThreadFlagLocalService()
          Returns the message boards thread flag local service.
 MBThreadFlagPersistence getMBThreadFlagPersistence()
          Returns the message boards thread flag persistence.
 MBThreadLocalService getMBThreadLocalService()
          Returns the message boards thread local service.
 MBThreadPersistence getMBThreadPersistence()
          Returns the message boards thread persistence.
 MBThreadService getMBThreadService()
          Returns the message boards thread remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 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.
 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.
 UserService getUserService()
          Returns the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setAssetTagFinder(AssetTagFinder assetTagFinder)
          Sets the asset tag finder.
 void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
          Sets the asset tag local service.
 void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
          Sets the asset tag persistence.
 void setAssetTagService(AssetTagService assetTagService)
          Sets the asset tag remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
          Sets the expando value local service.
 void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
          Sets the expando value persistence.
 void setExpandoValueService(ExpandoValueService expandoValueService)
          Sets the expando value remote service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote 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 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.
 void setUserService(UserService userService)
          Sets the user remote service.
 MBCategory updateMBCategory(MBCategory mbCategory)
          Updates the message boards category in the database or adds it if it does not yet exist.
 MBCategory updateMBCategory(MBCategory mbCategory, boolean merge)
          Updates the message boards category 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.MBCategoryLocalService
addCategory, addCategoryResources, addCategoryResources, addCategoryResources, addCategoryResources, deleteCategories, deleteCategory, deleteCategory, getCategories, getCategories, getCategories, getCategoriesAndThreads, getCategoriesCount, getCategoriesCount, getCategoriesCount, getCategory, getCompanyCategories, getCompanyCategoriesCount, getSubcategoryIds, getSubscribedCategories, getSubscribedCategoriesCount, subscribeCategory, unsubscribeCategory, updateCategory
 

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

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

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

subscriptionLocalService

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

subscriptionPersistence

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

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

assetTagLocalService

@BeanReference(type=AssetTagLocalService.class)
protected AssetTagLocalService assetTagLocalService

assetTagService

@BeanReference(type=AssetTagService.class)
protected AssetTagService assetTagService

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

assetTagFinder

@BeanReference(type=AssetTagFinder.class)
protected AssetTagFinder assetTagFinder

expandoValueLocalService

@BeanReference(type=ExpandoValueLocalService.class)
protected ExpandoValueLocalService expandoValueLocalService

expandoValueService

@BeanReference(type=ExpandoValueService.class)
protected ExpandoValueService expandoValueService

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

persistedModelLocalServiceRegistry

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

MBCategoryLocalServiceBaseImpl

public MBCategoryLocalServiceBaseImpl()
Method Detail

addMBCategory

@Indexable(type=REINDEX)
public MBCategory addMBCategory(MBCategory mbCategory)
                         throws SystemException
Adds the message boards category to the database. Also notifies the appropriate model listeners.

Specified by:
addMBCategory in interface MBCategoryLocalService
Parameters:
mbCategory - the message boards category
Returns:
the message boards category that was added
Throws:
SystemException - if a system exception occurred

createMBCategory

public MBCategory createMBCategory(long categoryId)
Creates a new message boards category with the primary key. Does not add the message boards category to the database.

Specified by:
createMBCategory in interface MBCategoryLocalService
Parameters:
categoryId - the primary key for the new message boards category
Returns:
the new message boards category

deleteMBCategory

@Indexable(type=DELETE)
public MBCategory deleteMBCategory(long categoryId)
                            throws PortalException,
                                   SystemException
Deletes the message boards category with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBCategory in interface MBCategoryLocalService
Parameters:
categoryId - the primary key of the message boards category
Returns:
the message boards category that was removed
Throws:
PortalException - if a message boards category with the primary key could not be found
SystemException - if a system exception occurred

deleteMBCategory

@Indexable(type=DELETE)
public MBCategory deleteMBCategory(MBCategory mbCategory)
                            throws SystemException
Deletes the message boards category from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBCategory in interface MBCategoryLocalService
Parameters:
mbCategory - the message boards category
Returns:
the message boards category that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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

fetchMBCategory

public MBCategory fetchMBCategory(long categoryId)
                           throws SystemException
Specified by:
fetchMBCategory in interface MBCategoryLocalService
Throws:
SystemException

getMBCategory

public MBCategory getMBCategory(long categoryId)
                         throws PortalException,
                                SystemException
Returns the message boards category with the primary key.

Specified by:
getMBCategory in interface MBCategoryLocalService
Parameters:
categoryId - the primary key of the message boards category
Returns:
the message boards category
Throws:
PortalException - if a message boards category 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 MBCategoryLocalService
Throws:
PortalException
SystemException

getMBCategoryByUuidAndGroupId

public MBCategory getMBCategoryByUuidAndGroupId(String uuid,
                                                long groupId)
                                         throws PortalException,
                                                SystemException
Returns the message boards category with the UUID in the group.

Specified by:
getMBCategoryByUuidAndGroupId in interface MBCategoryLocalService
Parameters:
uuid - the UUID of message boards category
groupId - the group id of the message boards category
Returns:
the message boards category
Throws:
PortalException - if a message boards category with the UUID in the group could not be found
SystemException - if a system exception occurred

getMBCategories

public List<MBCategory> getMBCategories(int start,
                                        int end)
                                 throws SystemException
Returns a range of all the message boards categories.

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

getMBCategoriesCount

public int getMBCategoriesCount()
                         throws SystemException
Returns the number of message boards categories.

Specified by:
getMBCategoriesCount in interface MBCategoryLocalService
Returns:
the number of message boards categories
Throws:
SystemException - if a system exception occurred

updateMBCategory

@Indexable(type=REINDEX)
public MBCategory updateMBCategory(MBCategory mbCategory)
                            throws SystemException
Updates the message boards category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMBCategory in interface MBCategoryLocalService
Parameters:
mbCategory - the message boards category
Returns:
the message boards category that was updated
Throws:
SystemException - if a system exception occurred

updateMBCategory

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

Specified by:
updateMBCategory in interface MBCategoryLocalService
Parameters:
mbCategory - the message boards category
merge - whether to merge the message boards category 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 category 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

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

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

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

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

getAssetTagLocalService

public AssetTagLocalService getAssetTagLocalService()
Returns the asset tag local service.

Returns:
the asset tag local service

setAssetTagLocalService

public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Sets the asset tag local service.

Parameters:
assetTagLocalService - the asset tag local service

getAssetTagService

public AssetTagService getAssetTagService()
Returns the asset tag remote service.

Returns:
the asset tag remote service

setAssetTagService

public void setAssetTagService(AssetTagService assetTagService)
Sets the asset tag remote service.

Parameters:
assetTagService - the asset tag remote service

getAssetTagPersistence

public AssetTagPersistence getAssetTagPersistence()
Returns the asset tag persistence.

Returns:
the asset tag persistence

setAssetTagPersistence

public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence.

Parameters:
assetTagPersistence - the asset tag persistence

getAssetTagFinder

public AssetTagFinder getAssetTagFinder()
Returns the asset tag finder.

Returns:
the asset tag finder

setAssetTagFinder

public void setAssetTagFinder(AssetTagFinder assetTagFinder)
Sets the asset tag finder.

Parameters:
assetTagFinder - the asset tag finder

getExpandoValueLocalService

public ExpandoValueLocalService getExpandoValueLocalService()
Returns the expando value local service.

Returns:
the expando value local service

setExpandoValueLocalService

public void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
Sets the expando value local service.

Parameters:
expandoValueLocalService - the expando value local service

getExpandoValueService

public ExpandoValueService getExpandoValueService()
Returns the expando value remote service.

Returns:
the expando value remote service

setExpandoValueService

public void setExpandoValueService(ExpandoValueService expandoValueService)
Sets the expando value remote service.

Parameters:
expandoValueService - the expando value remote service

getExpandoValuePersistence

public ExpandoValuePersistence getExpandoValuePersistence()
Returns the expando value persistence.

Returns:
the expando value persistence

setExpandoValuePersistence

public void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
Sets the expando value persistence.

Parameters:
expandoValuePersistence - the expando value persistence

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