Class UpdateOperation
- java.lang.Object
-
- org.opennms.netmgt.provision.service.operations.ImportOperation
-
- org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation
-
- org.opennms.netmgt.provision.service.operations.UpdateOperation
-
- Direct Known Subclasses:
NullUpdateOperation
public class UpdateOperation extends SaveOrUpdateOperation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.provision.service.operations.ImportOperation
ImportOperation.OperationType
-
-
Constructor Summary
Constructors Constructor Description UpdateOperation(java.lang.Integer nodeId, java.lang.String foreignSource, java.lang.String foreignId, java.lang.String nodeLabel, java.lang.String location, java.lang.String building, java.lang.String city, ProvisionService provisionService, java.lang.String rescanExisting)
Constructor for UpdateOperation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPersist()
doPersistjava.lang.String
toString()
toString-
Methods inherited from class org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation
foundAsset, foundCategory, foundInterface, foundInterfaceMetaData, foundMonitoredService, foundNodeMetaData, foundServiceMetaData, getNode, getOperationType, getRescanExisting, getScanManager, scan, updateSnmpData
-
Methods inherited from class org.opennms.netmgt.provision.service.operations.ImportOperation
getProvisionService, persist
-
-
-
-
Constructor Detail
-
UpdateOperation
public UpdateOperation(java.lang.Integer nodeId, java.lang.String foreignSource, java.lang.String foreignId, java.lang.String nodeLabel, java.lang.String location, java.lang.String building, java.lang.String city, ProvisionService provisionService, java.lang.String rescanExisting)
Constructor for UpdateOperation.
- Parameters:
nodeId
- aInteger
object.foreignSource
- aString
object.foreignId
- aString
object.nodeLabel
- aString
object.location
- aString
object.building
- aString
object.city
- aString
object.provisionService
- aProvisionService
object.rescanExisting
- aString
object
-
-
Method Detail
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
doPersist
protected void doPersist()
doPersist
- Specified by:
doPersist
in classImportOperation
-
-