|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBStatsUserLocalService
The interface for the message boards stats user local service.
Never modify or reference this interface directly. Always use MBStatsUserLocalServiceUtil
to access the message boards stats user local service. Add custom service methods to MBStatsUserLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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.
MBStatsUserLocalServiceUtil
,
MBStatsUserLocalServiceBaseImpl
,
MBStatsUserLocalServiceImpl
Method Summary | |
---|---|
MBStatsUser |
addMBStatsUser(MBStatsUser mbStatsUser)
Adds the message boards stats user to the database. |
MBStatsUser |
addStatsUser(long groupId,
long userId)
|
MBStatsUser |
createMBStatsUser(long statsUserId)
Creates a new message boards stats user with the primary key. |
void |
deleteMBStatsUser(long statsUserId)
Deletes the message boards stats user with the primary key from the database. |
void |
deleteMBStatsUser(MBStatsUser mbStatsUser)
Deletes the message boards stats user from the database. |
void |
deleteStatsUsersByGroupId(long groupId)
|
void |
deleteStatsUsersByUserId(long userId)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
MBStatsUser |
getMBStatsUser(long statsUserId)
Gets the message boards stats user with the primary key. |
List<MBStatsUser> |
getMBStatsUsers(int start,
int end)
Gets a range of all the message boards stats users. |
int |
getMBStatsUsersCount()
Gets the number of message boards stats users. |
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 |
updateMBStatsUser(MBStatsUser mbStatsUser)
Updates the message boards stats user in the database. |
MBStatsUser |
updateMBStatsUser(MBStatsUser mbStatsUser,
boolean merge)
Updates the message boards stats user in the database. |
MBStatsUser |
updateStatsUser(long groupId,
long userId)
|
MBStatsUser |
updateStatsUser(long groupId,
long userId,
Date lastPostDate)
|
Method Detail |
---|
MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser) throws SystemException
mbStatsUser
- the message boards stats user to add
SystemException
- if a system exception occurredMBStatsUser createMBStatsUser(long statsUserId)
statsUserId
- the primary key for the new message boards stats user
void deleteMBStatsUser(long statsUserId) throws PortalException, SystemException
statsUserId
- the primary key of the message boards stats user to delete
PortalException
- if a message boards stats user with the primary key could not be found
SystemException
- if a system exception occurredvoid deleteMBStatsUser(MBStatsUser mbStatsUser) throws SystemException
mbStatsUser
- the message boards stats user to delete
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) MBStatsUser getMBStatsUser(long statsUserId) throws PortalException, SystemException
statsUserId
- the primary key of the message boards stats user to get
PortalException
- if a message boards stats user with the primary key could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<MBStatsUser> getMBStatsUsers(int start, int end) throws SystemException
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.
start
- the lower bound of the range of message boards stats users to returnend
- the upper bound of the range of message boards stats users to return (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getMBStatsUsersCount() throws SystemException
SystemException
- if a system exception occurredMBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser) throws SystemException
mbStatsUser
- the message boards stats user to update
SystemException
- if a system exception occurredMBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser, boolean merge) throws SystemException
mbStatsUser
- the message boards stats user to updatemerge
- whether to merge the message boards stats user with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredMBStatsUser addStatsUser(long groupId, long userId) throws SystemException
SystemException
void deleteStatsUsersByGroupId(long groupId) throws SystemException
SystemException
void deleteStatsUsersByUserId(long userId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) long getMessageCountByUserId(long userId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) MBStatsUser getStatsUser(long groupId, long userId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBStatsUser> getStatsUsersByGroupId(long groupId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBStatsUser> getStatsUsersByUserId(long userId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getStatsUsersByGroupIdCount(long groupId) throws SystemException
SystemException
MBStatsUser updateStatsUser(long groupId, long userId) throws SystemException
SystemException
MBStatsUser updateStatsUser(long groupId, long userId, Date lastPostDate) throws SystemException
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |