1
22
23 package com.liferay.portal.service;
24
25
51 public interface UserGroupLocalService {
52 public com.liferay.portal.model.UserGroup addUserGroup(
53 com.liferay.portal.model.UserGroup model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portal.model.UserGroup updateUserGroup(
65 com.liferay.portal.model.UserGroup model)
66 throws com.liferay.portal.SystemException;
67
68 public void addGroupUserGroups(long groupId, long[] userGroupIds)
69 throws com.liferay.portal.SystemException,
70 com.liferay.portal.PortalException;
71
72 public com.liferay.portal.model.UserGroup addUserGroup(long userId,
73 long companyId, java.lang.String name, java.lang.String description)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public void clearUserUserGroups(long userId)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portal.PortalException;
80
81 public void deleteUserGroup(long userGroupId)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portal.PortalException;
88
89 public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
90 java.lang.String name)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portal.PortalException;
93
94 public java.util.List getUserGroups(long companyId)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portal.PortalException;
97
98 public java.util.List getUserUserGroups(long userId)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portal.PortalException;
101
102 public boolean hasGroupUserGroup(long groupId, long userGroupId)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portal.PortalException;
105
106 public java.util.List search(long companyId, java.lang.String name,
107 java.lang.String description, java.util.LinkedHashMap params,
108 int begin, int end) throws com.liferay.portal.SystemException;
109
110 public int searchCount(long companyId, java.lang.String name,
111 java.lang.String description, java.util.LinkedHashMap params)
112 throws com.liferay.portal.SystemException;
113
114 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portal.PortalException;
117
118 public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
119 long userGroupId, java.lang.String name, java.lang.String description)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portal.PortalException;
122 }