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
      • getAssetByInum

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

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

        public io.jans.orm.model.PagedResult<io.jans.service.document.store.service.Document> searchAssetByName​(io.jans.model.SearchRequest searchRequest)
                                                                                                         throws Exception
        Throws:
        Exception
      • saveAsset

        public io.jans.service.document.store.service.Document saveAsset​(io.jans.service.document.store.service.Document asset,
                                                                         InputStream documentStream,
                                                                         boolean isUpdate)
                                                                  throws Exception
        Throws:
        Exception
      • getValidModuleName

        public List<String> getValidModuleName()
      • getValidFileExtension

        public List<String> getValidFileExtension()
      • readDocumentAsStream

        public InputStream readDocumentAsStream​(io.jans.service.document.store.service.Document asset)