Package com.soffid.iam.service
Interface GroupService
-
public interface GroupServiceService GroupService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddGroupToUser(String codiUsuari, String codiGrup)Operation addGroupToUserGroupcreate(Group grup)Operation createGroupUsercreate(GroupUser usuariGrup)Operation createGroupcreateHistoric(Group grup)Operation createHistoricvoiddelete(Group grup)Operation deletevoiddelete(GroupUser usuariGrup)Operation deleteGroupfindGroupByGroupName(String codi)Operation findGroupByGroupNameGroupfindGroupByGroupNameAndDate(String codi, Date date)Operation findGroupByGroupNameAndDateGroupfindGroupById(Long grupId)Operation findGroupByIdList<Group>findGroupByJsonQuery(String query)Operation findGroupByJsonQueryPagedResult<Group>findGroupByJsonQuery(String query, Integer startIndex, Integer count)Operation findGroupByJsonQueryAsyncList<Group>findGroupByJsonQueryAsync(String query)Operation findGroupByJsonQueryAsyncList<Group>findGroupByText(String text)Operation findGroupByTextList<Group>findGroupByTextAndFilter(String text, String filter)Operation findGroupByTextAndFilterPagedResult<Group>findGroupByTextAndFilter(String text, String filter, Integer first, Integer pageSize)Operation findGroupByTextAndFilterAsyncList<Group>findGroupByTextAndFilterAsync(String text, String filter)Operation findGroupByTextAndFilterAsyncAsyncList<Group>findGroupByTextAsync(String text)Operation findGroupByTextAsyncAsyncList<Group>findGroupHistoryByTextAndFilterAsync(String text, String filter, Date date)Operation findGroupHistoryByTextAndFilterAsyncCollection<String>findGroupNames()Operation findGroupNamesCollection<Group>findGroupsByFilter(String codi, String pare, String unitatOfimatica, String descripcio, String tipus, String obsolet)Operation findGroupsByFilterCollection<Group>findGroupsByFilter(String codi, String pare, String unitatOfimatica, String descripcio, String tipus, String obsolet, String servidorOfimatic, String seccioPressupostaria)Operation findGroupsByFilterCollection<Group>findGroupsByGroupsType(String tipus)Operation findGroupsByGroupsTypeCollection<Group>findGroupsByUserName(String codiUsuari)Operation findGroupsByUserNameCollection<Group>findGroupsFromRolesByUserName(String codiUsuari)Operation findGroupsFromRolesByUserNameCollection<Group>findGroupsFromUsersByUserName(String codiUsuari)Operation findGroupsFromUsersByUserNamePagedResult<GroupUser>findGroupUserByJsonQuery(String query, Integer startIndex, Integer count)Operation findGroupUserByJsonQueryGroupfindPrimaryGroupByUserName(String codiUsuari)Operation findPrimaryGroupByUserNameCollection<Group>findSubgroupsByGroupName(String codi)Operation findSubgroupsByGroupNameCollection<Group>findSubgroupsByGroupNameAndDate(String codi, Date date)Operation findSubgroupsByGroupNameAndDateGroupUserfindUserGroupByUserNameAndGroupName(String codiUsuari, String codiGrup)Operation findUserGroupByUserNameAndGroupNameCollection<GroupUser>findUserGroupHistoryByUserName(String userName)Operation findUserGroupHistoryByUserNameCollection<GroupUser>findUsersBelongtoGroupByGroupName(String codiGrup)Operation findUsersBelongtoGroupByGroupNameCollection<GroupUser>findUsersBelongtoGroupByGroupName(String codiGrup, Date date)Operation findUsersBelongtoGroupByGroupNameAsyncList<GroupUser>findUsersBelongtoGroupByGroupNameAsync(String codiGrup)Operation findUsersBelongtoGroupByGroupNameAsyncCollection<GroupUser>findUsersGroupByUserName(String codiUsuari)Operation findUsersGroupByUserNameCollection<RoleAccount>findUsersRolesDomainTypeAndUserGroups(String codiGrup)Operation findUsersRolesDomainTypeAndUserGroupsCollection<RoleAccount>findUsersRolesWithGroupByUserName(String codiUsuari)Operation findUsersRolesWithGroupByUserNameCollection<Group>getConselleriesAmbDireccionsGenerals()Operation getConselleriesAmbDireccionsGeneralsCollection<Group>getGroups()Operation getGroupsHostgetOfficeServer(Group grup)Operation getOfficeServerCollection<Group>getParentList(String codiGrup)Operation getParentListCollection<Role>getRolesFromGroup(Group grup)Operation getRolesFromGroupCollection<GroupRoles>getRolesFromGroup(String codiGrup)Operation getRolesFromGroupCollection<GroupRoles>getRolesFromGroupAndParentGroup(Group grup)Operation getRolesFromGroupAndParentGroupGroupgetSuperGroup(String codiGrup)Operation getSuperGroupvoidpropagateRolsChangesToDispatcher(String codiGrup)Operation propagateRolsChangesToDispatchervoidremoveGroupFormUser(String codiUsuari, String codiGrup)Operation removeGroupFormUservoidsetSuperGroup(String codiSubGrup, String codiSuperGrup)Operation setSuperGroupGroupupdate(Group grup)Operation updateGroupUserupdate(GroupUser usuariGrup)Operation update
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findGroupByJsonQueryAsync
AsyncList<Group> findGroupByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findGroupByJsonQueryAsync- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findGroupByTextAndFilterAsync
AsyncList<Group> findGroupByTextAndFilterAsync(String text, String filter) throws InternalErrorException
Operation findGroupByTextAndFilterAsync- Parameters:
text-filter-- Returns:
- Throws:
InternalErrorException
-
findGroupByTextAsync
AsyncList<Group> findGroupByTextAsync(String text) throws InternalErrorException
Operation findGroupByTextAsync- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
findGroupHistoryByTextAndFilterAsync
AsyncList<Group> findGroupHistoryByTextAndFilterAsync(String text, String filter, Date date) throws InternalErrorException
Operation findGroupHistoryByTextAndFilterAsync- Parameters:
text-filter-date-- Returns:
- Throws:
InternalErrorException
-
findUsersBelongtoGroupByGroupNameAsync
AsyncList<GroupUser> findUsersBelongtoGroupByGroupNameAsync(String codiGrup) throws InternalErrorException, InternalErrorException
Operation findUsersBelongtoGroupByGroupNameAsync- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
findGroupByJsonQuery
PagedResult<Group> findGroupByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
Operation findGroupByJsonQuery- Parameters:
query-startIndex-count-- Returns:
- Throws:
InternalErrorException
-
findGroupByTextAndFilter
PagedResult<Group> findGroupByTextAndFilter(String text, String filter, Integer first, Integer pageSize) throws InternalErrorException
Operation findGroupByTextAndFilter- Parameters:
text-filter-first-pageSize-- Returns:
- Throws:
InternalErrorException
-
findGroupUserByJsonQuery
PagedResult<GroupUser> findGroupUserByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
Operation findGroupUserByJsonQuery- Parameters:
query-startIndex-count-- Returns:
- Throws:
InternalErrorException
-
create
Group create(Group grup) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
grup-- Returns:
- Throws:
InternalErrorException
-
createHistoric
Group createHistoric(Group grup) throws InternalErrorException, InternalErrorException
Operation createHistoric- Parameters:
grup-- Returns:
- Throws:
InternalErrorException
-
findGroupByGroupNameAndDate
Group findGroupByGroupNameAndDate(String codi, Date date) throws InternalErrorException, InternalErrorException
Operation findGroupByGroupNameAndDate- Parameters:
codi-date-- Returns:
- Throws:
InternalErrorException
-
findGroupByGroupName
Group findGroupByGroupName(String codi) throws InternalErrorException, InternalErrorException
Operation findGroupByGroupName- Parameters:
codi-- Returns:
- Throws:
InternalErrorException
-
findGroupById
Group findGroupById(Long grupId) throws InternalErrorException, InternalErrorException
Operation findGroupById- Parameters:
grupId-- Returns:
- Throws:
InternalErrorException
-
findPrimaryGroupByUserName
Group findPrimaryGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findPrimaryGroupByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
getSuperGroup
Group getSuperGroup(String codiGrup) throws InternalErrorException, InternalErrorException
Operation getSuperGroup- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
update
Group update(Group grup) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
grup-- Returns:
- Throws:
InternalErrorException
-
getOfficeServer
Host getOfficeServer(Group grup) throws InternalErrorException, InternalErrorException
Operation getOfficeServer- Parameters:
grup-- Returns:
- Throws:
InternalErrorException
-
create
GroupUser create(GroupUser usuariGrup) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
usuariGrup-- Returns:
- Throws:
InternalErrorException
-
findUserGroupByUserNameAndGroupName
GroupUser findUserGroupByUserNameAndGroupName(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException
Operation findUserGroupByUserNameAndGroupName- Parameters:
codiUsuari-codiGrup-- Returns:
- Throws:
InternalErrorException
-
update
GroupUser update(GroupUser usuariGrup) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
usuariGrup-- Returns:
- Throws:
InternalErrorException
-
findGroupNames
Collection<String> findGroupNames() throws InternalErrorException
Operation findGroupNames- Returns:
- Throws:
InternalErrorException
-
findGroupsByUserName
Collection<Group> findGroupsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findGroupsByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findGroupsByFilter
Collection<Group> findGroupsByFilter(String codi, String pare, String unitatOfimatica, String descripcio, String tipus, String obsolet) throws InternalErrorException, InternalErrorException
Operation findGroupsByFilter- Parameters:
codi-pare-unitatOfimatica-descripcio-tipus-obsolet-- Returns:
- Throws:
InternalErrorException
-
findGroupsByFilter
Collection<Group> findGroupsByFilter(String codi, String pare, String unitatOfimatica, String descripcio, String tipus, String obsolet, String servidorOfimatic, String seccioPressupostaria) throws InternalErrorException, InternalErrorException
Operation findGroupsByFilter- Parameters:
codi-pare-unitatOfimatica-descripcio-tipus-obsolet-servidorOfimatic-seccioPressupostaria-- Returns:
- Throws:
InternalErrorException
-
findGroupsByGroupsType
Collection<Group> findGroupsByGroupsType(String tipus) throws InternalErrorException, InternalErrorException
Operation findGroupsByGroupsType- Parameters:
tipus-- Returns:
- Throws:
InternalErrorException
-
findGroupsFromRolesByUserName
Collection<Group> findGroupsFromRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findGroupsFromRolesByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findGroupsFromUsersByUserName
Collection<Group> findGroupsFromUsersByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findGroupsFromUsersByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUsersRolesWithGroupByUserName
Collection<RoleAccount> findUsersRolesWithGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUsersRolesWithGroupByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUsersRolesDomainTypeAndUserGroups
Collection<RoleAccount> findUsersRolesDomainTypeAndUserGroups(String codiGrup) throws InternalErrorException, InternalErrorException
Operation findUsersRolesDomainTypeAndUserGroups- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
findSubgroupsByGroupName
Collection<Group> findSubgroupsByGroupName(String codi) throws InternalErrorException, InternalErrorException
Operation findSubgroupsByGroupName- Parameters:
codi-- Returns:
- Throws:
InternalErrorException
-
findSubgroupsByGroupNameAndDate
Collection<Group> findSubgroupsByGroupNameAndDate(String codi, Date date) throws InternalErrorException, InternalErrorException
Operation findSubgroupsByGroupNameAndDate- Parameters:
codi-date-- Returns:
- Throws:
InternalErrorException
-
findUserGroupHistoryByUserName
Collection<GroupUser> findUserGroupHistoryByUserName(String userName) throws InternalErrorException, InternalErrorException
Operation findUserGroupHistoryByUserName- Parameters:
userName-- Returns:
- Throws:
InternalErrorException
-
findUsersGroupByUserName
Collection<GroupUser> findUsersGroupByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUsersGroupByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUsersBelongtoGroupByGroupName
Collection<GroupUser> findUsersBelongtoGroupByGroupName(String codiGrup) throws InternalErrorException, InternalErrorException
Operation findUsersBelongtoGroupByGroupName- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
findUsersBelongtoGroupByGroupName
Collection<GroupUser> findUsersBelongtoGroupByGroupName(String codiGrup, Date date) throws InternalErrorException, InternalErrorException
Operation findUsersBelongtoGroupByGroupName- Parameters:
codiGrup-date-- Returns:
- Throws:
InternalErrorException
-
getConselleriesAmbDireccionsGenerals
Collection<Group> getConselleriesAmbDireccionsGenerals() throws InternalErrorException, InternalErrorException
Operation getConselleriesAmbDireccionsGenerals- Returns:
- Throws:
InternalErrorException
-
getGroups
Collection<Group> getGroups() throws InternalErrorException, InternalErrorException
Operation getGroups- Returns:
- Throws:
InternalErrorException
-
getParentList
Collection<Group> getParentList(String codiGrup) throws InternalErrorException, InternalErrorException
Operation getParentList- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
getRolesFromGroup
Collection<Role> getRolesFromGroup(Group grup) throws InternalErrorException, InternalErrorException
Operation getRolesFromGroup- Parameters:
grup-- Returns:
- Throws:
InternalErrorException
-
getRolesFromGroup
Collection<GroupRoles> getRolesFromGroup(String codiGrup) throws InternalErrorException, InternalErrorException
Operation getRolesFromGroup- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorException
-
getRolesFromGroupAndParentGroup
Collection<GroupRoles> getRolesFromGroupAndParentGroup(Group grup) throws InternalErrorException, InternalErrorException
Operation getRolesFromGroupAndParentGroup- Parameters:
grup-- Returns:
- Throws:
InternalErrorException
-
findGroupByJsonQuery
List<Group> findGroupByJsonQuery(String query) throws InternalErrorException, InternalErrorException
Operation findGroupByJsonQuery- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findGroupByText
List<Group> findGroupByText(String text) throws InternalErrorException
Operation findGroupByText- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
findGroupByTextAndFilter
List<Group> findGroupByTextAndFilter(String text, String filter) throws InternalErrorException
Operation findGroupByTextAndFilter- Parameters:
text-filter-- Returns:
- Throws:
InternalErrorException
-
addGroupToUser
void addGroupToUser(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException
Operation addGroupToUser- Parameters:
codiUsuari-codiGrup-- Throws:
InternalErrorException
-
delete
void delete(Group grup) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
grup-- Throws:
InternalErrorException
-
delete
void delete(GroupUser usuariGrup) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
usuariGrup-- Throws:
InternalErrorException
-
propagateRolsChangesToDispatcher
void propagateRolsChangesToDispatcher(String codiGrup) throws InternalErrorException, InternalErrorException
Operation propagateRolsChangesToDispatcher- Parameters:
codiGrup-- Throws:
InternalErrorException
-
removeGroupFormUser
void removeGroupFormUser(String codiUsuari, String codiGrup) throws InternalErrorException, InternalErrorException
Operation removeGroupFormUser- Parameters:
codiUsuari-codiGrup-- Throws:
InternalErrorException
-
setSuperGroup
void setSuperGroup(String codiSubGrup, String codiSuperGrup) throws InternalErrorException, InternalErrorException
Operation setSuperGroup- Parameters:
codiSubGrup-codiSuperGrup-- Throws:
InternalErrorException
-
-