Class InsertOperation
- java.lang.Object
-
- org.opennms.netmgt.provision.service.operations.ImportOperation
-
- org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation
-
- org.opennms.netmgt.provision.service.operations.InsertOperation
-
public class InsertOperation 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 InsertOperation(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)
Constructor for InsertOperation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPersist()
doPersistImportOperation.OperationType
getOperationType()
java.lang.String
toString()
toString-
Methods inherited from class org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation
foundAsset, foundCategory, foundInterface, foundInterfaceMetaData, foundMonitoredService, foundNodeMetaData, foundServiceMetaData, getNode, getRescanExisting, getScanManager, scan, updateSnmpData
-
Methods inherited from class org.opennms.netmgt.provision.service.operations.ImportOperation
getProvisionService, persist
-
-
-
-
Constructor Detail
-
InsertOperation
public InsertOperation(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)
Constructor for InsertOperation.
- Parameters:
foreignSource
- aString
object.foreignId
- aString
object.nodeLabel
- aString
object.location
- aString
object.building
- aString
object.city
- aString
object.provisionService
- aProvisionService
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
-
getOperationType
public ImportOperation.OperationType getOperationType()
- Overrides:
getOperationType
in classSaveOrUpdateOperation
-
-