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