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)
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)
io.jans.orm.model.PagedResult<io.jans.service.document.store.service.Document>
searchAssetByName(io.jans.model.SearchRequest searchRequest)
-
-
-
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) throws Exception
- Throws:
Exception
-
-