1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19 import com.liferay.portal.kernel.exception.SystemException;
20 import com.liferay.portal.model.WebDAVProps;
21
22 import java.util.List;
23
24
37 public class WebDAVPropsUtil {
38
41 public static void clearCache() {
42 getPersistence().clearCache();
43 }
44
45
48 public static void clearCache(WebDAVProps webDAVProps) {
49 getPersistence().clearCache(webDAVProps);
50 }
51
52
55 public long countWithDynamicQuery(DynamicQuery dynamicQuery)
56 throws SystemException {
57 return getPersistence().countWithDynamicQuery(dynamicQuery);
58 }
59
60
63 public static List<WebDAVProps> findWithDynamicQuery(
64 DynamicQuery dynamicQuery) throws SystemException {
65 return getPersistence().findWithDynamicQuery(dynamicQuery);
66 }
67
68
71 public static List<WebDAVProps> findWithDynamicQuery(
72 DynamicQuery dynamicQuery, int start, int end)
73 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.kernel.exception.SystemException {
112 return getPersistence().remove(webDavPropsId);
113 }
114
115 public static com.liferay.portal.model.WebDAVProps updateImpl(
116 com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return getPersistence().updateImpl(webDAVProps, merge);
119 }
120
121 public static com.liferay.portal.model.WebDAVProps findByPrimaryKey(
122 long webDavPropsId)
123 throws com.liferay.portal.NoSuchWebDAVPropsException,
124 com.liferay.portal.kernel.exception.SystemException {
125 return getPersistence().findByPrimaryKey(webDavPropsId);
126 }
127
128 public static com.liferay.portal.model.WebDAVProps fetchByPrimaryKey(
129 long webDavPropsId)
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return getPersistence().fetchByPrimaryKey(webDavPropsId);
132 }
133
134 public static com.liferay.portal.model.WebDAVProps findByC_C(
135 long classNameId, long classPK)
136 throws com.liferay.portal.NoSuchWebDAVPropsException,
137 com.liferay.portal.kernel.exception.SystemException {
138 return getPersistence().findByC_C(classNameId, classPK);
139 }
140
141 public static com.liferay.portal.model.WebDAVProps fetchByC_C(
142 long classNameId, long classPK)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return getPersistence().fetchByC_C(classNameId, classPK);
145 }
146
147 public static com.liferay.portal.model.WebDAVProps fetchByC_C(
148 long classNameId, long classPK, boolean retrieveFromCache)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getPersistence()
151 .fetchByC_C(classNameId, classPK, retrieveFromCache);
152 }
153
154 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll()
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return getPersistence().findAll();
157 }
158
159 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
160 int start, int end)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return getPersistence().findAll(start, end);
163 }
164
165 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
166 int start, int end,
167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return getPersistence().findAll(start, end, orderByComparator);
170 }
171
172 public static void removeByC_C(long classNameId, long classPK)
173 throws com.liferay.portal.NoSuchWebDAVPropsException,
174 com.liferay.portal.kernel.exception.SystemException {
175 getPersistence().removeByC_C(classNameId, classPK);
176 }
177
178 public static void removeAll()
179 throws com.liferay.portal.kernel.exception.SystemException {
180 getPersistence().removeAll();
181 }
182
183 public static int countByC_C(long classNameId, long classPK)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return getPersistence().countByC_C(classNameId, classPK);
186 }
187
188 public static int countAll()
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return getPersistence().countAll();
191 }
192
193 public static WebDAVPropsPersistence getPersistence() {
194 if (_persistence == null) {
195 _persistence = (WebDAVPropsPersistence)PortalBeanLocatorUtil.locate(WebDAVPropsPersistence.class.getName());
196 }
197
198 return _persistence;
199 }
200
201 public void setPersistence(WebDAVPropsPersistence persistence) {
202 _persistence = persistence;
203 }
204
205 private static WebDAVPropsPersistence _persistence;
206 }