1
22
23 package com.liferay.portal.service.persistence;
24
25 import com.liferay.portal.SystemException;
26 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
27 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
28 import com.liferay.portal.model.WebDAVProps;
29
30 import java.util.List;
31
32
45 public class WebDAVPropsUtil {
46
49 public static void clearCache() {
50 getPersistence().clearCache();
51 }
52
53
56 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
57 throws SystemException {
58 return getPersistence().findWithDynamicQuery(dynamicQuery);
59 }
60
61
64 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
65 int start, int end) throws SystemException {
66 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
67 }
68
69
72 public static WebDAVProps remove(WebDAVProps webDAVProps)
73 throws SystemException {
74 return getPersistence().remove(webDAVProps);
75 }
76
77
80 public static WebDAVProps update(WebDAVProps webDAVProps, boolean merge)
81 throws SystemException {
82 return getPersistence().update(webDAVProps, merge);
83 }
84
85 public static void cacheResult(
86 com.liferay.portal.model.WebDAVProps webDAVProps) {
87 getPersistence().cacheResult(webDAVProps);
88 }
89
90 public static void cacheResult(
91 java.util.List<com.liferay.portal.model.WebDAVProps> webDAVPropses) {
92 getPersistence().cacheResult(webDAVPropses);
93 }
94
95 public static com.liferay.portal.model.WebDAVProps create(
96 long webDavPropsId) {
97 return getPersistence().create(webDavPropsId);
98 }
99
100 public static com.liferay.portal.model.WebDAVProps remove(
101 long webDavPropsId)
102 throws com.liferay.portal.NoSuchWebDAVPropsException,
103 com.liferay.portal.SystemException {
104 return getPersistence().remove(webDavPropsId);
105 }
106
107
110 public static com.liferay.portal.model.WebDAVProps update(
111 com.liferay.portal.model.WebDAVProps webDAVProps)
112 throws com.liferay.portal.SystemException {
113 return getPersistence().update(webDAVProps);
114 }
115
116 public static com.liferay.portal.model.WebDAVProps updateImpl(
117 com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
118 throws com.liferay.portal.SystemException {
119 return getPersistence().updateImpl(webDAVProps, merge);
120 }
121
122 public static com.liferay.portal.model.WebDAVProps findByPrimaryKey(
123 long webDavPropsId)
124 throws com.liferay.portal.NoSuchWebDAVPropsException,
125 com.liferay.portal.SystemException {
126 return getPersistence().findByPrimaryKey(webDavPropsId);
127 }
128
129 public static com.liferay.portal.model.WebDAVProps fetchByPrimaryKey(
130 long webDavPropsId) throws com.liferay.portal.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.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.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.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.SystemException {
156 return getPersistence().findAll();
157 }
158
159 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
160 int start, int end) throws com.liferay.portal.SystemException {
161 return getPersistence().findAll(start, end);
162 }
163
164 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
165 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException {
167 return getPersistence().findAll(start, end, obc);
168 }
169
170 public static void removeByC_C(long classNameId, long classPK)
171 throws com.liferay.portal.NoSuchWebDAVPropsException,
172 com.liferay.portal.SystemException {
173 getPersistence().removeByC_C(classNameId, classPK);
174 }
175
176 public static void removeAll() throws com.liferay.portal.SystemException {
177 getPersistence().removeAll();
178 }
179
180 public static int countByC_C(long classNameId, long classPK)
181 throws com.liferay.portal.SystemException {
182 return getPersistence().countByC_C(classNameId, classPK);
183 }
184
185 public static int countAll() throws com.liferay.portal.SystemException {
186 return getPersistence().countAll();
187 }
188
189 public static WebDAVPropsPersistence getPersistence() {
190 if (_persistence == null) {
191 _persistence = (WebDAVPropsPersistence)PortalBeanLocatorUtil.locate(WebDAVPropsPersistence.class.getName());
192 }
193
194 return _persistence;
195 }
196
197 public void setPersistence(WebDAVPropsPersistence persistence) {
198 _persistence = persistence;
199 }
200
201 private static WebDAVPropsPersistence _persistence;
202 }