Package org.codice.ddf.commands.catalog
Class RemoveCommand
java.lang.Object
org.codice.ddf.commands.catalog.CommandSupport
org.codice.ddf.commands.catalog.SubjectCommands
org.codice.ddf.commands.catalog.CatalogCommands
org.codice.ddf.commands.catalog.CqlCommands
org.codice.ddf.commands.catalog.RemoveCommand
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
Deletes records by ID.
-
Field Summary
Fields inherited from class org.codice.ddf.commands.catalog.CqlCommands
DATE_FORMAT, DEFAULT_TEMPORAL_PROPERTYFields inherited from class org.codice.ddf.commands.catalog.CatalogCommands
bundleContext, catalogFramework, catalogProvider, DATETIME_FORMATTER, DEFAULT_NUMBER_OF_ITEMS, DEFAULT_TRANSFORMER_ID, ESCAPE, filterBuilder, isProvider, NAMESPACE, SERIALIZED_OBJECT_ID, SINGLE_WILDCARD, WILDCARDFields inherited from class org.codice.ddf.commands.catalog.SubjectCommands
security, session, userFields inherited from class org.codice.ddf.commands.catalog.CommandSupport
console, ERROR_COLOR, MS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectExecutes the command once the user has been properly authorized.Methods inherited from class org.codice.ddf.commands.catalog.CqlCommands
getFilter, getFilter, getFilterStartTime, getTemporalProperty, hasFilterMethods inherited from class org.codice.ddf.commands.catalog.CatalogCommands
getCatalog, getFormattedDuration, getFormattedDuration, getServiceByFilterMethods inherited from class org.codice.ddf.commands.catalog.SubjectCommands
executeMethods inherited from class org.codice.ddf.commands.catalog.CommandSupport
calculateRecordsPerSecond, printColor, printErrorMessage, printHeaderMessage, printProgressAndFlush, printSuccessMessage
-
Constructor Details
-
RemoveCommand
public RemoveCommand()
-
-
Method Details
-
executeWithSubject
Description copied from class:SubjectCommandsExecutes the command once the user has been properly authorized.- Specified by:
executeWithSubjectin classSubjectCommands- Returns:
- result of the command execution
- Throws:
Exception- if the command failed to run
-