@RemoteServiceRelativePath(value="asset")
public interface AssetService
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Method and Description |
---|---|
AssetCommand |
getAssetByNodeId(int nodeId)
Calling this method will return a
AssetCommand with contains all
asset data and additional data for GWT asset ui. |
AssetSuggCommand |
getAssetSuggestions()
Calling this method will return an
AssetSuggCommand that contains
all suggestions for all FieldSetSuggestBox es at the GWT asset ui. |
Boolean |
saveOrUpdateAssetByNodeId(int nodeId,
AssetCommand asset)
Calling this method will save or update a OnmsAsset by the given
AssetCommand . |
AssetCommand getAssetByNodeId(int nodeId) throws Exception
AssetCommand
with contains all
asset data and additional data for GWT asset ui. If no OnmsNode is found
by given nodeId a exception will occur.nodeId
- related to OnmsNode.AssetCommand
by the given nodeIdException
- , used asset service can throw all types of exceptionAssetSuggCommand getAssetSuggestions() throws Exception
AssetSuggCommand
that contains
all suggestions for all FieldSetSuggestBox
es at the GWT asset ui.AssetSuggCommand
Exception
- , used asset service can throw all types of exceptionBoolean saveOrUpdateAssetByNodeId(int nodeId, AssetCommand asset) throws Exception
AssetCommand
. Problems will be thrown as exceptions.nodeId
- related to OnmsNode.{@link
- AssetCommand}Exception
- , used asset service can throw all types of exceptionCopyright © 2017. All rights reserved.