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 io.jans.service.document.store.service.Document
getAssetByInum(String inum)
List<io.jans.service.document.store.service.Document>
getAssetByName(String name)
String
getDnForAsset(String inum)
InputStream
readAssetStream(String assetName)
boolean
removeAsset(String inum)
io.jans.service.document.store.service.Document
saveAsset(io.jans.service.document.store.service.Document asset, 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
-
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
-
saveAsset
public io.jans.service.document.store.service.Document saveAsset(io.jans.service.document.store.service.Document asset, InputStream documentStream) throws Exception
- Throws:
Exception
-
readAssetStream
public InputStream readAssetStream(String assetName) throws Exception
- Throws:
Exception
-
-