com.liferay.portal.service.impl
Class UserGroupLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.UserGroupLocalServiceBaseImpl
com.liferay.portal.service.impl.UserGroupLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.UserGroupLocalService
- public class UserGroupLocalServiceImpl
- extends UserGroupLocalServiceBaseImpl
View Source
- Author:
- Charles May
Method Summary |
void |
addGroupUserGroups(long groupId,
long[] userGroupIds)
|
com.liferay.portal.model.UserGroup |
addUserGroup(long userId,
long companyId,
java.lang.String name,
java.lang.String description)
|
void |
clearUserUserGroups(long userId)
|
void |
deleteUserGroup(long userGroupId)
|
com.liferay.portal.model.UserGroup |
getUserGroup(long userGroupId)
|
com.liferay.portal.model.UserGroup |
getUserGroup(long companyId,
java.lang.String name)
|
java.util.List |
getUserGroups(long companyId)
|
java.util.List |
getUserUserGroups(long userId)
|
boolean |
hasGroupUserGroup(long groupId,
long userGroupId)
|
java.util.List |
search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap params,
int begin,
int end)
|
int |
searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap params)
|
void |
unsetGroupUserGroups(long groupId,
long[] userGroupIds)
|
com.liferay.portal.model.UserGroup |
updateUserGroup(long companyId,
long userGroupId,
java.lang.String name,
java.lang.String description)
|
protected void |
validate(long userGroupId,
long companyId,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupLocalServiceImpl
public UserGroupLocalServiceImpl()
addGroupUserGroups
public void addGroupUserGroups(long groupId,
long[] userGroupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addUserGroup
public com.liferay.portal.model.UserGroup addUserGroup(long userId,
long companyId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
clearUserUserGroups
public void clearUserUserGroups(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteUserGroup
public void deleteUserGroup(long userGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroup
public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroup
public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroups
public java.util.List getUserGroups(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserUserGroups
public java.util.List getUserUserGroups(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasGroupUserGroup
public boolean hasGroupUserGroup(long groupId,
long userGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public java.util.List search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap params,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap params)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetGroupUserGroups
public void unsetGroupUserGroups(long groupId,
long[] userGroupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateUserGroup
public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
long userGroupId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long userGroupId,
long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException