1
14
15 package com.liferay.portal.service;
16
17
33 public class ResourceLocalServiceWrapper implements ResourceLocalService {
34 public ResourceLocalServiceWrapper(
35 ResourceLocalService resourceLocalService) {
36 _resourceLocalService = resourceLocalService;
37 }
38
39 public com.liferay.portal.model.Resource addResource(
40 com.liferay.portal.model.Resource resource)
41 throws com.liferay.portal.SystemException {
42 return _resourceLocalService.addResource(resource);
43 }
44
45 public com.liferay.portal.model.Resource createResource(long resourceId) {
46 return _resourceLocalService.createResource(resourceId);
47 }
48
49 public void deleteResource(long resourceId)
50 throws com.liferay.portal.PortalException,
51 com.liferay.portal.SystemException {
52 _resourceLocalService.deleteResource(resourceId);
53 }
54
55 public void deleteResource(com.liferay.portal.model.Resource resource)
56 throws com.liferay.portal.SystemException {
57 _resourceLocalService.deleteResource(resource);
58 }
59
60 @SuppressWarnings("rawtypes")
61 public java.util.List dynamicQuery(
62 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63 throws com.liferay.portal.SystemException {
64 return _resourceLocalService.dynamicQuery(dynamicQuery);
65 }
66
67 @SuppressWarnings("rawtypes")
68 public java.util.List dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException {
71 return _resourceLocalService.dynamicQuery(dynamicQuery, start, end);
72 }
73
74 @SuppressWarnings("rawtypes")
75 public java.util.List 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.SystemException {
80 return _resourceLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.SystemException {
87 return _resourceLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portal.model.Resource getResource(long resourceId)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException {
93 return _resourceLocalService.getResource(resourceId);
94 }
95
96 public java.util.List<com.liferay.portal.model.Resource> getResources(
97 int start, int end) throws com.liferay.portal.SystemException {
98 return _resourceLocalService.getResources(start, end);
99 }
100
101 public int getResourcesCount() throws com.liferay.portal.SystemException {
102 return _resourceLocalService.getResourcesCount();
103 }
104
105 public com.liferay.portal.model.Resource updateResource(
106 com.liferay.portal.model.Resource resource)
107 throws com.liferay.portal.SystemException {
108 return _resourceLocalService.updateResource(resource);
109 }
110
111 public com.liferay.portal.model.Resource updateResource(
112 com.liferay.portal.model.Resource resource, boolean merge)
113 throws com.liferay.portal.SystemException {
114 return _resourceLocalService.updateResource(resource, merge);
115 }
116
117 public void addModelResources(long companyId, long groupId, long userId,
118 java.lang.String name, long primKey,
119 java.lang.String[] communityPermissions,
120 java.lang.String[] guestPermissions)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 _resourceLocalService.addModelResources(companyId, groupId, userId,
124 name, primKey, communityPermissions, guestPermissions);
125 }
126
127 public void addModelResources(long companyId, long groupId, long userId,
128 java.lang.String name, java.lang.String primKey,
129 java.lang.String[] communityPermissions,
130 java.lang.String[] guestPermissions)
131 throws com.liferay.portal.PortalException,
132 com.liferay.portal.SystemException {
133 _resourceLocalService.addModelResources(companyId, groupId, userId,
134 name, primKey, communityPermissions, guestPermissions);
135 }
136
137 public com.liferay.portal.model.Resource addResource(long companyId,
138 java.lang.String name, int scope, java.lang.String primKey)
139 throws com.liferay.portal.SystemException {
140 return _resourceLocalService.addResource(companyId, name, scope, primKey);
141 }
142
143 public void addResources(long companyId, long groupId,
144 java.lang.String name, boolean portletActions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 _resourceLocalService.addResources(companyId, groupId, name,
148 portletActions);
149 }
150
151 public void addResources(long companyId, long groupId, long userId,
152 java.lang.String name, long primKey, boolean portletActions,
153 boolean addCommunityPermissions, boolean addGuestPermissions)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 _resourceLocalService.addResources(companyId, groupId, userId, name,
157 primKey, portletActions, addCommunityPermissions,
158 addGuestPermissions);
159 }
160
161 public void addResources(long companyId, long groupId, long userId,
162 java.lang.String name, java.lang.String primKey,
163 boolean portletActions, boolean addCommunityPermissions,
164 boolean addGuestPermissions)
165 throws com.liferay.portal.PortalException,
166 com.liferay.portal.SystemException {
167 _resourceLocalService.addResources(companyId, groupId, userId, name,
168 primKey, portletActions, addCommunityPermissions,
169 addGuestPermissions);
170 }
171
172 public void deleteResource(long companyId, java.lang.String name,
173 int scope, long primKey)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException {
176 _resourceLocalService.deleteResource(companyId, name, scope, primKey);
177 }
178
179 public void deleteResource(long companyId, java.lang.String name,
180 int scope, java.lang.String primKey)
181 throws com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException {
183 _resourceLocalService.deleteResource(companyId, name, scope, primKey);
184 }
185
186 public void deleteResources(java.lang.String name)
187 throws com.liferay.portal.SystemException {
188 _resourceLocalService.deleteResources(name);
189 }
190
191 public long getLatestResourceId() throws com.liferay.portal.SystemException {
192 return _resourceLocalService.getLatestResourceId();
193 }
194
195 public com.liferay.portal.model.Resource getResource(long companyId,
196 java.lang.String name, int scope, java.lang.String primKey)
197 throws com.liferay.portal.PortalException,
198 com.liferay.portal.SystemException {
199 return _resourceLocalService.getResource(companyId, name, scope, primKey);
200 }
201
202 public java.util.List<com.liferay.portal.model.Resource> getResources()
203 throws com.liferay.portal.SystemException {
204 return _resourceLocalService.getResources();
205 }
206
207 public void updateResources(long companyId, long groupId,
208 java.lang.String name, long primKey,
209 java.lang.String[] communityPermissions,
210 java.lang.String[] guestPermissions)
211 throws com.liferay.portal.PortalException,
212 com.liferay.portal.SystemException {
213 _resourceLocalService.updateResources(companyId, groupId, name,
214 primKey, communityPermissions, guestPermissions);
215 }
216
217 public void updateResources(long companyId, long groupId,
218 java.lang.String name, java.lang.String primKey,
219 java.lang.String[] communityPermissions,
220 java.lang.String[] guestPermissions)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException {
223 _resourceLocalService.updateResources(companyId, groupId, name,
224 primKey, communityPermissions, guestPermissions);
225 }
226
227 public ResourceLocalService getWrappedResourceLocalService() {
228 return _resourceLocalService;
229 }
230
231 private ResourceLocalService _resourceLocalService;
232 }