com.liferay.portlet.blogs.service
Interface BlogsStatsUserLocalService


@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface BlogsStatsUserLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.blogs.service.impl.BlogsStatsUserLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
BlogsStatsUserLocalServiceUtil

Method Summary
 BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
           
 BlogsStatsUser createBlogsStatsUser(long statsUserId)
           
 void deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
           
 void deleteBlogsStatsUser(long statsUserId)
           
 void deleteStatsUserByGroupId(long groupId)
           
 void deleteStatsUserByUserId(long userId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 BlogsStatsUser getBlogsStatsUser(long statsUserId)
           
 java.util.List<BlogsStatsUser> getBlogsStatsUsers(int start, int end)
           
 int getBlogsStatsUsersCount()
           
 java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int start, int end)
           
 java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getCompanyStatsUsersCount(long companyId)
           
 java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId, int start, int end)
           
 java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupStatsUsersCount(long groupId)
           
 java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int start, int end)
           
 java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getOrganizationStatsUsersCount(long organizationId)
           
 BlogsStatsUser getStatsUser(long groupId, long userId)
           
 BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
           
 BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser, boolean merge)
           
 void updateStatsUser(long groupId, long userId)
           
 void updateStatsUser(long groupId, long userId, java.util.Date displayDate)
           
 

Method Detail

addBlogsStatsUser

BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createBlogsStatsUser

BlogsStatsUser createBlogsStatsUser(long statsUserId)

deleteBlogsStatsUser

void deleteBlogsStatsUser(long statsUserId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteBlogsStatsUser

void deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBlogsStatsUser

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BlogsStatsUser getBlogsStatsUser(long statsUserId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getBlogsStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getBlogsStatsUsers(int start,
                                                                int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBlogsStatsUsersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getBlogsStatsUsersCount()
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateBlogsStatsUser

BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateBlogsStatsUser

BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser,
                                    boolean merge)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteStatsUserByGroupId

void deleteStatsUserByGroupId(long groupId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteStatsUserByUserId

void deleteStatsUserByUserId(long userId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId,
                                                                  int start,
                                                                  int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId,
                                                                  int start,
                                                                  int end,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyStatsUsersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyStatsUsersCount(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId,
                                                                int start,
                                                                int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId,
                                                                int start,
                                                                int end,
                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupStatsUsersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupStatsUsersCount(long groupId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId,
                                                                       int start,
                                                                       int end)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId,
                                                                       int start,
                                                                       int end,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationStatsUsersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getOrganizationStatsUsersCount(long organizationId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStatsUser

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BlogsStatsUser getStatsUser(long groupId,
                                          long userId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateStatsUser

void updateStatsUser(long groupId,
                     long userId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateStatsUser

void updateStatsUser(long groupId,
                     long userId,
                     java.util.Date displayDate)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException