Package com.soffid.iam.iga.service.ejb
Interface GroupService
public interface GroupService
EJB GroupService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupToUser(String codiUsuari, String codiGrup) voidvoidfindGroupByGroupName(String codi) findGroupByGroupNameAndDate(String codi, Date date) findGroupById(Long grupId) findGroupMembers(String codiGrup) com.soffid.zkdb.api.PagedResult<Group>findGroups(com.soffid.zkdb.api.Query q) com.soffid.zkdb.api.PagedResult<UserGroup>findGroupUserByJsonQuery(String query, Integer startIndex, Integer count) findSubgroupsByGroupNameAndDate(String codi, Date date) com.soffid.zkdb.api.PagedResult<UserGroup>findUserGroup(com.soffid.zkdb.api.Query query) findUserGroupHistoryByUserName(String userName) com.soffid.zkdb.api.PagedResult<UserGroup>findUsersBelongtoGroupByGroupName(String codiGrup, Date date, Integer start, Integer pageSize) findUsersGroupByUserName(String codiUsuari) findUsersRolesDomainTypeAndUserGroups(String codiGrup) getParentList(String codiGrup) getRolesFromGroup(Group grup) getSuperGroup(String codiGrup) voidremoveGroupFormUser(String codiUsuari, String codiGrup) voidsynchronize(String groupName)
-
Method Details
-
findGroupMembers
- Throws:
InternalErrorException
-
create
-
findGroupByGroupNameAndDate
Group findGroupByGroupNameAndDate(String codi, Date date) throws InternalErrorException, InternalErrorException -
findGroupByGroupName
-
findGroupById
-
getSuperGroup
-
update
-
create
-
update
-
findGroupUserByJsonQuery
com.soffid.zkdb.api.PagedResult<UserGroup> findGroupUserByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException -
findGroups
com.soffid.zkdb.api.PagedResult<Group> findGroups(com.soffid.zkdb.api.Query q) throws InternalErrorException - Throws:
InternalErrorException
-
findUserGroup
com.soffid.zkdb.api.PagedResult<UserGroup> findUserGroup(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException -
findUsersBelongtoGroupByGroupName
com.soffid.zkdb.api.PagedResult<UserGroup> findUsersBelongtoGroupByGroupName(String codiGrup, Date date, Integer start, Integer pageSize) throws InternalErrorException, InternalErrorException -
findUsersRolesDomainTypeAndUserGroups
Collection<RoleAccount> findUsersRolesDomainTypeAndUserGroups(String codiGrup) throws InternalErrorException, InternalErrorException -
findSubgroupsByGroupName
Collection<Group> findSubgroupsByGroupName(String codi) throws InternalErrorException, InternalErrorException -
findSubgroupsByGroupNameAndDate
Collection<Group> findSubgroupsByGroupNameAndDate(String codi, Date date) throws InternalErrorException, InternalErrorException -
findUserGroupHistoryByUserName
Collection<UserGroup> findUserGroupHistoryByUserName(String userName) throws InternalErrorException, InternalErrorException -
findUsersGroupByUserName
Collection<UserGroup> findUsersGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException -
getParentList
Collection<Group> getParentList(String codiGrup) throws InternalErrorException, InternalErrorException -
getRolesFromGroup
Collection<Role> getRolesFromGroup(Group grup) throws InternalErrorException, InternalErrorException -
getRolesFromGroupAndParentGroup
Collection<GroupRoles> getRolesFromGroupAndParentGroup(Group grup) throws InternalErrorException, InternalErrorException -
addGroupToUser
void addGroupToUser(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException -
delete
-
delete
-
removeGroupFormUser
void removeGroupFormUser(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException -
synchronize
- Throws:
InternalErrorException
-