@ProviderType
public interface AssetService
Modifier and Type | Method and Description |
---|---|
Asset |
getAsset(java.lang.String assetPid)
Gets the asset instance by the provided asset PID
(
kura.service.pid ). |
java.lang.String |
getAssetPid(Asset asset)
Gets the asset PID.
|
java.util.List<Asset> |
listAssets()
Returns the list containing all the available asset instances
|
Asset getAsset(java.lang.String assetPid)
kura.service.pid
).assetPid
- the asset PID to checkjava.lang.NullPointerException
- if the provided asset PID is nulljava.lang.String getAssetPid(Asset asset)
kura.service.pid
) by the provided asset
instanceasset
- the asset instance to checkjava.lang.NullPointerException
- if the provided asset instance is nulljava.util.List<Asset> listAssets()