com.liferay.portlet.messageboards.service
Interface MBStatsUserLocalService

All Known Implementing Classes:
MBStatsUserLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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 deleteStatsUsersByGroupId(long groupId)
           
 void deleteStatsUsersByUserId(long userId)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 MBStatsUser getMBStatsUser(long statsUserId)
           
 java.util.List<MBStatsUser> getMBStatsUsers(int start, int end)
           
 int getMBStatsUsersCount()
           
 long getMessageCountByUserId(long userId)
           
 MBStatsUser getStatsUser(long groupId, long userId)
           
 java.util.List<MBStatsUser> getStatsUsersByGroupId(long groupId, int start, int end)
           
 int getStatsUsersByGroupIdCount(long groupId)
           
 java.util.List<MBStatsUser> getStatsUsersByUserId(long userId)
           
 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 SystemException
Throws:
SystemException

createMBStatsUser

MBStatsUser createMBStatsUser(long statsUserId)

deleteMBStatsUser

void deleteMBStatsUser(long statsUserId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

deleteMBStatsUser

void deleteMBStatsUser(MBStatsUser mbStatsUser)
                       throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getMBStatsUser

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

getMBStatsUsers

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

getMBStatsUsersCount

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

updateMBStatsUser

MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser)
                              throws SystemException
Throws:
SystemException

updateMBStatsUser

MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser,
                              boolean merge)
                              throws SystemException
Throws:
SystemException

addStatsUser

MBStatsUser addStatsUser(long groupId,
                         long userId)
                         throws SystemException
Throws:
SystemException

deleteStatsUsersByGroupId

void deleteStatsUsersByGroupId(long groupId)
                               throws SystemException
Throws:
SystemException

deleteStatsUsersByUserId

void deleteStatsUsersByUserId(long userId)
                              throws SystemException
Throws:
SystemException

getMessageCountByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getMessageCountByUserId(long userId)
                             throws SystemException
Throws:
SystemException

getStatsUser

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

getStatsUsersByGroupId

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

getStatsUsersByUserId

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

getStatsUsersByGroupIdCount

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

updateStatsUser

MBStatsUser updateStatsUser(long groupId,
                            long userId)
                            throws SystemException
Throws:
SystemException

updateStatsUser

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