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

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.base.MBThreadFlagLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Direct Known Subclasses:
MBThreadFlagLocalServiceImpl

public abstract class MBThreadFlagLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.messageboards.service.MBThreadFlagLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

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

Author:
Brian Wing Shun Chan
See Also:
MBThreadFlagLocalServiceImpl, MBThreadFlagLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence
           
protected  com.liferay.portlet.messageboards.service.MBBanService mbBanService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder
           
protected  com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence
           
protected  com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService
           
protected  com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence
           
protected  com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder
           
protected  com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence
           
protected  com.liferay.portlet.messageboards.service.MBMessageService mbMessageService
           
protected  com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder
           
protected  com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence
           
protected  com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService
           
protected  com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence
           
protected  com.liferay.portlet.messageboards.service.MBThreadService mbThreadService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
MBThreadFlagLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.messageboards.model.MBThreadFlag addMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
          Adds the message boards thread flag to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.messageboards.model.MBThreadFlag createMBThreadFlag(long threadFlagId)
          Creates a new message boards thread flag with the primary key.
 void deleteMBThreadFlag(long threadFlagId)
          Deletes the message boards thread flag with the primary key from the database.
 void deleteMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
          Deletes the message boards thread flag from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.messageboards.model.MBThreadFlag fetchMBThreadFlag(long threadFlagId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.portlet.messageboards.service.MBBanLocalService getMBBanLocalService()
          Returns the message boards ban local service.
 com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence()
          Returns the message boards ban persistence.
 com.liferay.portlet.messageboards.service.MBBanService getMBBanService()
          Returns the message boards ban remote service.
 com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder getMBCategoryFinder()
          Returns the message boards category finder.
 com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService()
          Returns the message boards category local service.
 com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence getMBCategoryPersistence()
          Returns the message boards category persistence.
 com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService()
          Returns the message boards category remote service.
 com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService()
          Returns the message boards discussion local service.
 com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence getMBDiscussionPersistence()
          Returns the message boards discussion persistence.
 com.liferay.portlet.messageboards.service.MBMailingListLocalService getMBMailingListLocalService()
          Returns the message boards mailing list local service.
 com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence getMBMailingListPersistence()
          Returns the message boards mailing list persistence.
 com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder()
          Returns the message-boards message finder.
 com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService()
          Returns the message-boards message local service.
 com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence()
          Returns the message-boards message persistence.
 com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService()
          Returns the message-boards message remote service.
 com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService()
          Returns the message boards stats user local service.
 com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence()
          Returns the message boards stats user persistence.
 com.liferay.portlet.messageboards.service.persistence.MBThreadFinder getMBThreadFinder()
          Returns the message boards thread finder.
 com.liferay.portlet.messageboards.model.MBThreadFlag getMBThreadFlag(long threadFlagId)
          Returns the message boards thread flag with the primary key.
 com.liferay.portlet.messageboards.service.MBThreadFlagLocalService getMBThreadFlagLocalService()
          Returns the message boards thread flag local service.
 com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence getMBThreadFlagPersistence()
          Returns the message boards thread flag persistence.
 java.util.List<com.liferay.portlet.messageboards.model.MBThreadFlag> getMBThreadFlags(int start, int end)
          Returns a range of all the message boards thread flags.
 int getMBThreadFlagsCount()
          Returns the number of message boards thread flags.
 com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService()
          Returns the message boards thread local service.
 com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence getMBThreadPersistence()
          Returns the message boards thread persistence.
 com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService()
          Returns the message boards thread remote service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setMBBanLocalService(com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService)
          Sets the message boards ban local service.
 void setMBBanPersistence(com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence)
          Sets the message boards ban persistence.
 void setMBBanService(com.liferay.portlet.messageboards.service.MBBanService mbBanService)
          Sets the message boards ban remote service.
 void setMBCategoryFinder(com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder)
          Sets the message boards category finder.
 void setMBCategoryLocalService(com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService)
          Sets the message boards category local service.
 void setMBCategoryPersistence(com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence)
          Sets the message boards category persistence.
 void setMBCategoryService(com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService)
          Sets the message boards category remote service.
 void setMBDiscussionLocalService(com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService)
          Sets the message boards discussion local service.
 void setMBDiscussionPersistence(com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence)
          Sets the message boards discussion persistence.
 void setMBMailingListLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService)
          Sets the message boards mailing list local service.
 void setMBMailingListPersistence(com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence)
          Sets the message boards mailing list persistence.
 void setMBMessageFinder(com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder)
          Sets the message-boards message finder.
 void setMBMessageLocalService(com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService)
          Sets the message-boards message local service.
 void setMBMessagePersistence(com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence)
          Sets the message-boards message persistence.
 void setMBMessageService(com.liferay.portlet.messageboards.service.MBMessageService mbMessageService)
          Sets the message-boards message remote service.
 void setMBStatsUserLocalService(com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService)
          Sets the message boards stats user local service.
 void setMBStatsUserPersistence(com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence)
          Sets the message boards stats user persistence.
 void setMBThreadFinder(com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder)
          Sets the message boards thread finder.
 void setMBThreadFlagLocalService(com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService)
          Sets the message boards thread flag local service.
 void setMBThreadFlagPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence)
          Sets the message boards thread flag persistence.
 void setMBThreadLocalService(com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService)
          Sets the message boards thread local service.
 void setMBThreadPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence)
          Sets the message boards thread persistence.
 void setMBThreadService(com.liferay.portlet.messageboards.service.MBThreadService mbThreadService)
          Sets the message boards thread remote service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.messageboards.model.MBThreadFlag updateMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
          Updates the message boards thread flag in the database or adds it if it does not yet exist.
 com.liferay.portlet.messageboards.model.MBThreadFlag updateMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag, boolean merge)
          Updates the message boards thread flag in the database or adds it if it does not yet exist.
 
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.MBThreadFlagLocalService
addThreadFlag, deleteThreadFlag, deleteThreadFlag, deleteThreadFlagsByThreadId, deleteThreadFlagsByUserId, getThreadFlag, hasThreadFlag
 

Field Detail

mbBanLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBBanLocalService.class)
protected com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService

mbBanService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBBanService.class)
protected com.liferay.portlet.messageboards.service.MBBanService mbBanService

mbBanPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBBanPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence

mbCategoryLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBCategoryLocalService.class)
protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService

mbCategoryService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBCategoryService.class)
protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService

mbCategoryPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence

mbCategoryFinder

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder.class)
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder

mbDiscussionLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class)
protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService

mbDiscussionPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence

mbMailingListLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBMailingListLocalService.class)
protected com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService

mbMailingListPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence

mbMessageLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService

mbMessageService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBMessageService.class)
protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService

mbMessagePersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence

mbMessageFinder

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessageFinder.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder

mbStatsUserLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService

mbStatsUserPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence

mbThreadLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService

mbThreadService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBThreadService.class)
protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService

mbThreadPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence

mbThreadFinder

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadFinder.class)
protected com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder

mbThreadFlagLocalService

@BeanReference(type=com.liferay.portlet.messageboards.service.MBThreadFlagLocalService.class)
protected com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService

mbThreadFlagPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

MBThreadFlagLocalServiceBaseImpl

public MBThreadFlagLocalServiceBaseImpl()
Method Detail

addMBThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag addMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
                                                                     throws com.liferay.portal.kernel.exception.SystemException
Adds the message boards thread flag to the database. Also notifies the appropriate model listeners.

Specified by:
addMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
mbThreadFlag - the message boards thread flag
Returns:
the message boards thread flag that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createMBThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag createMBThreadFlag(long threadFlagId)
Creates a new message boards thread flag with the primary key. Does not add the message boards thread flag to the database.

Specified by:
createMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
threadFlagId - the primary key for the new message boards thread flag
Returns:
the new message boards thread flag

deleteMBThreadFlag

public void deleteMBThreadFlag(long threadFlagId)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Deletes the message boards thread flag with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
threadFlagId - the primary key of the message boards thread flag
Throws:
com.liferay.portal.kernel.exception.PortalException - if a message boards thread flag with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteMBThreadFlag

public void deleteMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
                        throws com.liferay.portal.kernel.exception.SystemException
Deletes the message boards thread flag from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
mbThreadFlag - the message boards thread flag
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchMBThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag fetchMBThreadFlag(long threadFlagId)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getMBThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag getMBThreadFlag(long threadFlagId)
                                                                     throws com.liferay.portal.kernel.exception.PortalException,
                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the message boards thread flag with the primary key.

