1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.UserTracker;
18
19
32 public interface UserTrackerPersistence extends BasePersistence<UserTracker> {
33 public void cacheResult(com.liferay.portal.model.UserTracker userTracker);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.UserTracker> userTrackers);
37
38 public com.liferay.portal.model.UserTracker create(long userTrackerId);
39
40 public com.liferay.portal.model.UserTracker remove(long userTrackerId)
41 throws com.liferay.portal.NoSuchUserTrackerException,
42 com.liferay.portal.kernel.exception.SystemException;
43
44 public com.liferay.portal.model.UserTracker updateImpl(
45 com.liferay.portal.model.UserTracker userTracker, boolean merge)
46 throws com.liferay.portal.kernel.exception.SystemException;
47
48 public com.liferay.portal.model.UserTracker findByPrimaryKey(
49 long userTrackerId)
50 throws com.liferay.portal.NoSuchUserTrackerException,
51 com.liferay.portal.kernel.exception.SystemException;
52
53 public com.liferay.portal.model.UserTracker fetchByPrimaryKey(
54 long userTrackerId)
55 throws com.liferay.portal.kernel.exception.SystemException;
56
57 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
58 long companyId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
62 long companyId, int start, int end)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
66 long companyId, int start, int end,
67 com.liferay.portal.kernel.util.OrderByComparator obc)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public com.liferay.portal.model.UserTracker findByCompanyId_First(
71 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.NoSuchUserTrackerException,
73 com.liferay.portal.kernel.exception.SystemException;
74
75 public com.liferay.portal.model.UserTracker findByCompanyId_Last(
76 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.NoSuchUserTrackerException,
78 com.liferay.portal.kernel.exception.SystemException;
79
80 public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
81 long userTrackerId, long companyId,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.NoSuchUserTrackerException,
84 com.liferay.portal.kernel.exception.SystemException;
85
86 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
87 long userId) throws com.liferay.portal.kernel.exception.SystemException;
88
89 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
90 long userId, int start, int end)
91 throws com.liferay.portal.kernel.exception.SystemException;
92
93 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
94 long userId, int start, int end,
95 com.liferay.portal.kernel.util.OrderByComparator obc)
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public com.liferay.portal.model.UserTracker findByUserId_First(
99 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.NoSuchUserTrackerException,
101 com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portal.model.UserTracker findByUserId_Last(long userId,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.NoSuchUserTrackerException,
106 com.liferay.portal.kernel.exception.SystemException;
107
108 public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
109 long userTrackerId, long userId,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.NoSuchUserTrackerException,
112 com.liferay.portal.kernel.exception.SystemException;
113
114 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
115 java.lang.String sessionId)
116 throws com.liferay.portal.kernel.exception.SystemException;
117
118 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
119 java.lang.String sessionId, int start, int end)
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
123 java.lang.String sessionId, int start, int end,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.kernel.exception.SystemException;
126
127 public com.liferay.portal.model.UserTracker findBySessionId_First(
128 java.lang.String sessionId,
129 com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.NoSuchUserTrackerException,
131 com.liferay.portal.kernel.exception.SystemException;
132
133 public com.liferay.portal.model.UserTracker findBySessionId_Last(
134 java.lang.String sessionId,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.NoSuchUserTrackerException,
137 com.liferay.portal.kernel.exception.SystemException;
138
139 public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
140 long userTrackerId, java.lang.String sessionId,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.NoSuchUserTrackerException,
143 com.liferay.portal.kernel.exception.SystemException;
144
145 public java.util.List<com.liferay.portal.model.UserTracker> findAll()
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
149 int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
153 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public void removeByCompanyId(long companyId)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public void removeByUserId(long userId)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public void removeBySessionId(java.lang.String sessionId)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public void removeAll()
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public int countByCompanyId(long companyId)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public int countByUserId(long userId)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public int countBySessionId(java.lang.String sessionId)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177 public int countAll()
178 throws com.liferay.portal.kernel.exception.SystemException;
179 }