Interface IdentityService<T extends com.flower.docs.domain.security.Identity>

  • All Known Subinterfaces:
    GroupService, UserService

    public interface IdentityService<T extends com.flower.docs.domain.security.Identity>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void create​(T identity)  
      void delete​(java.lang.String name)  
      java.util.List<T> get​(java.util.List<java.lang.String> names, boolean resolveAuthorities)  
      java.util.List<T> search​(java.lang.String name)  
      void update​(T identity)  
    • Method Detail

      • create

        void create​(T identity)
             throws com.flower.docs.domain.exception.TechnicalException,
                    com.flower.docs.domain.exception.FunctionalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
      • get

        java.util.List<T> get​(java.util.List<java.lang.String> names,
                              boolean resolveAuthorities)
                       throws com.flower.docs.domain.exception.TechnicalException,
                              com.flower.docs.domain.exception.FunctionalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
      • update

        void update​(T identity)
             throws com.flower.docs.domain.exception.TechnicalException,
                    com.flower.docs.domain.exception.FunctionalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
      • search

        java.util.List<T> search​(java.lang.String name)
                          throws com.flower.docs.domain.exception.TechnicalException,
                                 com.flower.docs.domain.exception.FunctionalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
      • delete

        void delete​(java.lang.String name)
             throws com.flower.docs.domain.exception.TechnicalException,
                    com.flower.docs.domain.exception.FunctionalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException