1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public class PasswordTrackerUtil {
32 public static com.liferay.portal.model.PasswordTracker create(
33 long passwordTrackerId) {
34 return getPersistence().create(passwordTrackerId);
35 }
36
37 public static com.liferay.portal.model.PasswordTracker remove(
38 long passwordTrackerId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portal.NoSuchPasswordTrackerException {
41 return getPersistence().remove(passwordTrackerId);
42 }
43
44 public static com.liferay.portal.model.PasswordTracker remove(
45 com.liferay.portal.model.PasswordTracker passwordTracker)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(passwordTracker);
48 }
49
50 public static com.liferay.portal.model.PasswordTracker update(
51 com.liferay.portal.model.PasswordTracker passwordTracker)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(passwordTracker);
54 }
55
56 public static com.liferay.portal.model.PasswordTracker update(
57 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
58 throws com.liferay.portal.SystemException {
59 return getPersistence().update(passwordTracker, merge);
60 }
61
62 public static com.liferay.portal.model.PasswordTracker updateImpl(
63 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
64 throws com.liferay.portal.SystemException {
65 return getPersistence().updateImpl(passwordTracker, merge);
66 }
67
68 public static com.liferay.portal.model.PasswordTracker findByPrimaryKey(
69 long passwordTrackerId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portal.NoSuchPasswordTrackerException {
72 return getPersistence().findByPrimaryKey(passwordTrackerId);
73 }
74
75 public static com.liferay.portal.model.PasswordTracker fetchByPrimaryKey(
76 long passwordTrackerId) throws com.liferay.portal.SystemException {
77 return getPersistence().fetchByPrimaryKey(passwordTrackerId);
78 }
79
80 public static java.util.List findByUserId(long userId)
81 throws com.liferay.portal.SystemException {
82 return getPersistence().findByUserId(userId);
83 }
84
85 public static java.util.List findByUserId(long userId, int begin, int end)
86 throws com.liferay.portal.SystemException {
87 return getPersistence().findByUserId(userId, begin, end);
88 }
89
90 public static 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 return getPersistence().findByUserId(userId, begin, end, obc);
94 }
95
96 public static com.liferay.portal.model.PasswordTracker findByUserId_First(
97 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.NoSuchPasswordTrackerException {
100 return getPersistence().findByUserId_First(userId, obc);
101 }
102
103 public static com.liferay.portal.model.PasswordTracker findByUserId_Last(
104 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.NoSuchPasswordTrackerException {
107 return getPersistence().findByUserId_Last(userId, obc);
108 }
109
110 public static com.liferay.portal.model.PasswordTracker[] findByUserId_PrevAndNext(
111 long passwordTrackerId, long userId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portal.NoSuchPasswordTrackerException {
115 return getPersistence().findByUserId_PrevAndNext(passwordTrackerId,
116 userId, obc);
117 }
118
119 public static java.util.List findWithDynamicQuery(
120 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
121 throws com.liferay.portal.SystemException {
122 return getPersistence().findWithDynamicQuery(queryInitializer);
123 }
124
125 public static java.util.List findWithDynamicQuery(
126 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
127 int begin, int end) throws com.liferay.portal.SystemException {
128 return getPersistence().findWithDynamicQuery(queryInitializer, begin,
129 end);
130 }
131
132 public static java.util.List findAll()
133 throws com.liferay.portal.SystemException {
134 return getPersistence().findAll();
135 }
136
137 public static java.util.List findAll(int begin, int end)
138 throws com.liferay.portal.SystemException {
139 return getPersistence().findAll(begin, end);
140 }
141
142 public static java.util.List findAll(int begin, int end,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException {
145 return getPersistence().findAll(begin, end, obc);
146 }
147
148 public static void removeByUserId(long userId)
149 throws com.liferay.portal.SystemException {
150 getPersistence().removeByUserId(userId);
151 }
152
153 public static void removeAll() throws com.liferay.portal.SystemException {
154 getPersistence().removeAll();
155 }
156
157 public static int countByUserId(long userId)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().countByUserId(userId);
160 }
161
162 public static int countAll() throws com.liferay.portal.SystemException {
163 return getPersistence().countAll();
164 }
165
166 public static PasswordTrackerPersistence getPersistence() {
167 return _getUtil()._persistence;
168 }
169
170 public void setPersistence(PasswordTrackerPersistence persistence) {
171 _persistence = persistence;
172 }
173
174 private static PasswordTrackerUtil _getUtil() {
175 if (_util == null) {
176 _util = (PasswordTrackerUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
177 }
178
179 return _util;
180 }
181
182 private static final String _UTIL = PasswordTrackerUtil.class.getName();
183 private static PasswordTrackerUtil _util;
184 private PasswordTrackerPersistence _persistence;
185 }