org.opennms.web.asset
Class AssetModel
java.lang.Object
org.opennms.web.asset.AssetModel
public class AssetModel
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetModel
public AssetModel()
getAsset
public Asset getAsset(int nodeId)
throws SQLException
- Throws:
SQLException
getAllAssets
public Asset[] getAllAssets()
throws SQLException
- Throws:
SQLException
createAsset
public void createAsset(Asset asset)
throws SQLException
- Throws:
SQLException
modifyAsset
public void modifyAsset(Asset asset)
throws SQLException
- Throws:
SQLException
searchAssets
public static AssetModel.MatchingAsset[] searchAssets(String columnName,
String searchText)
throws SQLException
- Throws:
SQLException
rs2Assets
protected static Asset[] rs2Assets(ResultSet rs)
throws SQLException
- Throws:
SQLException
getColumns
public static String[][] getColumns()
Copyright © 2009. All Rights Reserved.