Package com.soffid.iam.iga.service
Interface GroupService
public interface GroupService
Service GroupService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupToUser(String codiUsuari, String codiGrup) Operation addGroupToUserOperation createOperation createcreateHistoric(Group grup) Operation createHistoricvoidOperation deletevoidOperation deletefindGroupByGroupName(String codi) Operation findGroupByGroupNamefindGroupByGroupNameAndDate(String codi, Date date) Operation findGroupByGroupNameAndDatefindGroupById(Long grupId) Operation findGroupByIdfindGroupMembers(String codiGrup) Operation findGroupMembersOperation findGroupNamescom.soffid.zkdb.api.PagedResult<Group>findGroups(com.soffid.zkdb.api.Query q) Operation findGroupsfindGroupsByGroupsType(String tipus) Operation findGroupsByGroupsTypefindGroupsByUserName(String codiUsuari) Operation findGroupsByUserNamefindGroupsFromRolesByUserName(String codiUsuari) Operation findGroupsFromRolesByUserNamefindGroupsFromUsersByUserName(String codiUsuari) Operation findGroupsFromUsersByUserNamecom.soffid.zkdb.api.PagedResult<UserGroup>findGroupUserByJsonQuery(String query, Integer startIndex, Integer count) Operation findGroupUserByJsonQueryfindPrimaryGroupByUserName(String codiUsuari) Operation findPrimaryGroupByUserNameOperation findSubgroupsByGroupNamefindSubgroupsByGroupNameAndDate(String codi, Date date) Operation findSubgroupsByGroupNameAndDatecom.soffid.zkdb.api.PagedResult<UserGroup>findUserGroup(com.soffid.zkdb.api.Query query) Operation findUserGroupfindUserGroupByUserNameAndGroupName(String codiUsuari, String codiGrup) Operation findUserGroupByUserNameAndGroupNamefindUserGroupHistoryByUserName(String userName) Operation findUserGroupHistoryByUserNamecom.soffid.zkdb.api.PagedResult<UserGroup>findUsersBelongtoGroupByGroupName(String codiGrup, Date date, Integer start, Integer pageSize) Operation findUsersBelongtoGroupByGroupNamefindUsersGroupByUserName(String codiUsuari) Operation findUsersGroupByUserNamefindUsersRolesDomainTypeAndUserGroups(String codiGrup) Operation findUsersRolesDomainTypeAndUserGroupsfindUsersRolesWithGroupByUserName(String codiUsuari) Operation findUsersRolesWithGroupByUserNameOperation getGroupsgetOfficeServer(Group grup) Operation getOfficeServergetParentList(String codiGrup) Operation getParentListgetRolesFromGroup(Group grup) Operation getRolesFromGroupgetRolesFromGroup(String codiGrup) Operation getRolesFromGroupOperation getRolesFromGroupAndParentGroupgetSuperGroup(String codiGrup) Operation getSuperGroupvoidpropagateRolsChangesToDispatcher(String codiGrup) Operation propagateRolsChangesToDispatchervoidremoveGroupFormUser(String codiUsuari, String codiGrup) Operation removeGroupFormUservoidsetSuperGroup(String codiSubGrup, String codiSuperGrup) Operation setSuperGroupvoidsynchronize(String groupName) Operation synchronizeOperation updateOperation update
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
findGroupMembers
Operation findGroupMembers- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
getOfficeServer
Operation getOfficeServer- Parameters:
grup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
grup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
createHistoric
Operation createHistoric- Parameters:
grup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupByGroupNameAndDate
Group findGroupByGroupNameAndDate(String codi, Date date) throws InternalErrorException, InternalErrorException Operation findGroupByGroupNameAndDate- Parameters:
codi-date-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupByGroupName
Operation findGroupByGroupName- Parameters:
codi-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupById
Operation findGroupById- Parameters:
grupId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findPrimaryGroupByUserName
Group findPrimaryGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findPrimaryGroupByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSuperGroup
Operation getSuperGroup- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
grup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
usuariGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUserGroupByUserNameAndGroupName
UserGroup findUserGroupByUserNameAndGroupName(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException Operation findUserGroupByUserNameAndGroupName- Parameters:
codiUsuari-codiGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
usuariGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupUserByJsonQuery
com.soffid.zkdb.api.PagedResult<UserGroup> findGroupUserByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException Operation findGroupUserByJsonQuery- Parameters:
query-startIndex-count-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroups
com.soffid.zkdb.api.PagedResult<Group> findGroups(com.soffid.zkdb.api.Query q) throws InternalErrorException Operation findGroups- Parameters:
q-- Returns:
- Throws:
InternalErrorException
-
findUserGroup
com.soffid.zkdb.api.PagedResult<UserGroup> findUserGroup(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException Operation findUserGroup- Parameters:
query-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUsersBelongtoGroupByGroupName
com.soffid.zkdb.api.PagedResult<UserGroup> findUsersBelongtoGroupByGroupName(String codiGrup, Date date, Integer start, Integer pageSize) throws InternalErrorException, InternalErrorException Operation findUsersBelongtoGroupByGroupName- Parameters:
codiGrup-date-start-pageSize-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupNames
Operation findGroupNames- Returns:
- Throws:
InternalErrorException
-
findGroupsByUserName
Collection<Group> findGroupsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findGroupsByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupsByGroupsType
Collection<Group> findGroupsByGroupsType(String tipus) throws InternalErrorException, InternalErrorException Operation findGroupsByGroupsType- Parameters:
tipus-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupsFromRolesByUserName
Collection<Group> findGroupsFromRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findGroupsFromRolesByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findGroupsFromUsersByUserName
Collection<Group> findGroupsFromUsersByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findGroupsFromUsersByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUsersRolesWithGroupByUserName
Collection<RoleAccount> findUsersRolesWithGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findUsersRolesWithGroupByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUsersRolesDomainTypeAndUserGroups
Collection<RoleAccount> findUsersRolesDomainTypeAndUserGroups(String codiGrup) throws InternalErrorException, InternalErrorException Operation findUsersRolesDomainTypeAndUserGroups- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findSubgroupsByGroupName
Collection<Group> findSubgroupsByGroupName(String codi) throws InternalErrorException, InternalErrorException Operation findSubgroupsByGroupName- Parameters:
codi-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findSubgroupsByGroupNameAndDate
Collection<Group> findSubgroupsByGroupNameAndDate(String codi, Date date) throws InternalErrorException, InternalErrorException Operation findSubgroupsByGroupNameAndDate- Parameters:
codi-date-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUserGroupHistoryByUserName
Collection<UserGroup> findUserGroupHistoryByUserName(String userName) throws InternalErrorException, InternalErrorException Operation findUserGroupHistoryByUserName- Parameters:
userName-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUsersGroupByUserName
Collection<UserGroup> findUsersGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findUsersGroupByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getGroups
Operation getGroups- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getParentList
Collection<Group> getParentList(String codiGrup) throws InternalErrorException, InternalErrorException Operation getParentList- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getRolesFromGroup
Collection<Role> getRolesFromGroup(Group grup) throws InternalErrorException, InternalErrorException Operation getRolesFromGroup- Parameters:
grup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getRolesFromGroup
Collection<GroupRoles> getRolesFromGroup(String codiGrup) throws InternalErrorException, InternalErrorException Operation getRolesFromGroup- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getRolesFromGroupAndParentGroup
Collection<GroupRoles> getRolesFromGroupAndParentGroup(Group grup) throws InternalErrorException, InternalErrorException Operation getRolesFromGroupAndParentGroup- Parameters:
grup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
addGroupToUser
void addGroupToUser(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException Operation addGroupToUser- Parameters:
codiUsuari-codiGrup-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
grup-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
usuariGrup-- Throws:
InternalErrorExceptionInternalErrorException
-
propagateRolsChangesToDispatcher
void propagateRolsChangesToDispatcher(String codiGrup) throws InternalErrorException, InternalErrorException Operation propagateRolsChangesToDispatcher- Parameters:
codiGrup-- Throws:
InternalErrorExceptionInternalErrorException
-
removeGroupFormUser
void removeGroupFormUser(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException Operation removeGroupFormUser- Parameters:
codiUsuari-codiGrup-- Throws:
InternalErrorExceptionInternalErrorException
-
setSuperGroup
void setSuperGroup(String codiSubGrup, String codiSuperGrup) throws InternalErrorException, InternalErrorException Operation setSuperGroup- Parameters:
codiSubGrup-codiSuperGrup-- Throws:
InternalErrorExceptionInternalErrorException
-
synchronize
Operation synchronize- Parameters:
groupName-- Throws:
InternalErrorException
-