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