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