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