Class DuWebEntityRepository

    • Field Detail

      • objectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
      • headerMap

        protected java.util.Map<java.lang.String,​java.lang.String> headerMap
      • entityType

        protected final java.lang.String entityType
    • Constructor Detail

      • DuWebEntityRepository

        public DuWebEntityRepository​(EntityHttpClient client,
                                     java.lang.String entityType)
    • Method Detail

      • getAll

        public DuWebEntityList getAll()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getEntity

        public java.util.Optional<DuWebEntity> getEntity​(java.lang.Long id)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • create

        public DuWebEntity create​(DuWebEntity createEntity)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • update

        public DuWebEntity update​(java.lang.Long id,
                                  DuWebEntity updateEntity)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • delete

        public void delete​(java.lang.Long id)