1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class WebDAVPropsLocalServiceUtil {
40 public static com.liferay.portal.model.WebDAVProps addWebDAVProps(
41 com.liferay.portal.model.WebDAVProps webDAVProps)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return getService().addWebDAVProps(webDAVProps);
44 }
45
46 public static com.liferay.portal.model.WebDAVProps createWebDAVProps(
47 long webDavPropsId) {
48 return getService().createWebDAVProps(webDavPropsId);
49 }
50
51 public static void deleteWebDAVProps(long webDavPropsId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 getService().deleteWebDAVProps(webDavPropsId);
55 }
56
57 public static void deleteWebDAVProps(
58 com.liferay.portal.model.WebDAVProps webDAVProps)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 getService().deleteWebDAVProps(webDAVProps);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return getService()
81 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
82 }
83
84 public static int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return getService().dynamicQueryCount(dynamicQuery);
88 }
89
90 public static com.liferay.portal.model.WebDAVProps getWebDAVProps(
91 long webDavPropsId)
92 throws com.liferay.portal.kernel.exception.PortalException,
93 com.liferay.portal.kernel.exception.SystemException {
94 return getService().getWebDAVProps(webDavPropsId);
95 }
96
97 public static java.util.List<com.liferay.portal.model.WebDAVProps> getWebDAVPropses(
98 int start, int end)
99 throws com.liferay.portal.kernel.exception.SystemException {
100 return getService().getWebDAVPropses(start, end);
101 }
102
103 public static int getWebDAVPropsesCount()
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return getService().getWebDAVPropsesCount();
106 }
107
108 public static com.liferay.portal.model.WebDAVProps updateWebDAVProps(
109 com.liferay.portal.model.WebDAVProps webDAVProps)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return getService().updateWebDAVProps(webDAVProps);
112 }
113
114 public static com.liferay.portal.model.WebDAVProps updateWebDAVProps(
115 com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return getService().updateWebDAVProps(webDAVProps, merge);
118 }
119
120 public static void deleteWebDAVProps(java.lang.String className,
121 long classPK)
122 throws com.liferay.portal.kernel.exception.SystemException {
123 getService().deleteWebDAVProps(className, classPK);
124 }
125
126 public static com.liferay.portal.model.WebDAVProps getWebDAVProps(
127 long companyId, java.lang.String className, long classPK)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return getService().getWebDAVProps(companyId, className, classPK);
130 }
131
132 public static void storeWebDAVProps(
133 com.liferay.portal.model.WebDAVProps webDavProps)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 getService().storeWebDAVProps(webDavProps);
137 }
138
139 public static WebDAVPropsLocalService getService() {
140 if (_service == null) {
141 _service = (WebDAVPropsLocalService)PortalBeanLocatorUtil.locate(WebDAVPropsLocalService.class.getName());
142 }
143
144 return _service;
145 }
146
147 public void setService(WebDAVPropsLocalService service) {
148 _service = service;
149 }
150
151 private static WebDAVPropsLocalService _service;
152 }