public class EntityAdd extends BaseCommand
options| Constructor and Description |
|---|
EntityAdd() |
| Modifier and Type | Method and Description |
|---|---|
void |
createItem(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine,
String id,
Bundle bundle,
PermissionScope scope,
UserProfile user,
String logMessage) |
int |
execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine)
Execute this command with the given database and parsed command
line arguments.
|
String |
getHelp()
Get information about the functionality of the command.
|
String |
getUsage()
Get a short hint about the usage of the command.
|
protected void |
setCustomOptions(org.apache.commons.cli.Options options) |
api, exec, getDetailedHelpclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHelpFooterprotected void setCustomOptions(org.apache.commons.cli.Options options)
setCustomOptions in class BaseCommandpublic String getUsage()
CommandgetUsage in interface CommandgetUsage in class BaseCommandpublic String getHelp()
CommandgetHelp in interface CommandgetHelp in class BaseCommandpublic int execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine)
throws ItemNotFound,
ValidationError,
PermissionDenied,
DeserializationError
BaseCommandexecWithOptions in interface CommandexecWithOptions in class BaseCommandgraph - the graph databasecmdLine - the parsed command line objectItemNotFoundValidationErrorPermissionDeniedDeserializationErrorpublic void createItem(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine,
String id,
Bundle bundle,
PermissionScope scope,
UserProfile user,
String logMessage)
throws DeserializationError,
ValidationError,
PermissionDenied
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.