Specified by:
getMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
threadFlagId - the primary key of the message boards thread flag
Returns:
the message boards thread flag
Throws:
com.liferay.portal.kernel.exception.PortalException - if a message boards thread flag with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getMBThreadFlags

public java.util.List<com.liferay.portlet.messageboards.model.MBThreadFlag> getMBThreadFlags(int start,
                                                                                             int end)
                                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the message boards thread flags.

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:
getMBThreadFlags in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
start - the lower bound of the range of message boards thread flags
end - the upper bound of the range of message boards thread flags (not inclusive)
Returns:
the range of message boards thread flags
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getMBThreadFlagsCount

public int getMBThreadFlagsCount()
                          throws com.liferay.portal.kernel.exception.SystemException
Returns the number of message boards thread flags.

Specified by:
getMBThreadFlagsCount in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Returns:
the number of message boards thread flags
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateMBThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag updateMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
                                                                        throws com.liferay.portal.kernel.exception.SystemException
Updates the message boards thread flag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
mbThreadFlag - the message boards thread flag
Returns:
the message boards thread flag that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateMBThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag updateMBThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag,
                                                                               boolean merge)
                                                                        throws com.liferay.portal.kernel.exception.SystemException
Updates the message boards thread flag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMBThreadFlag in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
mbThreadFlag - the message boards thread flag
merge - whether to merge the message boards thread flag 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 flag that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getMBBanLocalService

public com.liferay.portlet.messageboards.service.MBBanLocalService getMBBanLocalService()
Returns the message boards ban local service.

Returns:
the message boards ban local service

setMBBanLocalService

public void setMBBanLocalService(com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService)
Sets the message boards ban local service.

Parameters:
mbBanLocalService - the message boards ban local service

getMBBanService

public com.liferay.portlet.messageboards.service.MBBanService getMBBanService()
Returns the message boards ban remote service.

Returns:
the message boards ban remote service

setMBBanService

public void setMBBanService(com.liferay.portlet.messageboards.service.MBBanService mbBanService)
Sets the message boards ban remote service.

Parameters:
mbBanService - the message boards ban remote service

getMBBanPersistence

public com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence()
Returns the message boards ban persistence.

Returns:
the message boards ban persistence

setMBBanPersistence

public void setMBBanPersistence(com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence)
Sets the message boards ban persistence.

Parameters:
mbBanPersistence - the message boards ban persistence

getMBCategoryLocalService

public com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService()
Returns the message boards category local service.

Returns:
the message boards category local service

setMBCategoryLocalService

public void setMBCategoryLocalService(com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService)
Sets the message boards category local service.

Parameters:
mbCategoryLocalService - the message boards category local service

getMBCategoryService

public com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService()
Returns the message boards category remote service.

Returns:
the message boards category remote service

setMBCategoryService

public void setMBCategoryService(com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService)
Sets the message boards category remote service.

Parameters:
mbCategoryService - the message boards category remote service

getMBCategoryPersistence

public com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence getMBCategoryPersistence()
Returns the message boards category persistence.

Returns:
the message boards category persistence

setMBCategoryPersistence

public void setMBCategoryPersistence(com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence)
Sets the message boards category persistence.

Parameters:
mbCategoryPersistence - the message boards category persistence

getMBCategoryFinder

public com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder getMBCategoryFinder()
Returns the message boards category finder.

Returns:
the message boards category finder

setMBCategoryFinder

public void setMBCategoryFinder(com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder)
Sets the message boards category finder.

Parameters:
mbCategoryFinder - the message boards category finder

getMBDiscussionLocalService

public com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService()
Returns the message boards discussion local service.

Returns:
the message boards discussion local service

setMBDiscussionLocalService

public void setMBDiscussionLocalService(com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService)
Sets the message boards discussion local service.

Parameters:
mbDiscussionLocalService - the message boards discussion local service

getMBDiscussionPersistence

public com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence getMBDiscussionPersistence()
Returns the message boards discussion persistence.

Returns:
the message boards discussion persistence

setMBDiscussionPersistence

public void setMBDiscussionPersistence(com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence)
Sets the message boards discussion persistence.

Parameters:
mbDiscussionPersistence - the message boards discussion persistence

getMBMailingListLocalService

public com.liferay.portlet.messageboards.service.MBMailingListLocalService getMBMailingListLocalService()
Returns the message boards mailing list local service.

Returns:
the message boards mailing list local service

setMBMailingListLocalService

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

Parameters:
mbMailingListLocalService - the message boards mailing list local service

getMBMailingListPersistence

public com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence getMBMailingListPersistence()
Returns the message boards mailing list persistence.

Returns:
the message boards mailing list persistence

setMBMailingListPersistence

public void setMBMailingListPersistence(com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence)
Sets the message boards mailing list persistence.

Parameters:
mbMailingListPersistence - the message boards mailing list persistence

getMBMessageLocalService

public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService()
Returns the message-boards message local service.

Returns:
the message-boards message local service

setMBMessageLocalService

public void setMBMessageLocalService(com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service.

Parameters:
mbMessageLocalService - the message-boards message local service

getMBMessageService

public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService()
Returns the message-boards message remote service.

Returns:
the message-boards message remote service

setMBMessageService

public void setMBMessageService(com.liferay.portlet.messageboards.service.MBMessageService mbMessageService)
Sets the message-boards message remote service.

Parameters:
mbMessageService - the message-boards message remote service

getMBMessagePersistence

public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence()
Returns the message-boards message persistence.

Returns:
the message-boards message persistence

setMBMessagePersistence

public void setMBMessagePersistence(com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence.

Parameters:
mbMessagePersistence - the message-boards message persistence

getMBMessageFinder

public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder()
Returns the message-boards message finder.

Returns:
the message-boards message finder

setMBMessageFinder

public void setMBMessageFinder(com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder)
Sets the message-boards message finder.

Parameters:
mbMessageFinder - the message-boards message finder

getMBStatsUserLocalService

public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService()
Returns the message boards stats user local service.

Returns:
the message boards stats user local service

setMBStatsUserLocalService

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

Parameters:
mbStatsUserLocalService - the message boards stats user local service

getMBStatsUserPersistence

public com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence()
Returns the message boards stats user persistence.

Returns:
the message boards stats user persistence

setMBStatsUserPersistence

public void setMBStatsUserPersistence(com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence)
Sets the message boards stats user persistence.

Parameters:
mbStatsUserPersistence - the message boards stats user persistence

getMBThreadLocalService

public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService()
Returns the message boards thread local service.

Returns:
the message boards thread local service

setMBThreadLocalService

public void setMBThreadLocalService(com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService)
Sets the message boards thread local service.

Parameters:
mbThreadLocalService - the message boards thread local service

getMBThreadService

public com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService()
Returns the message boards thread remote service.

Returns:
the message boards thread remote service

setMBThreadService

public void setMBThreadService(com.liferay.portlet.messageboards.service.MBThreadService mbThreadService)
Sets the message boards thread remote service.

Parameters:
mbThreadService - the message boards thread remote service

getMBThreadPersistence

public com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence getMBThreadPersistence()
Returns the message boards thread persistence.

Returns:
the message boards thread persistence

setMBThreadPersistence

public void setMBThreadPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence)
Sets the message boards thread persistence.

Parameters:
mbThreadPersistence - the message boards thread persistence

getMBThreadFinder

public com.liferay.portlet.messageboards.service.persistence.MBThreadFinder getMBThreadFinder()
Returns the message boards thread finder.

Returns:
the message boards thread finder

setMBThreadFinder

public void setMBThreadFinder(com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder)
Sets the message boards thread finder.

Parameters:
mbThreadFinder - the message boards thread finder

getMBThreadFlagLocalService

public com.liferay.portlet.messageboards.service.MBThreadFlagLocalService getMBThreadFlagLocalService()
Returns the message boards thread flag local service.

Returns:
the message boards thread flag local service

setMBThreadFlagLocalService

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

Parameters:
mbThreadFlagLocalService - the message boards thread flag local service

getMBThreadFlagPersistence

public com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence getMBThreadFlagPersistence()
Returns the message boards thread flag persistence.

Returns:
the message boards thread flag persistence

setMBThreadFlagPersistence

public void setMBThreadFlagPersistence(com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence)
Sets the message boards thread flag persistence.

Parameters:
mbThreadFlagPersistence - the message boards thread flag persistence

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

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

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

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

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.messageboards.service.MBThreadFlagLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException