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.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 List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
49 throws SystemException {
50 return getPersistence().findWithDynamicQuery(dynamicQuery);
51 }
52
53
56 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
57 int start, int end) throws SystemException {
58 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
59 }
60
61
64 public static WebDAVProps remove(WebDAVProps webDAVProps)
65 throws SystemException {
66 return getPersistence().remove(webDAVProps);
67 }
68
69
72 public static WebDAVProps update(WebDAVProps webDAVProps, boolean merge)
73 throws SystemException {
74 return getPersistence().update(webDAVProps, merge);
75 }
76
77 public static void cacheResult(
78 com.liferay.portal.model.WebDAVProps webDAVProps) {
79 getPersistence().cacheResult(webDAVProps);
80 }
81
82 public static void cacheResult(
83 java.util.List<com.liferay.portal.model.WebDAVProps> webDAVPropses) {
84 getPersistence().cacheResult(webDAVPropses);
85 }
86
87 public static com.liferay.portal.model.WebDAVProps create(
88 long webDavPropsId) {
89 return getPersistence().create(webDavPropsId);
90 }
91
92 public static com.liferay.portal.model.WebDAVProps remove(
93 long webDavPropsId)
94 throws com.liferay.portal.NoSuchWebDAVPropsException,
95 com.liferay.portal.SystemException {
96 return getPersistence().remove(webDavPropsId);
97 }
98
99
102 public static com.liferay.portal.model.WebDAVProps update(
103 com.liferay.portal.model.WebDAVProps webDAVProps)
104 throws com.liferay.portal.SystemException {
105 return getPersistence().update(webDAVProps);
106 }
107
108 public static com.liferay.portal.model.WebDAVProps updateImpl(
109 com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().updateImpl(webDAVProps, merge);
112 }
113
114 public static com.liferay.portal.model.WebDAVProps findByPrimaryKey(
115 long webDavPropsId)
116 throws com.liferay.portal.NoSuchWebDAVPropsException,
117 com.liferay.portal.SystemException {
118 return getPersistence().findByPrimaryKey(webDavPropsId);
119 }
120
121 public static com.liferay.portal.model.WebDAVProps fetchByPrimaryKey(
122 long webDavPropsId) throws com.liferay.portal.SystemException {
123 return getPersistence().fetchByPrimaryKey(webDavPropsId);
124 }
125
126 public static com.liferay.portal.model.WebDAVProps findByC_C(
127 long classNameId, long classPK)
128 throws com.liferay.portal.NoSuchWebDAVPropsException,
129 com.liferay.portal.SystemException {
130 return getPersistence().findByC_C(classNameId, classPK);
131 }
132
133 public static com.liferay.portal.model.WebDAVProps fetchByC_C(
134 long classNameId, long classPK)
135 throws com.liferay.portal.SystemException {
136 return getPersistence().fetchByC_C(classNameId, classPK);
137 }
138
139 public static com.liferay.portal.model.WebDAVProps fetchByC_C(
140 long classNameId, long classPK, boolean retrieveFromCache)
141 throws com.liferay.portal.SystemException {
142 return getPersistence()
143 .fetchByC_C(classNameId, classPK, retrieveFromCache);
144 }
145
146 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll()
147 throws com.liferay.portal.SystemException {
148 return getPersistence().findAll();
149 }
150
151 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
152 int start, int end) throws com.liferay.portal.SystemException {
153 return getPersistence().findAll(start, end);
154 }
155
156 public static java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
157 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findAll(start, end, obc);
160 }
161
162 public static void removeByC_C(long classNameId, long classPK)
163 throws com.liferay.portal.NoSuchWebDAVPropsException,
164 com.liferay.portal.SystemException {
165 getPersistence().removeByC_C(classNameId, classPK);
166 }
167
168 public static void removeAll() throws com.liferay.portal.SystemException {
169 getPersistence().removeAll();
170 }
171
172 public static int countByC_C(long classNameId, long classPK)
173 throws com.liferay.portal.SystemException {
174 return getPersistence().countByC_C(classNameId, classPK);
175 }
176
177 public static int countAll() throws com.liferay.portal.SystemException {
178 return getPersistence().countAll();
179 }
180
181 public static WebDAVPropsPersistence getPersistence() {
182 if (_persistence == null) {
183 _persistence = (WebDAVPropsPersistence)PortalBeanLocatorUtil.locate(WebDAVPropsPersistence.class.getName());
184 }
185
186 return _persistence;
187 }
188
189 public void setPersistence(WebDAVPropsPersistence persistence) {
190 _persistence = persistence;
191 }
192
193 private static WebDAVPropsPersistence _persistence;
194 }