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