com.liferay.portal.service
Interface UserGroupLocalService
public interface UserGroupLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.UserGroupLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
UserGroupLocalServiceFactory
,
UserGroupLocalServiceUtil
Method Summary |
void |
addGroupUserGroups(long groupId,
long[] userGroupIds)
|
UserGroup |
addUserGroup(long userId,
long companyId,
java.lang.String name,
java.lang.String description)
|
UserGroup |
addUserGroup(UserGroup userGroup)
|
void |
clearUserUserGroups(long userId)
|
void |
deleteUserGroup(long userGroupId)
|
void |
deleteUserGroup(UserGroup userGroup)
|
java.util.List<UserGroup> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<UserGroup> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
UserGroup |
getUserGroup(long userGroupId)
|
UserGroup |
getUserGroup(long companyId,
java.lang.String name)
|
java.util.List<UserGroup> |
getUserGroups(long companyId)
|
java.util.List<UserGroup> |
getUserUserGroups(long userId)
|
boolean |
hasGroupUserGroup(long groupId,
long userGroupId)
|
java.util.List<UserGroup> |
search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
|
void |
unsetGroupUserGroups(long groupId,
long[] userGroupIds)
|
UserGroup |
updateUserGroup(long companyId,
long userGroupId,
java.lang.String name,
java.lang.String description)
|
UserGroup |
updateUserGroup(UserGroup userGroup)
|
addUserGroup
UserGroup addUserGroup(UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserGroup
void deleteUserGroup(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUserGroup
void deleteUserGroup(UserGroup userGroup)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<UserGroup> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<UserGroup> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateUserGroup
UserGroup updateUserGroup(UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroupUserGroups
void addGroupUserGroups(long groupId,
long[] userGroupIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addUserGroup
UserGroup addUserGroup(long userId,
long companyId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
clearUserUserGroups
void clearUserUserGroups(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroup
UserGroup getUserGroup(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroup
UserGroup getUserGroup(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroups
java.util.List<UserGroup> getUserGroups(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserUserGroups
java.util.List<UserGroup> getUserUserGroups(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasGroupUserGroup
boolean hasGroupUserGroup(long groupId,
long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
search
java.util.List<UserGroup> search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
int searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetGroupUserGroups
void unsetGroupUserGroups(long groupId,
long[] userGroupIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateUserGroup
UserGroup updateUserGroup(long companyId,
long userGroupId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException