|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.UserTrackerLocalServiceWrapper
public class UserTrackerLocalServiceWrapper
This class is a wrapper for UserTrackerLocalService
.
UserTrackerLocalService
Constructor Summary | |
---|---|
UserTrackerLocalServiceWrapper(UserTrackerLocalService userTrackerLocalService)
|
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. |
UserTrackerLocalService |
getWrappedUserTrackerLocalService()
|
UserTracker |
updateUserTracker(UserTracker userTracker)
Updates the user tracker in the database. |
UserTracker |
updateUserTracker(UserTracker userTracker,
boolean merge)
Updates the user tracker in the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserTrackerLocalServiceWrapper(UserTrackerLocalService userTrackerLocalService)
Method Detail |
---|
public UserTracker addUserTracker(UserTracker userTracker) throws SystemException
addUserTracker
in interface UserTrackerLocalService
userTracker
- the user tracker to add
SystemException
- if a system exception occurredpublic UserTracker createUserTracker(long userTrackerId)
createUserTracker
in interface UserTrackerLocalService
userTrackerId
- the primary key for the new user tracker
public void deleteUserTracker(long userTrackerId) throws PortalException, SystemException
deleteUserTracker
in interface UserTrackerLocalService
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 occurredpublic void deleteUserTracker(UserTracker userTracker) throws SystemException
deleteUserTracker
in interface UserTrackerLocalService
userTracker
- the user tracker to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface UserTrackerLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic List 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
in interface UserTrackerLocalService
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 occurredpublic List 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
in interface UserTrackerLocalService
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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface UserTrackerLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic UserTracker getUserTracker(long userTrackerId) throws PortalException, SystemException
getUserTracker
in interface UserTrackerLocalService
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 occurredpublic 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.
getUserTrackers
in interface UserTrackerLocalService
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 occurredpublic int getUserTrackersCount() throws SystemException
getUserTrackersCount
in interface UserTrackerLocalService
SystemException
- if a system exception occurredpublic UserTracker updateUserTracker(UserTracker userTracker) throws SystemException
updateUserTracker
in interface UserTrackerLocalService
userTracker
- the user tracker to update
SystemException
- if a system exception occurredpublic UserTracker updateUserTracker(UserTracker userTracker, boolean merge) throws SystemException
updateUserTracker
in interface UserTrackerLocalService
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 occurredpublic UserTracker addUserTracker(long companyId, long userId, Date modifiedDate, String sessionId, String remoteAddr, String remoteHost, String userAgent, List<UserTrackerPath> userTrackerPaths) throws SystemException
addUserTracker
in interface UserTrackerLocalService
SystemException
public List<UserTracker> getUserTrackers(long companyId, int start, int end) throws SystemException
getUserTrackers
in interface UserTrackerLocalService
SystemException
public UserTrackerLocalService getWrappedUserTrackerLocalService()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |