com.liferay.portlet.messageboards.service
Interface MBStatsUserLocalService

All Known Implementing Classes:
MBStatsUserLocalServiceWrapper

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

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.messageboards.service.impl.MBStatsUserLocalServiceImpl}. 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:
MBStatsUserLocalServiceUtil
Generated:

Method Summary
 MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser)
           
 MBStatsUser addStatsUser(long groupId, long userId)
           
 MBStatsUser createMBStatsUser(long statsUserId)
           
 void deleteMBStatsUser(long statsUserId)
           
 void deleteMBStatsUser(MBStatsUser mbStatsUser)
           
 void deleteStatsUserByGroupId(long groupId)
          Deprecated.  
 void deleteStatsUserByUserId(long userId)
          Deprecated.  
 void deleteStatsUsersByGroupId(long groupId)
           
 void deleteStatsUsersByUserId(long userId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 MBStatsUser getMBStatsUser(long statsUserId)
           
 java.util.List<MBStatsUser> getMBStatsUsers(int start, int end)
           
 int getMBStatsUsersCount()
           
 int getMessageCountByUserId(long userId)
           
 MBStatsUser getStatsUser(long groupId, long userId)
           
 java.util.List<MBStatsUser> getStatsUsers(long groupId, int start, int end)
          Deprecated.  
 java.util.List<MBStatsUser> getStatsUsersByGroupId(long groupId, int start, int end)
           
 int getStatsUsersByGroupIdCount(long groupId)
           
 java.util.List<MBStatsUser> getStatsUsersByUserId(long userId)
           
 int getStatsUsersCount(long groupId)
          Deprecated.  
 MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser)
           
 MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser, boolean merge)
           
 MBStatsUser updateStatsUser(long groupId, long userId)
           
 MBStatsUser updateStatsUser(long groupId, long userId, java.util.Date lastPostDate)
           
 

Method Detail

addMBStatsUser

MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createMBStatsUser

MBStatsUser createMBStatsUser(long statsUserId)

deleteMBStatsUser

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

deleteMBStatsUser

void deleteMBStatsUser(MBStatsUser mbStatsUser)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

dynamicQuery

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.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getMBStatsUser

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

getMBStatsUsers

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

getMBStatsUsersCount

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

updateMBStatsUser

MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateMBStatsUser

MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser,
                              boolean merge)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addStatsUser

MBStatsUser addStatsUser(long groupId,
                         long userId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteStatsUserByGroupId

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

Throws:
com.liferay.portal.SystemException

deleteStatsUserByUserId

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

Throws:
com.liferay.portal.SystemException

deleteStatsUsersByGroupId

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

deleteStatsUsersByUserId

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

getMessageCountByUserId

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

getStatsUser

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

getStatsUsers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<MBStatsUser> getStatsUsers(long groupId,
                                                        int start,
                                                        int end)
                                          throws com.liferay.portal.SystemException
Deprecated. 

Throws:
com.liferay.portal.SystemException

getStatsUsersByGroupId

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

getStatsUsersByGroupIdCount

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

getStatsUsersByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<MBStatsUser> getStatsUsersByUserId(long userId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStatsUsersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getStatsUsersCount(long groupId)
                       throws com.liferay.portal.SystemException
Deprecated. 

Throws:
com.liferay.portal.SystemException

updateStatsUser

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

updateStatsUser

MBStatsUser updateStatsUser(long groupId,
                            long userId,
                            java.util.Date lastPostDate)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException