Interface UserEntityDao

  • All Known Implementing Classes:
    UserEntityDaoBase, UserEntityDaoImpl

    public interface UserEntityDao
    DAO for Entity UserEntity
    See Also:
    es.caib.seycon.ng.model.UsuariEntity
    • Method Detail

      • getPasswordsStatus

        com.soffid.iam.api.PasswordStatus getPasswordsStatus​(UserEntity usuariEntity,
                                                             PasswordDomainEntity dominiContrasenyes)
        Operation getPasswordsStatus
        Parameters:
        usuariEntity -
        dominiContrasenyes -
        Returns:
      • findByAccount

        UserEntity findByAccount​(String account,
                                 String system)
        Operation findByAccount
        Parameters:
        account -
        system -
        Returns:
      • findByUserName

        UserEntity findByUserName​(String userName)
        Operation findByUserName
        Parameters:
        userName -
        Returns:
      • findById

        UserEntity findById​(Long id)
        Operation findById
        Parameters:
        id -
        Returns:
      • findByNationalID

        UserEntity findByNationalID​(String nif)
        Operation findByNationalID
        Parameters:
        nif -
        Returns:
      • findByShortName

        UserEntity findByShortName​(String shortName)
        Operation findByShortName
        Parameters:
        shortName -
        Returns:
      • findUserByDataValue

        UserEntity findUserByDataValue​(String dataType,
                                       String value)
        Operation findUserByDataValue
        Parameters:
        dataType -
        value -
        Returns:
      • generateUserName

        String generateUserName()
        Operation generateUserName
        Returns:
      • getNextUserName

        String getNextUserName()
        Operation getNextUserName
        Returns:
      • getNextAnonimUser

        String getNextAnonimUser()
        Operation getNextAnonimUser
        Returns:
      • getNextUserIDRequest

        String getNextUserIDRequest()
        Operation getNextUserIDRequest
        Returns:
      • refreshCanvis

        String refreshCanvis​(String codiUsuari)
                      throws es.caib.seycon.ng.exception.InternalErrorException
        Operation refreshCanvis
        Parameters:
        codiUsuari -
        Returns:
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getTasks

        String[] getTasks​(String codiUsuari)
        Operation getTasks
        Parameters:
        codiUsuari -
        Returns:
      • findByPrimaryGroup

        List<UserEntity> findByPrimaryGroup​(String primaryGroupName)
        Operation findByPrimaryGroup
        Parameters:
        primaryGroupName -
        Returns:
      • findUserNames

        List<String> findUserNames()
        Operation findUserNames
        Returns:
      • findUsersByNationalID

        List<UserEntity> findUsersByNationalID​(String nif)
        Operation findUsersByNationalID
        Parameters:
        nif -
        Returns:
      • findUsersGroupAndSubgroupsByGroupCode

        List<UserEntity> findUsersGroupAndSubgroupsByGroupCode​(String codiGrup)
        Operation findUsersGroupAndSubgroupsByGroupCode
        Parameters:
        codiGrup -
        Returns:
      • merge

        void merge​(Long src,
                   Long target)
            throws es.caib.seycon.ng.exception.InternalErrorException
        Operation merge
        Parameters:
        src -
        target -
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createUpdateTasks

        void createUpdateTasks​(UserEntity user,
                               com.soffid.iam.api.User oldValue)
                        throws es.caib.seycon.ng.exception.InternalErrorException
        Operation createUpdateTasks Generates UPDATE_MAIL_LIST tasks for any affected mail list
        Parameters:
        user -
        oldValue -
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • toBPMUser

        void toBPMUser​(UserEntity source,
                       com.soffid.iam.bpm.api.BPMUser target)
        Copy data to BPMUser object
      • toBPMUser

        com.soffid.iam.bpm.api.BPMUser toBPMUser​(UserEntity entity)
        Transforms to BPMUser object
      • toBPMUserList

        List<com.soffid.iam.bpm.api.BPMUser> toBPMUserList​(Collection<UserEntity> entities)
        Transforms to BPMUser list
      • bPMUserToEntity

        void bPMUserToEntity​(com.soffid.iam.bpm.api.BPMUser source,
                             UserEntity target,
                             boolean copyIfNull)
        Copy data from BPMUser object
      • bPMUserToEntity

        UserEntity bPMUserToEntity​(com.soffid.iam.bpm.api.BPMUser instance)
        Transforms from BPMUser object
      • bPMUserToEntityList

        List<UserEntity> bPMUserToEntityList​(Collection<com.soffid.iam.bpm.api.BPMUser> instances)
        Transforms from BPMUser list
      • toIdentity

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

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

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

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

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

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

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

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

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

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

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

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

        void toUser​(UserEntity source,
                    com.soffid.iam.api.User target)
        Copy data to User object
      • toUser

        com.soffid.iam.api.User toUser​(UserEntity entity)
        Transforms to User object
      • userToEntity

        void userToEntity​(com.soffid.iam.api.User source,
                          UserEntity target,
                          boolean copyIfNull)
        Copy data from User object
      • userToEntity

        UserEntity userToEntity​(com.soffid.iam.api.User instance)
        Transforms from User object
      • userToEntityList

        List<UserEntity> userToEntityList​(Collection<com.soffid.iam.api.User> instances)
        Transforms from User list
      • toUsuari

        void toUsuari​(UserEntity source,
                      es.caib.seycon.ng.comu.Usuari target)
        Copy data to Usuari object
      • toUsuari

        es.caib.seycon.ng.comu.Usuari toUsuari​(UserEntity entity)
        Transforms to Usuari object
      • toUsuariList

        List<es.caib.seycon.ng.comu.Usuari> toUsuariList​(Collection<UserEntity> entities)
        Transforms to Usuari list
      • usuariToEntity

        void usuariToEntity​(es.caib.seycon.ng.comu.Usuari source,
                            UserEntity target,
                            boolean copyIfNull)
        Copy data from Usuari object
      • usuariToEntity

        UserEntity usuariToEntity​(es.caib.seycon.ng.comu.Usuari instance)
        Transforms from Usuari object
      • usuariToEntityList

        List<UserEntity> usuariToEntityList​(Collection<es.caib.seycon.ng.comu.Usuari> instances)
        Transforms from Usuari list
      • toAnonimousUser

        void toAnonimousUser​(UserEntity source,
                             com.soffid.iam.api.AnonimousUser target)
        Copy data to AnonimousUser object
      • toAnonimousUser

        com.soffid.iam.api.AnonimousUser toAnonimousUser​(UserEntity entity)
        Transforms to AnonimousUser object
      • toAnonimousUserList

        List<com.soffid.iam.api.AnonimousUser> toAnonimousUserList​(Collection<UserEntity> entities)
        Transforms to AnonimousUser list
      • anonimousUserToEntity

        void anonimousUserToEntity​(com.soffid.iam.api.AnonimousUser source,
                                   UserEntity target,
                                   boolean copyIfNull)
        Copy data from AnonimousUser object
      • anonimousUserToEntity

        UserEntity anonimousUserToEntity​(com.soffid.iam.api.AnonimousUser instance)
        Transforms from AnonimousUser object
      • anonimousUserToEntityList

        List<UserEntity> anonimousUserToEntityList​(Collection<com.soffid.iam.api.AnonimousUser> instances)
        Transforms from AnonimousUser list
      • toUsuariAnonim

        void toUsuariAnonim​(UserEntity source,
                            es.caib.seycon.ng.comu.UsuariAnonim target)
        Copy data to UsuariAnonim object
      • toUsuariAnonim

        es.caib.seycon.ng.comu.UsuariAnonim toUsuariAnonim​(UserEntity entity)
        Transforms to UsuariAnonim object
      • toUsuariAnonimList

        List<es.caib.seycon.ng.comu.UsuariAnonim> toUsuariAnonimList​(Collection<UserEntity> entities)
        Transforms to UsuariAnonim list
      • usuariAnonimToEntity

        void usuariAnonimToEntity​(es.caib.seycon.ng.comu.UsuariAnonim source,
                                  UserEntity target,
                                  boolean copyIfNull)
        Copy data from UsuariAnonim object
      • usuariAnonimToEntity

        UserEntity usuariAnonimToEntity​(es.caib.seycon.ng.comu.UsuariAnonim instance)
        Transforms from UsuariAnonim object
      • usuariAnonimToEntityList

        List<UserEntity> usuariAnonimToEntityList​(Collection<es.caib.seycon.ng.comu.UsuariAnonim> instances)
        Transforms from UsuariAnonim list
      • create

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

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

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

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