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