|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.asset.AssetModel
public class AssetModel
AssetModel class.
| Nested Class Summary | |
|---|---|
static class |
AssetModel.MatchingAsset
|
| Constructor Summary | |
|---|---|
AssetModel()
|
|
| Method Summary | |
|---|---|
void |
createAsset(Asset asset)
createAsset |
Asset[] |
getAllAssets()
getAllAssets |
Asset |
getAsset(int nodeId)
getAsset |
static String[][] |
getColumns()
getColumns |
void |
modifyAsset(Asset asset)
modifyAsset |
protected static Asset[] |
rs2Assets(ResultSet rs)
rs2Assets |
static AssetModel.MatchingAsset[] |
searchAssets(String columnName,
String searchText)
searchAssets |
static AssetModel.MatchingAsset[] |
searchNodesWithAssets()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetModel()
| Method Detail |
|---|
public Asset getAsset(int nodeId)
throws SQLException
getAsset
nodeId - a int.
Asset object.
SQLException - if any.
public Asset[] getAllAssets()
throws SQLException
getAllAssets
Asset objects.
SQLException - if any.
public void createAsset(Asset asset)
throws SQLException
createAsset
asset - a Asset object.
SQLException - if any.
public void modifyAsset(Asset asset)
throws SQLException
modifyAsset
asset - a Asset object.
SQLException - if any.
public static AssetModel.MatchingAsset[] searchAssets(String columnName,
String searchText)
throws SQLException
searchAssets
columnName - a String object.searchText - a String object.
AssetModel.MatchingAsset objects.
SQLException - if any.
public static AssetModel.MatchingAsset[] searchNodesWithAssets()
throws SQLException
SQLException
protected static Asset[] rs2Assets(ResultSet rs)
throws SQLException
rs2Assets
rs - a ResultSet object.
Asset objects.
SQLException - if any.public static String[][] getColumns()
getColumns
String objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||