com.liferay.portal.service
Interface UserGroupLocalService
- All Known Implementing Classes:
- UserGroupLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
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:
UserGroupLocalServiceUtil
- Generated:
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 |
copyUserGroupLayouts(long[] userGroupIds,
long userId)
|
void |
copyUserGroupLayouts(long userGroupId,
long userId)
|
void |
copyUserGroupLayouts(long userGroupId,
long[] userIds)
|
UserGroup |
createUserGroup(long userGroupId)
|
void |
deleteUserGroup(long userGroupId)
|
void |
deleteUserGroup(UserGroup userGroup)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
UserGroup |
getUserGroup(long userGroupId)
|
UserGroup |
getUserGroup(long companyId,
java.lang.String name)
|
java.util.List<UserGroup> |
getUserGroups(int start,
int end)
|
java.util.List<UserGroup> |
getUserGroups(long companyId)
|
java.util.List<UserGroup> |
getUserGroups(long[] userGroupIds)
|
int |
getUserGroupsCount()
|
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 start,
int end,
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 |
setUserUserGroups(long userId,
long[] userGroupIds)
|
void |
unsetGroupUserGroups(long groupId,
long[] userGroupIds)
|
UserGroup |
updateUserGroup(long companyId,
long userGroupId,
java.lang.String name,
java.lang.String description)
|
UserGroup |
updateUserGroup(UserGroup userGroup)
|
UserGroup |
updateUserGroup(UserGroup userGroup,
boolean merge)
|
addUserGroup
UserGroup addUserGroup(UserGroup userGroup)
throws SystemException
- Throws:
SystemException
createUserGroup
UserGroup createUserGroup(long userGroupId)
deleteUserGroup
void deleteUserGroup(long userGroupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserGroup
void deleteUserGroup(UserGroup userGroup)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getUserGroup
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserGroup getUserGroup(long userGroupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroups
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroup> getUserGroups(int start,
int end)
throws SystemException
- Throws:
SystemException
getUserGroupsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getUserGroupsCount()
throws SystemException
- Throws:
SystemException
updateUserGroup
UserGroup updateUserGroup(UserGroup userGroup)
throws SystemException
- Throws:
SystemException
updateUserGroup
UserGroup updateUserGroup(UserGroup userGroup,
boolean merge)
throws SystemException
- Throws:
SystemException
addGroupUserGroups
void addGroupUserGroups(long groupId,
long[] userGroupIds)
throws SystemException
- Throws:
SystemException
addUserGroup
UserGroup addUserGroup(long userId,
long companyId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
clearUserUserGroups
void clearUserUserGroups(long userId)
throws SystemException
- Throws:
SystemException
copyUserGroupLayouts
void copyUserGroupLayouts(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyUserGroupLayouts
void copyUserGroupLayouts(long[] userGroupIds,
long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyUserGroupLayouts
void copyUserGroupLayouts(long userGroupId,
long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroup
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserGroup getUserGroup(long companyId,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroups
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroup> getUserGroups(long companyId)
throws SystemException
- Throws:
SystemException
getUserGroups
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroup> getUserGroups(long[] userGroupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserUserGroups
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserGroup> getUserUserGroups(long userId)
throws SystemException
- Throws:
SystemException
hasGroupUserGroup
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasGroupUserGroup(long groupId,
long userGroupId)
throws SystemException
- Throws:
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
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 start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws SystemException
- Throws:
SystemException
setUserUserGroups
void setUserUserGroups(long userId,
long[] userGroupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsetGroupUserGroups
void unsetGroupUserGroups(long groupId,
long[] userGroupIds)
throws SystemException
- Throws:
SystemException
updateUserGroup
UserGroup updateUserGroup(long companyId,
long userGroupId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException