1
22
23 package com.liferay.portal.service;
24
25
26
42 public class GroupServiceWrapper implements GroupService {
43 public GroupServiceWrapper(GroupService groupService) {
44 _groupService = groupService;
45 }
46
47 public com.liferay.portal.model.Group addGroup(java.lang.String name,
48 java.lang.String description, int type, java.lang.String friendlyURL,
49 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
50 throws com.liferay.portal.PortalException,
51 com.liferay.portal.SystemException {
52 return _groupService.addGroup(name, description, type, friendlyURL,
53 active, serviceContext);
54 }
55
56 public com.liferay.portal.model.Group addGroup(long liveGroupId,
57 java.lang.String name, java.lang.String description, int type,
58 java.lang.String friendlyURL, boolean active,
59 com.liferay.portal.service.ServiceContext serviceContext)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 return _groupService.addGroup(liveGroupId, name, description, type,
63 friendlyURL, active, serviceContext);
64 }
65
66 public void addRoleGroups(long roleId, long[] groupIds)
67 throws com.liferay.portal.PortalException,
68 com.liferay.portal.SystemException {
69 _groupService.addRoleGroups(roleId, groupIds);
70 }
71
72 public void deleteGroup(long groupId)
73 throws com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException {
75 _groupService.deleteGroup(groupId);
76 }
77
78 public com.liferay.portal.model.Group getGroup(long groupId)
79 throws com.liferay.portal.PortalException,
80 com.liferay.portal.SystemException {
81 return _groupService.getGroup(groupId);
82 }
83
84 public com.liferay.portal.model.Group getGroup(long companyId,
85 java.lang.String name)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException {
88 return _groupService.getGroup(companyId, name);
89 }
90
91 public java.util.List<com.liferay.portal.model.Group> getManageableGroups(
92 java.lang.String actionId, int max)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException {
95 return _groupService.getManageableGroups(actionId, max);
96 }
97
98 public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
99 java.util.List<com.liferay.portal.model.Organization> organizations) {
100 return _groupService.getOrganizationsGroups(organizations);
101 }
102
103 public com.liferay.portal.model.Group getUserGroup(long companyId,
104 long userId)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException {
107 return _groupService.getUserGroup(companyId, userId);
108 }
109
110 public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
111 java.util.List<com.liferay.portal.model.UserGroup> userGroups) {
112 return _groupService.getUserGroupsGroups(userGroups);
113 }
114
115 public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
116 long userId, int start, int end)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException {
119 return _groupService.getUserOrganizationsGroups(userId, start, end);
120 }
121
122 public boolean hasUserGroup(long userId, long groupId)
123 throws com.liferay.portal.SystemException {
124 return _groupService.hasUserGroup(userId, groupId);
125 }
126
127 public java.util.List<com.liferay.portal.model.Group> search(
128 long companyId, java.lang.String name, java.lang.String description,
129 java.lang.String[] params, int start, int end)
130 throws com.liferay.portal.SystemException {
131 return _groupService.search(companyId, name, description, params,
132 start, end);
133 }
134
135 public int searchCount(long companyId, java.lang.String name,
136 java.lang.String description, java.lang.String[] params)
137 throws com.liferay.portal.SystemException {
138 return _groupService.searchCount(companyId, name, description, params);
139 }
140
141 public void setRoleGroups(long roleId, long[] groupIds)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 _groupService.setRoleGroups(roleId, groupIds);
145 }
146
147 public void unsetRoleGroups(long roleId, long[] groupIds)
148 throws com.liferay.portal.PortalException,
149 com.liferay.portal.SystemException {
150 _groupService.unsetRoleGroups(roleId, groupIds);
151 }
152
153 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
154 java.lang.String friendlyURL)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 return _groupService.updateFriendlyURL(groupId, friendlyURL);
158 }
159
160 public com.liferay.portal.model.Group updateGroup(long groupId,
161 java.lang.String name, java.lang.String description, int type,
162 java.lang.String friendlyURL, boolean active,
163 com.liferay.portal.service.ServiceContext serviceContext)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 return _groupService.updateGroup(groupId, name, description, type,
167 friendlyURL, active, serviceContext);
168 }
169
170 public com.liferay.portal.model.Group updateGroup(long groupId,
171 java.lang.String typeSettings)
172 throws com.liferay.portal.PortalException,
173 com.liferay.portal.SystemException {
174 return _groupService.updateGroup(groupId, typeSettings);
175 }
176
177 public com.liferay.portal.model.Group updateWorkflow(long groupId,
178 boolean workflowEnabled, int workflowStages,
179 java.lang.String workflowRoleNames)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException {
182 return _groupService.updateWorkflow(groupId, workflowEnabled,
183 workflowStages, workflowRoleNames);
184 }
185
186 public GroupService getWrappedGroupService() {
187 return _groupService;
188 }
189
190 private GroupService _groupService;
191 }