Uses of Class
org.nuxeo.ecm.automation.OperationException
Package
Description
-
Uses of OperationException in org.nuxeo.automation.scripting.api
-
Uses of OperationException in org.nuxeo.automation.scripting.internals
Modifier and TypeMethodDescriptionScriptingOperationTypeImpl.newInstance
(OperationContext ctx, Map<String, Object> args) -
Uses of OperationException in org.nuxeo.drive.elasticsearch.operations.test
-
Uses of OperationException in org.nuxeo.ecm.automation
Modifier and TypeClassDescriptionclass
Throw it from an operation to interrupt a chain execution.class
The chain could not be validated.class
Dedicated to bad requests: operation unsupported, invalid, not implemented...class
class
class
Modifier and TypeFieldDescriptionfinal OperationException[]
OperationCompoundException.operationExceptions
Modifier and TypeMethodDescriptionprotected <T,
U> T 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).AutomationService.compileChain
(Class<?> inputType, OperationChain chain) Builds the operation chain given a context.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.AutomationService.getDocumentation()
Generates a documentation model for all registered operations.OperationType.getDocumentation()
CompiledChain.invoke
(OperationContext ctx) 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.AutomationService.run
(OperationContext ctx, String chainId) Same as previous but for managed chains identified by an ID.AutomationService.run
(OperationContext ctx, String id, Map<String, ?> params) Shortcut to execute a single operation described by the given ID and map of parametersAutomationService.run
(OperationContext ctx, OperationChain chain) Builds and runs the operation chain given a context.AutomationService.runInNewTx
(OperationContext ctx, String chainId, Map<String, ?> chainParameters, Integer timeout, boolean rollbackGlobalOnError) This running method execute operation process through a new transaction.ModifierConstructorDescriptionOperationCompoundException
(String message, OperationException[] operationExceptions) -
Uses of OperationException in org.nuxeo.ecm.automation.core
Modifier and TypeMethodDescriptionOperationChainContribution.toOperationChain
(org.osgi.framework.Bundle bundle) -
Uses of OperationException in org.nuxeo.ecm.automation.core.collectors
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionvoid
ChainExceptionRegistry.addContribution
(ChainException chainException, boolean replace) -
Uses of OperationException in org.nuxeo.ecm.automation.core.impl
Modifier and TypeMethodDescriptionprotected String
OperationServiceImpl.getChainExceptionToRun
(OperationContext ctx, String operationTypeId, OperationException oe) Modifier and TypeMethodDescriptionvoid
AutomationFilterRegistry.addContribution
(AutomationFilter automationFilter, boolean replace) void
OperationTypeRegistry.addContribution
(OperationType op, boolean replace) OperationChainCompiler.compile
(ChainTypeImpl typeof, Class<?> typein) OperationServiceImpl.compileChain
(Class<?> inputType, OperationChain chain) 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) ChainTypeImpl.getDocumentation()
OperationServiceImpl.getDocumentation()
ChainTypeImpl.getSignature
(OperationChainContribution.Operation[] operations) void
OperationTypeImpl.inject
(OperationContext ctx, Map<String, ?> args, Object target) InvokableMethod.invoke
(OperationContext ctx, Map<String, Object> args) OperationChainCompiler.CompiledChainImpl.invoke
(OperationContext ctx) protected Object
OperationChainCompiler.OperationMethod.invoke
(OperationContext context) ChainTypeImpl.newInstance
(OperationContext ctx, Map<String, Object> args) 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) OperationServiceImpl.run
(OperationContext ctx, String operationId) OperationServiceImpl.run
(OperationContext ctx, String operationId, Map<String, ?> args) OperationServiceImpl.run
(OperationContext ctx, OperationChain chain) OperationServiceImpl.runInNewTx
(OperationContext ctx, String chainId, Map<String, ?> chainParameters, Integer timeout, boolean rollbackGlobalOnError) -
Uses of OperationException in org.nuxeo.ecm.automation.core.operations
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.blob
Modifier and TypeMethodDescriptionprotected void
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. -
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.collections
Modifier and TypeMethodDescriptionFetchFavorites.run()
GetCollectionsOperation.run()
GetDocumentsFromCollectionOperation.run
(DocumentModel collection) GetDocumentsFromFavoritesOperation.run
(DocumentModel context) SuggestCollectionEntry.run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.document
Modifier and TypeMethodDescriptionprotected 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.AddEntryToMultiValuedProperty.run
(DocumentModel doc) AddItemToListProperty.run
(DocumentModel doc) CopySchema.run
(DocumentModel target) RemoveEntryOfMultiValuedProperty.run
(DocumentModel doc) RemoveItemFromListProperty.run
(DocumentModel doc) ResetSchema.run
(DocumentModel target) SetDocumentProperty.run
(DocumentModel doc) -
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.execution
Modifier and TypeMethodDescriptionRunDocumentChain.run
(DocumentModel doc) RunDocumentChain.run
(DocumentModelList docs) void
RunInNewTransaction.run()
Deprecated.void
RunOperation.run()
void
RunOperationOnList.run()
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.login
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.notification
Modifier and TypeMethodDescriptionprotected String
SendMail.getContent()
protected String
SendMail.renderContent
(Map<String, Object> map) SendMail.run
(DocumentModel doc) protected void
SendMail.send
(DocumentModel doc) -
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.services
Modifier and TypeMethodDescriptionprotected ActionContext
GetActions.getActionContext
(DocumentModel currentDocument) protected DocumentModel
BlobHolderAttach.getCurrentDocument()
protected DocumentModel
FileManagerImport.getCurrentDocument()
protected DocumentModel
FileManagerImportWithProperties.getCurrentDocument()
protected DocumentModel
GetActions.getCurrentDocumentFromContext()
DocumentPageProviderOperation.run()
GetActions.run()
GetActions.run
(DocumentModel currentDocument) ResultSetPageProviderOperation.run()
void
RunOperationOnProvider.run
(PaginableDocumentModelListImpl paginableList) -
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.services.bulk
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.services.query
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.stack
-
Uses of OperationException in org.nuxeo.ecm.automation.core.operations.users
-
Uses of OperationException in org.nuxeo.ecm.automation.core.rendering
-
Uses of OperationException in org.nuxeo.ecm.automation.core.rendering.operations
Modifier and TypeMethodDescriptionRenderDocument.run
(DocumentModel doc) RenderDocumentFeed.run
(DocumentModelList docs) -
Uses of OperationException in org.nuxeo.ecm.automation.core.scripting
-
Uses of OperationException in org.nuxeo.ecm.automation.jaxrs.io
Modifier and TypeMethodDescriptionstatic 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
-
Uses of OperationException in org.nuxeo.ecm.automation.server.jaxrs
Modifier and TypeClassDescriptionclass
Automation exception to extend to be thrown during REST calls on Automation operations.Modifier and TypeMethodDescriptionAutomationResource.doGet()
OperationResource.doGet()
OperationResource.doGetYaml()
abstract Object
ExecutableResource.execute
(ExecutionRequest req) OperationResource.execute
(ExecutionRequest xreq) -
Uses of OperationException in org.nuxeo.ecm.automation.task
-
Uses of OperationException in org.nuxeo.ecm.platform.signature.core.operations
-
Uses of OperationException in org.nuxeo.ecm.platform.tag.operations
-
Uses of OperationException in org.nuxeo.ecm.platform.userworkspace.operations
Modifier and TypeMethodDescription -
Uses of OperationException in org.nuxeo.ecm.platform.video.tools.operations
Modifier and TypeMethodDescriptionAddWatermarkToVideo.run
(DocumentModel input) AddWatermarkToVideo.run
(DocumentModelList input) ExtractClosedCaptionsFromVideo.run
(DocumentModel input) ExtractClosedCaptionsFromVideo.run
(DocumentModelList input) SliceVideo.run
(DocumentModel input) SliceVideo.run
(DocumentModelList input) SliceVideoInParts.run
(DocumentModel input) -
Uses of OperationException in org.nuxeo.ecm.quota.automation
Modifier and TypeMethodDescriptionprotected String
RecomputeQuotaStatistics.getTenantPath()
protected String
RecomputeQuotaStatistics.getUserPersonalWorkspacePath()
RecomputeQuotaStatistics.run()
-
Uses of OperationException in org.nuxeo.ecm.restapi.server.jaxrs.management
-
Uses of OperationException in org.nuxeo.importer.stream.automation