Package io.jans.configapi.service.auth
Class AssetService
- java.lang.Object
-
- io.jans.configapi.service.auth.AssetService
-
@ApplicationScoped public class AssetService extends Object
-
-
Constructor Summary
Constructors Constructor Description AssetService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDnForDocument(String inum)
io.jans.service.document.store.service.Document
getDocumentByInum(String inum)
List<io.jans.service.document.store.service.Document>
getDocumentByName(String name)
InputStream
readAssetStream(String name)
boolean
removeAsset(String inum)
boolean
saveAsset(io.jans.service.document.store.service.Document document, InputStream documentStream)
io.jans.orm.model.PagedResult<io.jans.service.document.store.service.Document>
searchAsset(io.jans.model.SearchRequest searchRequest, String status)
-
-
-
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)
-
readAssetStream
public InputStream readAssetStream(String name)
-
removeAsset
public boolean removeAsset(String inum)
-
-