1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.SystemException;
18 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20 import com.liferay.portal.kernel.util.ReferenceRegistry;
21 import com.liferay.portal.model.WebDAVProps;
22
23 import java.util.List;
24
25
38 public class WebDAVPropsUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static void clearCache(WebDAVProps webDAVProps) {
50 getPersistence().clearCache(webDAVProps);
51 }
52
53
56 public int countWithDynamicQuery(DynamicQuery dynamicQuery)
57 throws SystemException {
58 return getPersistence().countWithDynamicQuery(dynamicQuery);
59 }
60
61
64 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
65 throws SystemException {
66 return getPersistence().findWithDynamicQuery(dynamicQuery);
67 }
68
69
72 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
73 int start, int end) throws SystemException {
74 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
75 }
76
77
80 public static WebDAVProps remove(WebDAVProps webDAVProps)
81 throws SystemException {
82 return getPersistence().remove(webDAVProps);
83 }
84
85
88 public static WebDAVProps update(WebDAVProps webDAVProps, boolean merge)
89 throws SystemException {
90 return getPersistence().update(webDAVProps, merge);
91 }
92
93 public static void cacheResult(
94 com.liferay.portal.model.WebDAVProps webDAVProps) {
95 getPersistence().cacheResult(webDAVProps);
96 }
97
98 public static void cacheResult(
99 java.util.List<com.liferay.portal.model.WebDAVProps> webDAVPropses) {
100 getPersistence().cacheResult(webDAVPropses);
101 }
102
103 public static com.liferay.portal.model.WebDAVProps create(
104 long webDavPropsId) {
105 return getPersistence().create(webDavPropsId);
106 }
107
108 public static com.liferay.portal.model.WebDAVProps remove(
109 long webDavPropsId)
110 throws com.liferay.portal.NoSuchWebDAVPropsException,
111 com.liferay.portal.SystemException {
112 return getPersistence().remove(webDavPropsId);
113 }
114
115
118 public static com.liferay.portal.model.WebDAVProps update(
119 com.liferay.portal.model.WebDAVProps webDAVProps)
120 throws com.liferay.portal.SystemException {
121 return getPersistence().update(webDAVProps);
122 }
123
124 public static com.liferay.portal.model.WebDAVProps updateImpl(
125 com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
126 throws com.liferay.portal.SystemException {
127 return getPersistence().updateImpl(webDAVProps, merge);
128 }
129
130 public static com.liferay.portal.model.WebDAVProps findByPrimaryKey(
131 long webDavPropsId)
132 throws com.liferay.portal.NoSuchWebDAVPropsException,
133 com.liferay.portal.SystemException {
134 return getPersistence().findByPrimaryKey(webDavPropsId);
135 }
136
137 public static com.liferay.portal.model.WebDAVProps fetchByPrimaryKey(
138 long webDavPropsId) throws com.liferay.portal.SystemException {
139 return getPersistence().fetchByPrimaryKey(webDavPropsId);
140 }
141
142 public static com.liferay.portal.model.WebDAVProps findByC_C(
143 long classNameId, long classPK)
144 throws com.liferay.portal.NoSuchWebDAVPropsException,
145 com.liferay.portal.SystemException {
146 return getPersistence().findByC_C(classNameId, classPK);
147 }
148
149 public static com.liferay.portal.model.WebDAVProps fetchByC_C(
150 long classNameId, long classPK)
151 throws com.liferay.portal.SystemException {
152 return getPersistence().fetchByC_C(classNameId, classPK);
153 }
154
155 public static com.liferay.portal.model.WebDAVProps fetchByC_C(
156 long classNameId, long classPK, boolean retrieveFromCache)
157 throws com.liferay.portal.SystemException {
158 return getPersistence()
159 .fetchByC_C(classNameId, classPK, retrieveFromCache);
160 }
161
162 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll()
163 throws com.liferay.portal.SystemException {
164 return getPersistence().findAll();
165 }
166
167 public static java.util.List<com.liferay.portal.model.WebDAVProps> 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.WebDAVProps> findAll(
173 int start, int end,
174 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
175 throws com.liferay.portal.SystemException {
176 return getPersistence().findAll(start, end, orderByComparator);
177 }
178
179 public static void removeByC_C(long classNameId, long classPK)
180 throws com.liferay.portal.NoSuchWebDAVPropsException,
181 com.liferay.portal.SystemException {
182 getPersistence().removeByC_C(classNameId, classPK);
183 }
184
185 public static void removeAll() throws com.liferay.portal.SystemException {
186 getPersistence().removeAll();
187 }
188
189 public static int countByC_C(long classNameId, long classPK)
190 throws com.liferay.portal.SystemException {
191 return getPersistence().countByC_C(classNameId, classPK);
192 }
193
194 public static int countAll() throws com.liferay.portal.SystemException {
195 return getPersistence().countAll();
196 }
197
198 public static WebDAVPropsPersistence getPersistence() {
199 if (_persistence == null) {
200 _persistence = (WebDAVPropsPersistence)PortalBeanLocatorUtil.locate(WebDAVPropsPersistence.class.getName());
201
202 ReferenceRegistry.registerReference(WebDAVPropsUtil.class,
203 "_persistence");
204 }
205
206 return _persistence;
207 }
208
209 public void setPersistence(WebDAVPropsPersistence persistence) {
210 _persistence = persistence;
211
212 ReferenceRegistry.registerReference(WebDAVPropsUtil.class,
213 "_persistence");
214 }
215
216 private static WebDAVPropsPersistence _persistence;
217 }