Interface OServerCommand
- All Known Implementing Classes:
OHttpMultipartRequestCommand,OrientDBMetricsCommand,OServerCommandAbstract,OServerCommandAbstractLogic,OServerCommandAuditing,OServerCommandAuthenticatedDbAbstract,OServerCommandAuthenticatedPatternAbstract,OServerCommandAuthenticatedServerAbstract,OServerCommandAuthProxy,OServerCommandBackupManager,OServerCommandConfigurableAbstract,OServerCommandDeleteClass,OServerCommandDeleteDatabase,OServerCommandDeleteDocument,OServerCommandDeleteIndex,OServerCommandDeleteProperty,OServerCommandDistributedAuthenticated,OServerCommandDistributedManager,OServerCommandDistributedScope,OServerCommandDocumentAbstract,OServerCommandETL,OServerCommandForward,OServerCommandFunction,OServerCommandGetClass,OServerCommandGetCluster,OServerCommandGetConnect,OServerCommandGetConnections,OServerCommandGetDatabase,OServerCommandGetDictionary,OServerCommandGetDisconnect,OServerCommandGetDocument,OServerCommandGetDocumentByClass,OServerCommandGetExportDatabase,OServerCommandGetFileDownload,OServerCommandGetGephi,OServerCommandGetIndex,OServerCommandGetListDatabases,OServerCommandGetNode,OServerCommandGetPing,OServerCommandGetProfiler,OServerCommandGetQuery,OServerCommandGetSecurityConfig,OServerCommandGetServer,OServerCommandGetServerVersion,OServerCommandGetSQLProfiler,OServerCommandGetSSO,OServerCommandGetStaticContent,OServerCommandGetStorageAllocation,OServerCommandGetSupportedLanguages,OServerCommandIsEnterprise,OServerCommandOptions,OServerCommandPatchDocument,OServerCommandPatternAbstract,OServerCommandPostAuthToken,OServerCommandPostBatch,OServerCommandPostClass,OServerCommandPostCommand,OServerCommandPostCommandGraph,OServerCommandPostCommandGremlin,OServerCommandPostConnection,OServerCommandPostDatabase,OServerCommandPostDocument,OServerCommandPostImportDatabase,OServerCommandPostImportRecords,OServerCommandPostInstallDatabase,OServerCommandPostKillDbConnection,OServerCommandPostProperty,OServerCommandPostSecurityReload,OServerCommandPostServer,OServerCommandPostServerCommand,OServerCommandPostStudio,OServerCommandPostUploadSingleFile,OServerCommandPutDocument,OServerCommandPutIndex,StudioPermissionCommand
public interface OServerCommand
Generic interface for server-side commands.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanafterExecute(OHttpRequest iRequest, OHttpResponse iResponse) Called after to execute.booleanbeforeExecute(OHttpRequest iRequest, OHttpResponse iResponse) Called before to execute.voidbooleanexecute(OHttpRequest iRequest, OHttpResponse iResponse) Executes the command requested.String[]getNames()
-
Method Details
-
beforeExecute
Called before to execute. Useful to make checks.- Parameters:
iResponse- TODO- Throws:
Exception
-
afterExecute
Called after to execute. Useful to free resources.- Parameters:
iResponse- TODO- Throws:
Exception
-
execute
Executes the command requested.- Returns:
- boolean value that indicates if this command is part of a chain
- Throws:
Exception
-
getNames
String[] getNames() -
configure
-