Interface RoleEntityDao

  • All Known Implementing Classes:
    RoleEntityDaoBase, RoleEntityDaoImpl

    public interface RoleEntityDao
    DAO for Entity RoleEntity
    See Also:
    es.caib.seycon.ng.model.RolEntity
    • Method Detail

      • create

        RoleEntity create​(com.soffid.iam.api.Role role,
                          boolean updateOwnedRoles)
                   throws es.caib.seycon.ng.exception.InternalErrorException
        Operation create
        Parameters:
        role -
        updateOwnedRoles -
        Returns:
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findById

        RoleEntity findById​(Long id)
        Operation findById
        Parameters:
        id -
        Returns:
      • findByNameAndSystem

        RoleEntity findByNameAndSystem​(String roleName,
                                       String system)
        Operation findByNameAndSystem
        Parameters:
        roleName -
        system -
        Returns:
      • findRoleByNameInformationSystemAndStystem

        RoleEntity findRoleByNameInformationSystemAndStystem​(String roleName,
                                                             String informationSystem,
                                                             String system)
        Operation findRoleByNameInformationSystemAndStystem
        Parameters:
        roleName -
        informationSystem -
        system -
        Returns:
      • findByShortName

        RoleEntity findByShortName​(String shortName)
        Operation findByShortName
        Parameters:
        shortName -
        Returns:
      • update

        RoleEntity update​(com.soffid.iam.api.Role role,
                          boolean updateOwnedRoles)
                   throws es.caib.seycon.ng.exception.InternalErrorException
        Operation update
        Parameters:
        role -
        updateOwnedRoles -
        Returns:
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationManagementRoles

        Collection<RoleEntity> findApplicationManagementRoles()
                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Operation findApplicationManagementRoles
        Returns:
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationManagementRoles

        Collection<RoleEntity> findApplicationManagementRoles​(CriteriaSearchConfiguration criteria)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        CriteriaSearchConfiguration finder
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGroupManagementRoles

        Collection<RoleEntity> findGroupManagementRoles()
                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Operation findGroupManagementRoles
        Returns:
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGroupManagementRoles

        Collection<RoleEntity> findGroupManagementRoles​(CriteriaSearchConfiguration criteria)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        CriteriaSearchConfiguration finder
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findByInformationSystem

        List<RoleEntity> findByInformationSystem​(String informationSystem)
        Operation findByInformationSystem
        Parameters:
        informationSystem -
        Returns:
      • findByInformationSystemAndDomain

        List<RoleEntity> findByInformationSystemAndDomain​(String informationSystem,
                                                          String domainName)
        Operation findByInformationSystemAndDomain
        Parameters:
        informationSystem -
        domainName -
        Returns:
      • findRoleNames

        List<String> findRoleNames​(String system)
        Operation findRoleNames
        Parameters:
        system -
        Returns:
      • findRolesByUserName

        List<RoleEntity> findRolesByUserName​(String userName)
        Operation findRolesByUserName
        Parameters:
        userName -
        Returns:
      • findRolesByCriteria

        List<RoleEntity> findRolesByCriteria​(String roleName,
                                             String description,
                                             String defaultRole,
                                             String system,
                                             String password,
                                             String informationSystem)
        Operation findRolesByCriteria
        Parameters:
        roleName -
        description -
        defaultRole -
        system -
        password -
        informationSystem -
        Returns:
      • findRolesByManageableWFCriteria

        List<RoleEntity> findRolesByManageableWFCriteria​(String roleName,
                                                         String description,
                                                         String defaultRole,
                                                         String system,
                                                         String password,
                                                         String informationSystem,
                                                         String manageableWF)
        Operation findRolesByManageableWFCriteria
        Parameters:
        roleName -
        description -
        defaultRole -
        system -
        password -
        informationSystem -
        manageableWF -
        Returns:
      • findApplicationRolesByUserAndInformationSystem

        List<RoleEntity> findApplicationRolesByUserAndInformationSystem​(String userName,
                                                                        String informationSystem)
        Operation findApplicationRolesByUserAndInformationSystem
        Parameters:
        userName -
        informationSystem -
        Returns:
      • commitDefinition

        void commitDefinition​(RoleEntity role)
                       throws es.caib.seycon.ng.exception.InternalErrorException
        Operation commitDefinition
        Parameters:
        role -
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • remove

        void remove​(com.soffid.iam.api.Role role)
             throws es.caib.seycon.ng.exception.InternalErrorException
        Operation remove
        Parameters:
        role -
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • rollbackDefinition

        void rollbackDefinition​(RoleEntity role)
                         throws es.caib.seycon.ng.exception.InternalErrorException
        Operation rollbackDefinition
        Parameters:
        role -
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateMailLists

        void updateMailLists​(RoleEntity role)
                      throws es.caib.seycon.ng.exception.InternalErrorException
        Operation updateMailLists Creates update mail tasks for each mail list affected by the role
        Parameters:
        role -
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • toContainerRole

        void toContainerRole​(RoleEntity source,
                             com.soffid.iam.api.ContainerRole target)
        Copy data to ContainerRole object
      • toContainerRole

        com.soffid.iam.api.ContainerRole toContainerRole​(RoleEntity entity)
        Transforms to ContainerRole object
      • toContainerRoleList

        List<com.soffid.iam.api.ContainerRole> toContainerRoleList​(Collection<RoleEntity> entities)
        Transforms to ContainerRole list
      • containerRoleToEntity

        void containerRoleToEntity​(com.soffid.iam.api.ContainerRole source,
                                   RoleEntity target,
                                   boolean copyIfNull)
        Copy data from ContainerRole object
      • containerRoleToEntity

        RoleEntity containerRoleToEntity​(com.soffid.iam.api.ContainerRole instance)
        Transforms from ContainerRole object
      • containerRoleToEntityList

        List<RoleEntity> containerRoleToEntityList​(Collection<com.soffid.iam.api.ContainerRole> instances)
        Transforms from ContainerRole list
      • toContenidorRol

        void toContenidorRol​(RoleEntity source,
                             es.caib.seycon.ng.comu.ContenidorRol target)
        Copy data to ContenidorRol object
      • toContenidorRol

        es.caib.seycon.ng.comu.ContenidorRol toContenidorRol​(RoleEntity entity)
        Transforms to ContenidorRol object
      • toContenidorRolList

        List<es.caib.seycon.ng.comu.ContenidorRol> toContenidorRolList​(Collection<RoleEntity> entities)
        Transforms to ContenidorRol list
      • contenidorRolToEntity

        void contenidorRolToEntity​(es.caib.seycon.ng.comu.ContenidorRol source,
                                   RoleEntity target,
                                   boolean copyIfNull)
        Copy data from ContenidorRol object
      • contenidorRolToEntity

        RoleEntity contenidorRolToEntity​(es.caib.seycon.ng.comu.ContenidorRol instance)
        Transforms from ContenidorRol object
      • contenidorRolToEntityList

        List<RoleEntity> contenidorRolToEntityList​(Collection<es.caib.seycon.ng.comu.ContenidorRol> instances)
        Transforms from ContenidorRol list
      • toIdentity

        void toIdentity​(RoleEntity source,
                        com.soffid.iam.api.Identity target)
        Copy data to Identity object
      • toIdentity

        com.soffid.iam.api.Identity toIdentity​(RoleEntity entity)
        Transforms to Identity object
      • toIdentityList

        List<com.soffid.iam.api.Identity> toIdentityList​(Collection<RoleEntity> entities)
        Transforms to Identity list
      • identityToEntity

        void identityToEntity​(com.soffid.iam.api.Identity source,
                              RoleEntity target,
                              boolean copyIfNull)
        Copy data from Identity object
      • identityToEntity

        RoleEntity identityToEntity​(com.soffid.iam.api.Identity instance)
        Transforms from Identity object
      • identityToEntityList

        List<RoleEntity> identityToEntityList​(Collection<com.soffid.iam.api.Identity> instances)
        Transforms from Identity list
      • toIdentitat

        void toIdentitat​(RoleEntity source,
                         es.caib.seycon.ng.comu.Identitat target)
        Copy data to Identitat object
      • toIdentitat

        es.caib.seycon.ng.comu.Identitat toIdentitat​(RoleEntity entity)
        Transforms to Identitat object
      • toIdentitatList

        List<es.caib.seycon.ng.comu.Identitat> toIdentitatList​(Collection<RoleEntity> entities)
        Transforms to Identitat list
      • identitatToEntity

        void identitatToEntity​(es.caib.seycon.ng.comu.Identitat source,
                               RoleEntity target,
                               boolean copyIfNull)
        Copy data from Identitat object
      • identitatToEntity

        RoleEntity identitatToEntity​(es.caib.seycon.ng.comu.Identitat instance)
        Transforms from Identitat object
      • identitatToEntityList

        List<RoleEntity> identitatToEntityList​(Collection<es.caib.seycon.ng.comu.Identitat> instances)
        Transforms from Identitat list
      • toRole

        void toRole​(RoleEntity source,
                    com.soffid.iam.api.Role target)
        Copy data to Role object
      • toRole

        com.soffid.iam.api.Role toRole​(RoleEntity entity)
        Transforms to Role object
      • roleToEntity

        void roleToEntity​(com.soffid.iam.api.Role source,
                          RoleEntity target,
                          boolean copyIfNull)
        Copy data from Role object
      • roleToEntity

        RoleEntity roleToEntity​(com.soffid.iam.api.Role instance)
        Transforms from Role object
      • roleToEntityList

        List<RoleEntity> roleToEntityList​(Collection<com.soffid.iam.api.Role> instances)
        Transforms from Role list
      • toRol

        void toRol​(RoleEntity source,
                   es.caib.seycon.ng.comu.Rol target)
        Copy data to Rol object
      • toRol

        es.caib.seycon.ng.comu.Rol toRol​(RoleEntity entity)
        Transforms to Rol object
      • rolToEntity

        void rolToEntity​(es.caib.seycon.ng.comu.Rol source,
                         RoleEntity target,
                         boolean copyIfNull)
        Copy data from Rol object
      • rolToEntity

        RoleEntity rolToEntity​(es.caib.seycon.ng.comu.Rol instance)
        Transforms from Rol object
      • rolToEntityList

        List<RoleEntity> rolToEntityList​(Collection<es.caib.seycon.ng.comu.Rol> instances)
        Transforms from Rol list
      • create

        void create​(RoleEntity entity)
        Adds an instance of RoleEntity to the persistent store.
      • update

        void update​(RoleEntity entity)
        Updates an instance of RoleEntity at the persistent store.
      • remove

        void remove​(RoleEntity entity)
        Removes an instance of RoleEntity from the persistent store.
      • remove

        void remove​(Long id)
        Removes an instance of RoleEntity from the persistent store.