|
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 UserTrackerLocalService
The interface for the user tracker local service.
Never modify or reference this interface directly. Always use UserTrackerLocalServiceUtil
to access the user tracker local service. Add custom service methods to UserTrackerLocalServiceImpl
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.
UserTrackerLocalServiceUtil
,
UserTrackerLocalServiceBaseImpl
,
UserTrackerLocalServiceImpl
Method Summary | |
---|---|
UserTracker |
addUserTracker(long companyId,
long userId,
Date modifiedDate,
String sessionId,
String remoteAddr,
String remoteHost,
String userAgent,
List<UserTrackerPath> userTrackerPaths)
|
UserTracker |
addUserTracker(UserTracker userTracker)
Adds the user tracker to the database. |
UserTracker |
createUserTracker(long userTrackerId)
Creates a new user tracker with the primary key. |
void |
deleteUserTracker(long userTrackerId)
Deletes the user tracker with the primary key from the database. |
void |
deleteUserTracker(UserTracker userTracker)
Deletes the user tracker from the database. |
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. |
UserTracker |
getUserTracker(long userTrackerId)
Gets the user tracker with the primary key. |
List<UserTracker> |
getUserTrackers(int start,
int end)
Gets a range of all the user trackers. |
List<UserTracker> |
getUserTrackers(long companyId,
int start,
int end)
|
int |
getUserTrackersCount()
Gets the number of user trackers. |
UserTracker |
updateUserTracker(UserTracker userTracker)
Updates the user tracker in the database. |
UserTracker |
updateUserTracker(UserTracker userTracker,
boolean merge)
Updates the user tracker in the database. |
Method Detail |
---|
UserTracker addUserTracker(UserTracker userTracker) throws SystemException
userTracker
- the user tracker to add
SystemException
- if a system exception occurredUserTracker createUserTracker(long userTrackerId)
userTrackerId
- the primary key for the new user tracker
void deleteUserTracker(long userTrackerId) throws PortalException, SystemException
userTrackerId
- the primary key of the user tracker to delete
PortalException
- if a user tracker with the primary key could not be found
SystemException
- if a system exception occurredvoid deleteUserTracker(UserTracker userTracker) throws SystemException
userTracker
- the user tracker 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) UserTracker getUserTracker(long userTrackerId) throws PortalException, SystemException
userTrackerId
- the primary key of the user tracker to get
PortalException
- if a user tracker with the primary key could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<UserTracker> getUserTrackers(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 user trackers to returnend
- the upper bound of the range of user trackers to return (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getUserTrackersCount() throws SystemException
SystemException
- if a system exception occurredUserTracker updateUserTracker(UserTracker userTracker) throws SystemException
userTracker
- the user tracker to update
SystemException
- if a system exception occurredUserTracker updateUserTracker(UserTracker userTracker, boolean merge) throws SystemException
userTracker
- the user tracker to updatemerge
- whether to merge the user tracker 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 occurredUserTracker addUserTracker(long companyId, long userId, Date modifiedDate, String sessionId, String remoteAddr, String remoteHost, String userAgent, List<UserTrackerPath> userTrackerPaths) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<UserTracker> getUserTrackers(long companyId, int start, int end) throws SystemException
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |