Class AssetService


  • @ApplicationScoped
    public class AssetService
    extends Object
    • Constructor Detail

      • AssetService

        public AssetService()
    • Method Detail

      • searchAsset

        public io.jans.orm.model.PagedResult<io.jans.service.document.store.service.Document> searchAsset​(io.jans.model.SearchRequest searchRequest,
                                                                                                          String status)
                                                                                                   throws Exception
        Throws:
        Exception
      • getDocumentByInum

        public io.jans.service.document.store.service.Document getDocumentByInum​(String inum)
                                                                          throws Exception
        Throws:
        Exception
      • getDocumentByName

        public List<io.jans.service.document.store.service.Document> getDocumentByName​(String name)
                                                                                throws Exception
        Throws:
        Exception
      • saveAsset

        public boolean saveAsset​(io.jans.service.document.store.service.Document document,
                                 InputStream documentStream)
      • removeAsset

        public boolean removeAsset​(String inum)