Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.service.impl
Class MBStatsUserLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.messageboards.service.base.MBStatsUserLocalServiceBaseImpl
          extended by com.liferay.portlet.messageboards.service.impl.MBStatsUserLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, MBStatsUserLocalService

public class MBStatsUserLocalServiceImpl
extends MBStatsUserLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBStatsUserLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, persistedModelLocalServiceRegistry, userFinder, userLocalService, userPersistence
 
Constructor Summary
MBStatsUserLocalServiceImpl()
           
 
Method Summary
 MBStatsUser addStatsUser(long groupId, long userId)
           
 void deleteStatsUser(long statsUserId)
           
 void deleteStatsUser(MBStatsUser statsUser)
           
 void deleteStatsUsersByGroupId(long groupId)
           
 void deleteStatsUsersByUserId(long userId)
           
 Date getLastPostDateByUserId(long groupId, long userId)
           
 long getMessageCountByGroupId(long groupId)
           
 long getMessageCountByUserId(long userId)
           
 MBStatsUser getStatsUser(long groupId, long userId)
           
 List<MBStatsUser> getStatsUsersByGroupId(long groupId, int start, int end)
           
 int getStatsUsersByGroupIdCount(long groupId)
           
 List<MBStatsUser> getStatsUsersByUserId(long userId)
           
 MBStatsUser updateStatsUser(long groupId, long userId)
           
 MBStatsUser updateStatsUser(long groupId, long userId, Date lastPostDate)
           
 MBStatsUser updateStatsUser(long groupId, long userId, int messageCount, Date lastPostDate)
           
 
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBStatsUserLocalServiceBaseImpl
addMBStatsUser, afterPropertiesSet, createMBStatsUser, deleteMBStatsUser, deleteMBStatsUser, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBStatsUser, getActionableDynamicQuery, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBStatsUser, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBStatsUsers, getMBStatsUsersCount, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateMBStatsUser
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBStatsUserLocalServiceImpl

public MBStatsUserLocalServiceImpl()
Method Detail

addStatsUser

public MBStatsUser addStatsUser(long groupId,
                                long userId)

deleteStatsUser

public void deleteStatsUser(long statsUserId)
                     throws PortalException
Throws:
PortalException

deleteStatsUser

public void deleteStatsUser(MBStatsUser statsUser)

deleteStatsUsersByGroupId

public void deleteStatsUsersByGroupId(long groupId)

deleteStatsUsersByUserId

public void deleteStatsUsersByUserId(long userId)

getLastPostDateByUserId

public Date getLastPostDateByUserId(long groupId,
                                    long userId)

getMessageCountByGroupId

public long getMessageCountByGroupId(long groupId)

getMessageCountByUserId

public long getMessageCountByUserId(long userId)

getStatsUser

public MBStatsUser getStatsUser(long groupId,
                                long userId)

getStatsUsersByGroupId

public List<MBStatsUser> getStatsUsersByGroupId(long groupId,
                                                int start,
                                                int end)
                                         throws PortalException
Throws:
PortalException

getStatsUsersByGroupIdCount

public int getStatsUsersByGroupIdCount(long groupId)
                                throws PortalException
Throws:
PortalException

getStatsUsersByUserId

public List<MBStatsUser> getStatsUsersByUserId(long userId)

updateStatsUser

public MBStatsUser updateStatsUser(long groupId,
                                   long userId)

updateStatsUser

public MBStatsUser updateStatsUser(long groupId,
                                   long userId,
                                   Date lastPostDate)

updateStatsUser

public MBStatsUser updateStatsUser(long groupId,
                                   long userId,
                                   int messageCount,
                                   Date lastPostDate)

Liferay 7.0-ce-b4