|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.opennms.gwt.web.ui.asset.server.AssetServiceImpl
@Transactional(readOnly=false) public class AssetServiceImpl
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
AssetServiceImpl()
|
|
| Method Summary | |
|---|---|
AssetCommand |
getAssetByNodeId(int nodeId)
Calling this method will return a AssetCommand with contains all
asset data and additional data for GWT asset ui. |
AssetRecordDao |
getAssetRecordDao()
getAssetRecordDao |
AssetSuggCommand |
getAssetSuggestions()
Calling this method will return an AssetSuggCommand that contains
all suggestions for all FieldSetSuggestBoxes at the GWT asset ui. |
NodeDao |
getNodeDao()
getNodeDao |
Boolean |
saveOrUpdateAssetByNodeId(int nodeId,
AssetCommand assetCommand)
Calling this method will save or update a OnmsAsset by the given AssetCommand. |
void |
setAssetRecordDao(AssetRecordDao m_assetRecordDao)
setAssetRecordDao |
void |
setNodeDao(NodeDao m_nodeDao)
setNodeDao |
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
|---|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetServiceImpl()
| Method Detail |
|---|
public AssetCommand getAssetByNodeId(int nodeId)
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.
getAssetByNodeId in interface AssetServicenodeId - related to OnmsNode.
AssetCommand by the given nodeIdpublic AssetSuggCommand getAssetSuggestions()
AssetSuggCommand that contains
all suggestions for all FieldSetSuggestBoxes at the GWT asset ui.
getAssetSuggestions in interface AssetServiceAssetSuggCommand
public Boolean saveOrUpdateAssetByNodeId(int nodeId,
AssetCommand assetCommand)
AssetCommand. Problems will be thrown as exceptions.
saveOrUpdateAssetByNodeId in interface AssetServicenodeId - related to OnmsNode.
public AssetRecordDao getAssetRecordDao()
getAssetRecordDao
OnmsAssetRecordpublic void setAssetRecordDao(AssetRecordDao m_assetRecordDao)
setAssetRecordDao
m_assetRecordDao - a OnmsAssetRecordpublic NodeDao getNodeDao()
getNodeDao
NodeDaopublic void setNodeDao(NodeDao m_nodeDao)
setNodeDao
m_nodeDao - a NodeDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||