org.opennms.gwt.web.ui.asset.client
Interface AssetServiceAsync


public interface AssetServiceAsync

Author:
Markus Neumann
Client side GWT Interface for asynchronous remote procedure call (RPC) at asset services. Asynchronous version of AssetService. GWT requires this asynchronous version in addition to AssetService. All method signatures have an additional AsyncCallBack parameter. AssetService and AssetServiceAsync have to be in sync.

Method Summary
 void getAssetByNodeId(int nodeId, com.google.gwt.user.client.rpc.AsyncCallback<AssetCommand> callback)
           
 void getAssetSuggestions(com.google.gwt.user.client.rpc.AsyncCallback<AssetSuggCommand> callback)
           
 void saveOrUpdateAssetByNodeId(int nodeId, AssetCommand asset, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 

Method Detail

getAssetByNodeId

void getAssetByNodeId(int nodeId,
                      com.google.gwt.user.client.rpc.AsyncCallback<AssetCommand> callback)
See Also:
AssetService.getAssetByNodeId(int nodeId)

getAssetSuggestions

void getAssetSuggestions(com.google.gwt.user.client.rpc.AsyncCallback<AssetSuggCommand> callback)
See Also:
AssetService.getAssetSuggestions()

saveOrUpdateAssetByNodeId

void saveOrUpdateAssetByNodeId(int nodeId,
                               AssetCommand asset,
                               com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
See Also:
AssetService.saveOrUpdateAssetByNodeId(int nodeId, AssetCommand asset)


Copyright © 2011. All Rights Reserved.