org.opennms.web.asset
Class AssetModel
java.lang.Object
org.opennms.web.asset.AssetModel
public class AssetModel
- extends java.lang.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 java.sql.SQLException
- Throws:
java.sql.SQLException
getAllAssets
public Asset[] getAllAssets()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createAsset
public void createAsset(Asset asset)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
modifyAsset
public void modifyAsset(Asset asset)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
searchAssets
public static AssetModel.MatchingAsset[] searchAssets(java.lang.String columnName,
java.lang.String searchText)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
rs2Assets
protected static Asset[] rs2Assets(java.sql.ResultSet rs)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getColumns
public static java.lang.String[][] getColumns()
Copyright © 2007. All Rights Reserved.