1
22
23 package com.liferay.portal.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29
30
54 @Transactional(rollbackFor = {
55 PortalException.class, SystemException.class})
56 public interface UserTrackerLocalService {
57 public com.liferay.portal.model.UserTracker addUserTracker(
58 com.liferay.portal.model.UserTracker userTracker)
59 throws com.liferay.portal.SystemException;
60
61 public com.liferay.portal.model.UserTracker createUserTracker(
62 long userTrackerId);
63
64 public void deleteUserTracker(long userTrackerId)
65 throws com.liferay.portal.SystemException,
66 com.liferay.portal.PortalException;
67
68 public void deleteUserTracker(
69 com.liferay.portal.model.UserTracker userTracker)
70 throws com.liferay.portal.SystemException;
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException;
75
76 public java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException;
79
80 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
81 public com.liferay.portal.model.UserTracker getUserTracker(
82 long userTrackerId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portal.PortalException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portal.model.UserTracker> getUserTrackers(
88 int start, int end) throws com.liferay.portal.SystemException;
89
90 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
91 public int getUserTrackersCount() throws com.liferay.portal.SystemException;
92
93 public com.liferay.portal.model.UserTracker updateUserTracker(
94 com.liferay.portal.model.UserTracker userTracker)
95 throws com.liferay.portal.SystemException;
96
97 public com.liferay.portal.model.UserTracker addUserTracker(long companyId,
98 long userId, java.util.Date modifiedDate, java.lang.String sessionId,
99 java.lang.String remoteAddr, java.lang.String remoteHost,
100 java.lang.String userAgent,
101 java.util.List<com.liferay.portal.model.UserTrackerPath> userTrackerPaths)
102 throws com.liferay.portal.SystemException;
103
104 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
105 public java.util.List<com.liferay.portal.model.UserTracker> getUserTrackers(
106 long companyId, int start, int end)
107 throws com.liferay.portal.SystemException;
108 }