Uses of Class
org.nuxeo.ecm.automation.OperationException
-
-
Uses of OperationException in org.nuxeo.automation.scripting.api
Subclasses of OperationException in org.nuxeo.automation.scripting.api Modifier and Type Class Description class
ScriptingException
-
Uses of OperationException in org.nuxeo.automation.scripting.internals
Methods in org.nuxeo.automation.scripting.internals that throw OperationException Modifier and Type Method Description Object
ScriptingOperationTypeImpl. newInstance(OperationContext ctx, Map<String,Object> args)
-
Uses of OperationException in org.nuxeo.drive.elasticsearch.operations.test
Methods in org.nuxeo.drive.elasticsearch.operations.test that throw OperationException Modifier and Type Method Description void
NuxeoDriveWaitForElasticsearchCompletion. run()
-
Uses of OperationException in org.nuxeo.ecm.automation
Subclasses of OperationException in org.nuxeo.ecm.automation Modifier and Type Class Description class
ExitException
Throw it from an operation to interrupt a chain execution.class
InvalidChainException
The chain could not be validated.class
InvalidOperationException
Dedicated to bad requests: operation unsupported, invalid, not implemented...class
OperationCompoundException
class
OperationNotFoundException
class
TypeAdaptException
Fields in org.nuxeo.ecm.automation declared as OperationException Modifier and Type Field Description OperationException[]
OperationCompoundException. operationExceptions
Fields in org.nuxeo.ecm.automation with type parameters of type OperationException Modifier and Type Field Description protected List<OperationException>
OperationCompoundExceptionBuilder. accumulated
Deprecated.Methods in org.nuxeo.ecm.automation that return OperationException Modifier and Type Method Description protected OperationException
OperationCompoundExceptionBuilder. newThrowable(List<OperationException> causes)
Deprecated.OperationException
OperationException. setNoRollback()
Methods in org.nuxeo.ecm.automation with parameters of type OperationException Modifier and Type Method Description void
OperationCompoundExceptionBuilder. add(OperationException error)
Deprecated.Method parameters in org.nuxeo.ecm.automation with type arguments of type OperationException Modifier and Type Method Description protected String
OperationCompoundExceptionBuilder. getMessages(List<OperationException> causes)
Deprecated.protected OperationException
OperationCompoundExceptionBuilder. newThrowable(List<OperationException> causes)
Deprecated.Methods in org.nuxeo.ecm.automation that throw OperationException Modifier and Type Method Description protected <T,U>
TOperationContext. call(Callable<T> callable, Callable<U> initialize, Consumer<U> restore)
Calls the givencallable
after having backed up the initial state as a result ofinitialize
and restores the initial state afterwards by callingrestore
.<T> T
OperationContext. callWithChainParameters(Callable<T> callable, Map<String,Object> parameters)
Calls the givencallable
after having merged the givenparameters
with the chain parameters stored in theConstants.VAR_RUNTIME_CHAIN
context variable and restores the initial chain parameters afterwards.<T> T
OperationContext. callWithContextVar(Callable<T> callable, String key, Object value)
Calls the givencallable
after having put a variable withkey=value
in the current context and restores the initial context afterwards.void
OutputCollector. collect(OperationContext ctx, T obj)
Collects a new partial result (the result of the last iteration step).CompiledChain
AutomationService. compileChain(Class<?> inputType, OperationChain chain)
Builds the operation chain given a context.CompiledChain
AutomationService. compileChain(Class<?> inputType, OperationParameters... chain)
Same as previous but takes an array of operation parameters<T> T
AutomationService. getAdaptedValue(OperationContext ctx, Object toAdapt, Class<?> targetType)
Adapts an object to a target type if possible otherwise throws an exception.List<OperationDocumentation>
AutomationService. getDocumentation()
Generates a documentation model for all registered operations.OperationDocumentation
OperationType. getDocumentation()
Object
CompiledChain. invoke(OperationContext ctx)
Object
OperationType. newInstance(OperationContext ctx, Map<String,Object> args)
void
AutomationService. putOperation(Class<?> type)
Registers an operation given its class.void
AutomationService. putOperation(Class<?> type, boolean replace)
Registers an operation given its class.void
AutomationService. putOperation(Class<?> type, boolean replace, String contributingComponent)
Registers an operation given its class.void
AutomationService. putOperation(Class<?> type, boolean replace, String contributingComponent, List<WidgetDefinition> widgetDefinitionList)
void
AutomationService. putOperation(OperationType op, boolean replace)
Registers an operation given it's type.void
AutomationService. putOperationChain(OperationChain chain)
Deprecated.since 5.9.2 no specific chain registry anymore: chains are now operations, useAutomationService.putOperation(OperationType, boolean)
method instead.void
AutomationService. putOperationChain(OperationChain chain, boolean replace)
Deprecated.since 5.9.2 no specific chain registry anymore: chains are now operations, useAutomationService.putOperation(OperationType, boolean)
method instead.Object
AutomationService. run(OperationContext ctx, String chainId)
Same as previous but for managed chains identified by an ID.Object
AutomationService. run(OperationContext ctx, String id, Map<String,?> params)
Shortcut to execute a single operation described by the given ID and map of parametersObject
AutomationService. run(OperationContext ctx, OperationChain chain)
Builds and runs the operation chain given a context.Object
AutomationService. runInNewTx(OperationContext ctx, String chainId, Map<String,?> chainParameters, Integer timeout, boolean rollbackGlobalOnError)
This running method execute operation process through a new transaction.void
OperationCompoundExceptionBuilder. throwOnError()
Deprecated.Constructors in org.nuxeo.ecm.automation with parameters of type OperationException Constructor Description OperationCompoundException(String message, OperationException[] operationExceptions)
-
Uses of OperationException in org.nuxeo.ecm.automation.core
Methods in org.nuxeo.ecm.automation.core that throw OperationException Modifier and Type Method Description OperationChain
OperationChainContribution. toOperationChain(org.osgi.framework.Bundle bundle)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.collectors
Methods in org.nuxeo.ecm.automation.core.collectors that throw OperationException Modifier and Type Method Description void
BlobCollector. collect(OperationContext ctx, Blob obj)
void
BlobListCollector. collect(OperationContext ctx, BlobList obj)
void
DocumentModelCollector. collect(OperationContext ctx, DocumentModel obj)
void
DocumentModelListCollector. collect(OperationContext ctx, DocumentModelList obj)
void
DocumentRefCollector. collect(OperationContext ctx, DocumentRef ref)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.exception
Methods in org.nuxeo.ecm.automation.core.exception that throw OperationException Modifier and Type Method Description void
ChainExceptionRegistry. addContribution(ChainException chainException, boolean replace)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.impl
Methods in org.nuxeo.ecm.automation.core.impl with parameters of type OperationException Modifier and Type Method Description protected String
OperationServiceImpl. getChainExceptionToRun(OperationContext ctx, String operationTypeId, OperationException oe)
Methods in org.nuxeo.ecm.automation.core.impl that throw OperationException Modifier and Type Method Description void
AutomationFilterRegistry. addContribution(AutomationFilter automationFilter, boolean replace)
void
OperationTypeRegistry. addContribution(OperationType op, boolean replace)
CompiledChain
OperationChainCompiler. compile(ChainTypeImpl typeof, Class<?> typein)
CompiledChain
OperationServiceImpl. compileChain(Class<?> inputType, OperationChain chain)
CompiledChain
OperationServiceImpl. compileChain(Class<?> inputType, OperationParameters... ops)
protected OperationChainCompiler.OperationMethod
OperationChainCompiler.Connector. connect()
protected Object
InvokableIteratorMethod. doInvoke(OperationContext ctx, Map<String,Object> args)
protected Object
InvokableMethod. doInvoke(OperationContext ctx, Map<String,Object> args)
<T> T
OperationServiceImpl. getAdaptedValue(OperationContext ctx, Object toAdapt, Class<?> targetType)
protected String
OperationServiceImpl. getChainExceptionToRun(OperationContext ctx, String operationTypeId, OperationException oe)
protected Class<?>
ChainTypeImpl. getChainOutput(Class<?> chainInput, OperationChainContribution.Operation[] operations)
OperationDocumentation
ChainTypeImpl. getDocumentation()
List<OperationDocumentation>
OperationServiceImpl. getDocumentation()
protected ArrayList<String>
ChainTypeImpl. getSignature(OperationChainContribution.Operation[] operations)
void
OperationTypeImpl. inject(OperationContext ctx, Map<String,?> args, Object target)
Object
InvokableMethod. invoke(OperationContext ctx, Map<String,Object> args)
Object
OperationChainCompiler.CompiledChainImpl. invoke(OperationContext ctx)
protected Object
OperationChainCompiler.OperationMethod. invoke(OperationContext context)
Object
ChainTypeImpl. newInstance(OperationContext ctx, Map<String,Object> args)
Object
OperationTypeImpl. newInstance(OperationContext ctx, Map<String,Object> args)
void
OperationServiceImpl. putOperation(Class<?> type)
void
OperationServiceImpl. putOperation(Class<?> type, boolean replace)
void
OperationServiceImpl. putOperation(Class<?> type, boolean replace, String contributingComponent)
void
OperationServiceImpl. putOperation(Class<?> type, boolean replace, String contributingComponent, List<WidgetDefinition> widgetDefinitionList)
void
OperationServiceImpl. putOperation(OperationType op, boolean replace)
void
OperationServiceImpl. putOperationChain(OperationChain chain)
void
OperationServiceImpl. putOperationChain(OperationChain chain, boolean replace)
Object
OperationServiceImpl. run(OperationContext ctx, String operationId)
Object
OperationServiceImpl. run(OperationContext ctx, String operationId, Map<String,?> args)
Object
OperationServiceImpl. run(OperationContext ctx, OperationChain chain)
Object
OperationServiceImpl. runInNewTx(OperationContext ctx, String chainId, Map<String,?> chainParameters, Integer timeout, boolean rollbackGlobalOnError)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations
Methods in org.nuxeo.ecm.automation.core.operations that throw OperationException Modifier and Type Method Description Blob
RestoreBlobInput. run()
BlobList
RestoreBlobsInput. run()
DocumentModel
RestoreDocumentInput. run()
DocumentModelList
RestoreDocumentsInput. run()
Blob
RunInputScript. run(Blob blob)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.blob
Methods in org.nuxeo.ecm.automation.core.operations.blob that throw OperationException Modifier and Type Method Description protected void
ConcatenatePDFs. checkPdf(Blob blob)
Check if blob is a pdf.protected void
ConcatenatePDFs. handleBlobToAppend(org.apache.pdfbox.multipdf.PDFMergerUtility ut)
Check if blob to append is a PDF blob.Blob
BlobToFile. run(Blob blob)
Blob
ConcatenatePDFs. run(BlobList blobs)
Blob
ConcatenatePDFs. run(Blob blob)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.collections
Methods in org.nuxeo.ecm.automation.core.operations.collections that throw OperationException Modifier and Type Method Description DocumentModel
FetchFavorites. run()
PaginableDocumentModelListImpl
GetCollectionsOperation. run()
PaginableDocumentModelListImpl
GetDocumentsFromCollectionOperation. run(DocumentModel collection)
DocumentModelList
GetDocumentsFromFavoritesOperation. run(DocumentModel context)
Blob
SuggestCollectionEntry. run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.document
Methods in org.nuxeo.ecm.automation.core.operations.document that throw OperationException Modifier and Type Method Description protected void
AbstractOperationMultiValuedProperty. checkFieldType(Type type, Object value)
Check if the given field type store a list of values and if the given value is compatible with the given type.DocumentModel
AddEntryToMultiValuedProperty. run(DocumentModel doc)
DocumentModel
AddItemToListProperty. run(DocumentModel doc)
DocumentModel
CopySchema. run(DocumentModel target)
DocumentModel
RemoveEntryOfMultiValuedProperty. run(DocumentModel doc)
DocumentModel
RemoveItemFromListProperty. run(DocumentModel doc)
DocumentModel
ResetSchema. run(DocumentModel target)
DocumentModel
SetDocumentProperty. run(DocumentModel doc)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.execution
Methods in org.nuxeo.ecm.automation.core.operations.execution that throw OperationException Modifier and Type Method Description DocumentModel
RunDocumentChain. run(DocumentModel doc)
DocumentModelList
RunDocumentChain. run(DocumentModelList docs)
BlobList
RunFileChain. run(BlobList blobs)
Blob
RunFileChain. run(Blob blob)
void
RunInNewTransaction. run()
Deprecated.void
RunOperation. run()
void
RunOperationOnList. run()
void
RunOperationOnListInNewTransaction. run()
Deprecated. -
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.login
Methods in org.nuxeo.ecm.automation.core.operations.login that throw OperationException Modifier and Type Method Description void
LoginAs. run()
DocumentModel
LoginAs. run(DocumentModel doc)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.notification
Methods in org.nuxeo.ecm.automation.core.operations.notification that throw OperationException Modifier and Type Method Description protected String
SendMail. getContent()
DocumentModel
SendMail. run(DocumentModel doc)
protected void
SendMail. send(DocumentModel doc)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.services
Methods in org.nuxeo.ecm.automation.core.operations.services that throw OperationException Modifier and Type Method Description protected ActionContext
GetActions. getActionContext(DocumentModel currentDocument)
protected DocumentModel
BlobHolderAttach. getCurrentDocument()
protected DocumentModel
FileManagerImport. getCurrentDocument()
protected DocumentModel
FileManagerImportWithProperties. getCurrentDocument()
protected DocumentModel
GetActions. getCurrentDocumentFromContext()
DocumentModel
BlobHolderAttach. run(BlobList blobs)
DocumentModel
BlobHolderAttach. run(Blob blob)
PaginableDocumentModelListImpl
DocumentPageProviderOperation. run()
DocumentModelList
FileManagerImport. run(BlobList blobs)
DocumentModel
FileManagerImport. run(Blob blob)
DocumentModelList
FileManagerImportWithProperties. run(BlobList blobs)
DocumentModel
FileManagerImportWithProperties. run(Blob blob)
Blob
GetActions. run()
Blob
GetActions. run(DocumentModel currentDocument)
RecordSet
ResultSetPageProviderOperation. run()
void
RunOperationOnProvider. run(PaginableDocumentModelListImpl paginableList)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.services.bulk
Methods in org.nuxeo.ecm.automation.core.operations.services.bulk that throw OperationException Modifier and Type Method Description BulkStatus
BulkRunAction. run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.services.query
Methods in org.nuxeo.ecm.automation.core.operations.services.query that throw OperationException Modifier and Type Method Description DocumentModelList
DocumentPaginatedQuery. run()
RecordSet
ResultSetPaginatedQuery. run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.stack
Methods in org.nuxeo.ecm.automation.core.operations.stack that throw OperationException Modifier and Type Method Description Blob
PopBlob. run()
BlobList
PopBlobList. run()
DocumentModel
PopDocument. run()
DocumentModelList
PopDocumentList. run()
Blob
PullBlob. run()
BlobList
PullBlobList. run()
DocumentModel
PullDocument. run()
DocumentModelList
PullDocumentList. run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.users
Methods in org.nuxeo.ecm.automation.core.operations.users that throw OperationException Modifier and Type Method Description void
CreateOrUpdateGroup. run()
void
CreateOrUpdateUser. run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.rendering
Methods in org.nuxeo.ecm.automation.core.rendering that throw OperationException Modifier and Type Method Description String
MvelRender. render(String uriOrContent, Map<String,Object> root)
String
Renderer. render(String uriOrContent, Map<String,Object> root)
String
RenderingService. render(String type, String uriOrContent, OperationContext ctx)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.rendering.operations
Methods in org.nuxeo.ecm.automation.core.rendering.operations that throw OperationException Modifier and Type Method Description Blob
RenderDocument. run(DocumentModel doc)
Blob
RenderDocumentFeed. run(DocumentModelList docs)
-
Uses of OperationException in org.nuxeo.ecm.automation.core.scripting
Methods in org.nuxeo.ecm.automation.core.scripting that throw OperationException Modifier and Type Method Description static void
Scripting. run(OperationContext ctx, URL script)
-
Uses of OperationException in org.nuxeo.ecm.automation.jaxrs.io
Methods in org.nuxeo.ecm.automation.jaxrs.io that throw OperationException Modifier and Type Method Description static String
JsonWriter. exportOperations()
Used to export operations to studio.static String
JsonWriter. exportOperations(boolean filterNotInStudio)
Used to export operations to studio. -
Uses of OperationException in org.nuxeo.ecm.automation.jaxrs.io.operations
Constructors in org.nuxeo.ecm.automation.jaxrs.io.operations that throw OperationException Constructor Description AutomationInfo(AutomationService service)
-
Uses of OperationException in org.nuxeo.ecm.automation.server.jaxrs
Subclasses of OperationException in org.nuxeo.ecm.automation.server.jaxrs Modifier and Type Class Description class
RestOperationException
Automation exception to extend to be thrown during REST calls on Automation operations.Methods in org.nuxeo.ecm.automation.server.jaxrs that throw OperationException Modifier and Type Method Description AutomationInfo
AutomationResource. doGet()
Object
OperationResource. doGet()
Object
OperationResource. doGetYaml()
abstract Object
ExecutableResource. execute(ExecutionRequest req)
Object
OperationResource. execute(ExecutionRequest xreq)
-
Uses of OperationException in org.nuxeo.ecm.automation.task
Methods in org.nuxeo.ecm.automation.task that throw OperationException Modifier and Type Method Description DocumentModel
CreateTask. run(DocumentModel document)
-
Uses of OperationException in org.nuxeo.ecm.platform.signature.core.operations
Methods in org.nuxeo.ecm.platform.signature.core.operations that throw OperationException Modifier and Type Method Description Blob
SignPDF. run(Blob blob)
Blob
SignPDFDocument. run(DocumentModel doc)
-
Uses of OperationException in org.nuxeo.ecm.platform.tag.operations
Methods in org.nuxeo.ecm.platform.tag.operations that throw OperationException Modifier and Type Method Description DocumentModel
UntagDocument. run(DocumentModel document)
-
Uses of OperationException in org.nuxeo.ecm.platform.userworkspace.operations
Methods in org.nuxeo.ecm.platform.userworkspace.operations that throw OperationException Modifier and Type Method Description protected DocumentModel
UserWorkspaceCreateFromBlob. getCurrentDocument()
DocumentModelList
UserWorkspaceCreateFromBlob. run(BlobList blobs)
DocumentModel
UserWorkspaceCreateFromBlob. run(Blob blob)
-
Uses of OperationException in org.nuxeo.ecm.platform.video.tools.operations
Methods in org.nuxeo.ecm.platform.video.tools.operations that throw OperationException Modifier and Type Method Description Blob
AddWatermarkToVideo. run(Blob input)
Blob
AddWatermarkToVideo. run(DocumentModel input)
BlobList
AddWatermarkToVideo. run(DocumentModelList input)
Blob
ExtractClosedCaptionsFromVideo. run(Blob input)
Blob
ExtractClosedCaptionsFromVideo. run(DocumentModel input)
BlobList
ExtractClosedCaptionsFromVideo. run(DocumentModelList input)
Blob
SliceVideo. run(Blob input)
Blob
SliceVideo. run(DocumentModel input)
BlobList
SliceVideo. run(DocumentModelList input)
BlobList
SliceVideoInParts. run(Blob input)
BlobList
SliceVideoInParts. run(DocumentModel input)
-
Uses of OperationException in org.nuxeo.ecm.quota.automation
Methods in org.nuxeo.ecm.quota.automation that throw OperationException Modifier and Type Method Description protected String
RecomputeQuotaStatistics. getTenantPath()
protected String
RecomputeQuotaStatistics. getUserPersonalWorkspacePath()
String
RecomputeQuotaStatistics. run()
-
Uses of OperationException in org.nuxeo.ecm.restapi.server.jaxrs.management
Methods in org.nuxeo.ecm.restapi.server.jaxrs.management that throw OperationException Modifier and Type Method Description Blob
WorkManagerObject. launch(String timeoutSeconds)
Executes Works stored in the dead letter queue (DLQ) after failure. -
Uses of OperationException in org.nuxeo.importer.stream.automation
Methods in org.nuxeo.importer.stream.automation that throw OperationException Modifier and Type Method Description void
BlobConsumers. run()
void
DocumentConsumers. run()
void
FileBlobProducers. run()
void
RandomBlobProducers. run()
void
RandomDocumentProducers. run()
void
RedisDocumentConsumers. run()
-