Class InsertActionImpl
java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.common.transaction.InsertActionImpl
- All Implemented Interfaces:
org.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction
public class InsertActionImpl
extends Object
implements org.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction
An InsertActionImpl represents a single insert action within a CSW transaction.
-
Constructor Summary
ConstructorsConstructorDescriptionInsertActionImpl(String typeName, String handle, List<ddf.catalog.data.Metacard> records) Constructs an InsertActionImpl with the specified typeName, handle, and list of records to insert. -
Method Summary
-
Constructor Details
-
InsertActionImpl
Constructs an InsertActionImpl with the specified typeName, handle, and list of records to insert.If an error occurs while processing this insert action,
handlewill be included in the exception report response so the specific action within the transaction that caused the error can be identified.- Parameters:
typeName- the type of record being inserted, such as csw:Recordhandle- the name to associate with this insert actionrecords- the records to insert
-
-
Method Details
-
getRecords
- Specified by:
getRecordsin interfaceorg.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction
-
getTypeName
- Specified by:
getTypeNamein interfaceorg.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction
-
getHandle
- Specified by:
getHandlein interfaceorg.codice.ddf.spatial.ogc.csw.catalog.actions.InsertAction
-