1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public class PasswordPolicyRelUtil {
40 public static void cacheResult(
41 com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel) {
42 getPersistence().cacheResult(passwordPolicyRel);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portal.model.PasswordPolicyRel> passwordPolicyRels) {
47 getPersistence().cacheResult(passwordPolicyRels);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portal.model.PasswordPolicyRel create(
55 long passwordPolicyRelId) {
56 return getPersistence().create(passwordPolicyRelId);
57 }
58
59 public static com.liferay.portal.model.PasswordPolicyRel remove(
60 long passwordPolicyRelId)
61 throws com.liferay.portal.NoSuchPasswordPolicyRelException,
62 com.liferay.portal.SystemException {
63 return getPersistence().remove(passwordPolicyRelId);
64 }
65
66 public static com.liferay.portal.model.PasswordPolicyRel remove(
67 com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(passwordPolicyRel);
70 }
71
72
75 public static com.liferay.portal.model.PasswordPolicyRel update(
76 com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(passwordPolicyRel);
79 }
80
81
93 public static com.liferay.portal.model.PasswordPolicyRel update(
94 com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel,
95 boolean merge) throws com.liferay.portal.SystemException {
96 return getPersistence().update(passwordPolicyRel, merge);
97 }
98
99 public static com.liferay.portal.model.PasswordPolicyRel updateImpl(
100 com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(passwordPolicyRel, merge);
103 }
104
105 public static com.liferay.portal.model.PasswordPolicyRel findByPrimaryKey(
106 long passwordPolicyRelId)
107 throws com.liferay.portal.NoSuchPasswordPolicyRelException,
108 com.liferay.portal.SystemException {
109 return getPersistence().findByPrimaryKey(passwordPolicyRelId);
110 }
111
112 public static com.liferay.portal.model.PasswordPolicyRel fetchByPrimaryKey(
113 long passwordPolicyRelId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(passwordPolicyRelId);
115 }
116
117 public static com.liferay.portal.model.PasswordPolicyRel findByC_C(
118 long classNameId, long classPK)
119 throws com.liferay.portal.NoSuchPasswordPolicyRelException,
120 com.liferay.portal.SystemException {
121 return getPersistence().findByC_C(classNameId, classPK);
122 }
123
124 public static com.liferay.portal.model.PasswordPolicyRel fetchByC_C(
125 long classNameId, long classPK)
126 throws com.liferay.portal.SystemException {
127 return getPersistence().fetchByC_C(classNameId, classPK);
128 }
129
130 public static com.liferay.portal.model.PasswordPolicyRel fetchByC_C(
131 long classNameId, long classPK, boolean retrieveFromCache)
132 throws com.liferay.portal.SystemException {
133 return getPersistence()
134 .fetchByC_C(classNameId, classPK, retrieveFromCache);
135 }
136
137 public static com.liferay.portal.model.PasswordPolicyRel findByP_C_C(
138 long passwordPolicyId, long classNameId, long classPK)
139 throws com.liferay.portal.NoSuchPasswordPolicyRelException,
140 com.liferay.portal.SystemException {
141 return getPersistence()
142 .findByP_C_C(passwordPolicyId, classNameId, classPK);
143 }
144
145 public static com.liferay.portal.model.PasswordPolicyRel fetchByP_C_C(
146 long passwordPolicyId, long classNameId, long classPK)
147 throws com.liferay.portal.SystemException {
148 return getPersistence()
149 .fetchByP_C_C(passwordPolicyId, classNameId, classPK);
150 }
151
152 public static com.liferay.portal.model.PasswordPolicyRel fetchByP_C_C(
153 long passwordPolicyId, long classNameId, long classPK,
154 boolean retrieveFromCache) throws com.liferay.portal.SystemException {
155 return getPersistence()
156 .fetchByP_C_C(passwordPolicyId, classNameId, classPK,
157 retrieveFromCache);
158 }
159
160 public static java.util.List<Object> findWithDynamicQuery(
161 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
162 throws com.liferay.portal.SystemException {
163 return getPersistence().findWithDynamicQuery(dynamicQuery);
164 }
165
166 public static java.util.List<Object> findWithDynamicQuery(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
168 int end) throws com.liferay.portal.SystemException {
169 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
170 }
171
172 public static java.util.List<com.liferay.portal.model.PasswordPolicyRel> findAll()
173 throws com.liferay.portal.SystemException {
174 return getPersistence().findAll();
175 }
176
177 public static java.util.List<com.liferay.portal.model.PasswordPolicyRel> findAll(
178 int start, int end) throws com.liferay.portal.SystemException {
179 return getPersistence().findAll(start, end);
180 }
181
182 public static java.util.List<com.liferay.portal.model.PasswordPolicyRel> findAll(
183 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
184 throws com.liferay.portal.SystemException {
185 return getPersistence().findAll(start, end, obc);
186 }
187
188 public static void removeByC_C(long classNameId, long classPK)
189 throws com.liferay.portal.NoSuchPasswordPolicyRelException,
190 com.liferay.portal.SystemException {
191 getPersistence().removeByC_C(classNameId, classPK);
192 }
193
194 public static void removeByP_C_C(long passwordPolicyId, long classNameId,
195 long classPK)
196 throws com.liferay.portal.NoSuchPasswordPolicyRelException,
197 com.liferay.portal.SystemException {
198 getPersistence().removeByP_C_C(passwordPolicyId, classNameId, classPK);
199 }
200
201 public static void removeAll() throws com.liferay.portal.SystemException {
202 getPersistence().removeAll();
203 }
204
205 public static int countByC_C(long classNameId, long classPK)
206 throws com.liferay.portal.SystemException {
207 return getPersistence().countByC_C(classNameId, classPK);
208 }
209
210 public static int countByP_C_C(long passwordPolicyId, long classNameId,
211 long classPK) throws com.liferay.portal.SystemException {
212 return getPersistence()
213 .countByP_C_C(passwordPolicyId, classNameId, classPK);
214 }
215
216 public static int countAll() throws com.liferay.portal.SystemException {
217 return getPersistence().countAll();
218 }
219
220 public static PasswordPolicyRelPersistence getPersistence() {
221 return _persistence;
222 }
223
224 public void setPersistence(PasswordPolicyRelPersistence persistence) {
225 _persistence = persistence;
226 }
227
228 private static PasswordPolicyRelPersistence _persistence;
229 }