system.activities.WorkflowApplication Maven / Gradle / Ivy
/*
* MIT License
*
* Copyright (c) 2024 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**************************************************************************************
*
* This code was generated from a template using JCOReflector v. 1.15.0.0
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
*
*************************************************************************************/
package system.activities;
import org.mases.jcobridge.*;
import org.mases.jcobridge.netreflection.*;
import java.util.ArrayList;
// Import section
import system.activities.hosting.WorkflowInstance;
import system.activities.Activity;
import system.activities.WorkflowIdentity;
import system.activities.BookmarkResumptionResult;
import system.IAsyncResult;
import system.IAsyncResultImplementation;
import system.activities.Bookmark;
import system.TimeSpan;
import system.activities.WorkflowApplicationInstance;
import system.Guid;
import system.runtime.durableinstancing.InstanceStore;
import system.AsyncCallback;
import system.activities.WorkflowIdentityFilter;
import system.activities.dynamicupdate.DynamicUpdateMap;
import system.activities.hosting.WorkflowInstanceExtensionManager;
/**
* The base .NET class managing System.Activities.WorkflowApplication, System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
*
*
* .NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Activities.WorkflowApplication
*
*
* Powered by JCOBridge: more info at https://www.jcobridge.com
*
* @author MASES s.r.l https://masesgroup.com
* @version 1.15.0.0
*/
public class WorkflowApplication extends WorkflowInstance {
/**
* Fully assembly qualified name: System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
*/
public static final String assemblyFullName = "System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
/**
* Assembly name: System.Activities
*/
public static final String assemblyShortName = "System.Activities";
/**
* Qualified class name: System.Activities.WorkflowApplication
*/
public static final String className = "System.Activities.WorkflowApplication";
static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
/**
* The type managed from JCOBridge. See {@link JCType}
*/
public static JCType classType = createType();
static JCEnum enumInstance = null;
JCObject classInstance = null;
static JCType createType() {
try {
String classToCreate = className + ", "
+ (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
if (JCOReflector.getDebug())
JCOReflector.writeLog("Creating %s", classToCreate);
JCType typeCreated = bridge.GetType(classToCreate);
if (JCOReflector.getDebug())
JCOReflector.writeLog("Created: %s",
(typeCreated != null) ? typeCreated.toString() : "Returned null value");
return typeCreated;
} catch (JCException e) {
JCOReflector.writeLog(e);
return null;
}
}
void addReference(String ref) throws Throwable {
try {
bridge.AddReference(ref);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
/**
* Internal constructor. Use with caution
*/
public WorkflowApplication(java.lang.Object instance) throws Throwable {
super(instance);
if (instance instanceof JCObject) {
classInstance = (JCObject) instance;
} else
throw new Exception("Cannot manage object, it is not a JCObject");
}
public String getJCOAssemblyName() {
return assemblyFullName;
}
public String getJCOClassName() {
return className;
}
public String getJCOObjectName() {
return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
}
public java.lang.Object getJCOInstance() {
return classInstance;
}
public void setJCOInstance(JCObject instance) {
classInstance = instance;
super.setJCOInstance(classInstance);
}
public JCType getJCOType() {
return classType;
}
/**
* Try to cast the {@link IJCOBridgeReflected} instance into {@link WorkflowApplication}, a cast assert is made to check if types are compatible.
* @param from {@link IJCOBridgeReflected} instance to be casted
* @return {@link WorkflowApplication} instance
* @throws java.lang.Throwable in case of error during cast operation
*/
public static WorkflowApplication cast(IJCOBridgeReflected from) throws Throwable {
NetType.AssertCast(classType, from);
return new WorkflowApplication(from.getJCOInstance());
}
// Constructors section
public WorkflowApplication() throws Throwable {
}
public WorkflowApplication(Activity workflowDefinition) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException {
try {
// add reference to assemblyName.dll file
addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
setJCOInstance((JCObject)classType.NewObject(workflowDefinition == null ? null : workflowDefinition.getJCOInstance()));
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public WorkflowApplication(Activity workflowDefinition, WorkflowIdentity definitionIdentity) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException {
try {
// add reference to assemblyName.dll file
addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
setJCOInstance((JCObject)classType.NewObject(workflowDefinition == null ? null : workflowDefinition.getJCOInstance(), definitionIdentity == null ? null : definitionIdentity.getJCOInstance()));
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
// Methods section
public BookmarkResumptionResult EndResumeBookmark(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objEndResumeBookmark = (JCObject)classInstance.Invoke("EndResumeBookmark", result == null ? null : result.getJCOInstance());
return new BookmarkResumptionResult(objEndResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public BookmarkResumptionResult ResumeBookmark(Bookmark bookmark, NetObject value) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objResumeBookmark = (JCObject)classInstance.Invoke("ResumeBookmark", bookmark == null ? null : bookmark.getJCOInstance(), value == null ? null : value.getJCOInstance());
return new BookmarkResumptionResult(objResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public BookmarkResumptionResult ResumeBookmark(Bookmark bookmark, NetObject value, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objResumeBookmark = (JCObject)classInstance.Invoke("ResumeBookmark", bookmark == null ? null : bookmark.getJCOInstance(), value == null ? null : value.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
return new BookmarkResumptionResult(objResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public BookmarkResumptionResult ResumeBookmark(java.lang.String bookmarkName, NetObject value) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objResumeBookmark = (JCObject)classInstance.Invoke("ResumeBookmark", bookmarkName, value == null ? null : value.getJCOInstance());
return new BookmarkResumptionResult(objResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public BookmarkResumptionResult ResumeBookmark(java.lang.String bookmarkName, NetObject value, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objResumeBookmark = (JCObject)classInstance.Invoke("ResumeBookmark", bookmarkName, value == null ? null : value.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
return new BookmarkResumptionResult(objResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static WorkflowApplicationInstance EndGetInstance(IAsyncResult asyncResult) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objEndGetInstance = (JCObject)classType.Invoke("EndGetInstance", asyncResult == null ? null : asyncResult.getJCOInstance());
return new WorkflowApplicationInstance(objEndGetInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static WorkflowApplicationInstance EndGetRunnableInstance(IAsyncResult asyncResult) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objEndGetRunnableInstance = (JCObject)classType.Invoke("EndGetRunnableInstance", asyncResult == null ? null : asyncResult.getJCOInstance());
return new WorkflowApplicationInstance(objEndGetRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static WorkflowApplicationInstance GetInstance(Guid instanceId, InstanceStore instanceStore) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.ObjectDisposedException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objGetInstance = (JCObject)classType.Invoke("GetInstance", instanceId == null ? null : instanceId.getJCOInstance(), instanceStore == null ? null : instanceStore.getJCOInstance());
return new WorkflowApplicationInstance(objGetInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static WorkflowApplicationInstance GetInstance(Guid instanceId, InstanceStore instanceStore, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.transactions.TransactionException, system.OutOfMemoryException, system.collections.generic.KeyNotFoundException, system.OperationCanceledException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objGetInstance = (JCObject)classType.Invoke("GetInstance", instanceId == null ? null : instanceId.getJCOInstance(), instanceStore == null ? null : instanceStore.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
return new WorkflowApplicationInstance(objGetInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static WorkflowApplicationInstance GetRunnableInstance(InstanceStore instanceStore) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.OverflowException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.ObjectDisposedException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objGetRunnableInstance = (JCObject)classType.Invoke("GetRunnableInstance", instanceStore == null ? null : instanceStore.getJCOInstance());
return new WorkflowApplicationInstance(objGetRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static WorkflowApplicationInstance GetRunnableInstance(InstanceStore instanceStore, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.transactions.TransactionException, system.OutOfMemoryException, system.collections.generic.KeyNotFoundException, system.OperationCanceledException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objGetRunnableInstance = (JCObject)classType.Invoke("GetRunnableInstance", instanceStore == null ? null : instanceStore.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
return new WorkflowApplicationInstance(objGetRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginCancel(AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginCancel = (JCObject)classInstance.Invoke("BeginCancel", callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginCancel);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginCancel(TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginCancel = (JCObject)classInstance.Invoke("BeginCancel", timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginCancel);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginCreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.NullReferenceException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginCreateDefaultInstanceOwner = (JCObject)classType.Invoke("BeginCreateDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), definitionIdentity == null ? null : definitionIdentity.getJCOInstance(), identityFilter == null ? null : identityFilter.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginCreateDefaultInstanceOwner);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginCreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.NotSupportedException, system.PlatformNotSupportedException, system.transactions.TransactionException, system.transactions.TransactionManagerCommunicationException, system.configuration.ConfigurationException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginCreateDefaultInstanceOwner = (JCObject)classType.Invoke("BeginCreateDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), definitionIdentity == null ? null : definitionIdentity.getJCOInstance(), identityFilter == null ? null : identityFilter.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginCreateDefaultInstanceOwner);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginDeleteDefaultInstanceOwner(InstanceStore instanceStore, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.NotSupportedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.OverflowException, system.NullReferenceException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginDeleteDefaultInstanceOwner = (JCObject)classType.Invoke("BeginDeleteDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginDeleteDefaultInstanceOwner);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginDeleteDefaultInstanceOwner(InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.NotSupportedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.OverflowException, system.PlatformNotSupportedException, system.transactions.TransactionException, system.transactions.TransactionManagerCommunicationException, system.configuration.ConfigurationException, system.TimeoutException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginDeleteDefaultInstanceOwner = (JCObject)classType.Invoke("BeginDeleteDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginDeleteDefaultInstanceOwner);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginGetInstance(Guid instanceId, InstanceStore instanceStore, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginGetInstance = (JCObject)classType.Invoke("BeginGetInstance", instanceId == null ? null : instanceId.getJCOInstance(), instanceStore == null ? null : instanceStore.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginGetInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginGetInstance(Guid instanceId, InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginGetInstance = (JCObject)classType.Invoke("BeginGetInstance", instanceId == null ? null : instanceId.getJCOInstance(), instanceStore == null ? null : instanceStore.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginGetInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginGetRunnableInstance(InstanceStore instanceStore, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.OverflowException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginGetRunnableInstance = (JCObject)classType.Invoke("BeginGetRunnableInstance", instanceStore == null ? null : instanceStore.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginGetRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static IAsyncResult BeginGetRunnableInstance(InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.NullReferenceException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBeginGetRunnableInstance = (JCObject)classType.Invoke("BeginGetRunnableInstance", instanceStore == null ? null : instanceStore.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginGetRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoad = (JCObject)classInstance.Invoke("BeginLoad", instance == null ? null : instance.getJCOInstance(), updateMap == null ? null : updateMap.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoad);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.NullReferenceException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoad = (JCObject)classInstance.Invoke("BeginLoad", instance == null ? null : instance.getJCOInstance(), updateMap == null ? null : updateMap.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoad);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoad = (JCObject)classInstance.Invoke("BeginLoad", instance == null ? null : instance.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoad);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoad = (JCObject)classInstance.Invoke("BeginLoad", instance == null ? null : instance.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoad);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoad(Guid instanceId, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoad = (JCObject)classInstance.Invoke("BeginLoad", instanceId == null ? null : instanceId.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoad);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoad(Guid instanceId, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoad = (JCObject)classInstance.Invoke("BeginLoad", instanceId == null ? null : instanceId.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoad);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoadRunnableInstance(AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.PlatformNotSupportedException, system.NotSupportedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoadRunnableInstance = (JCObject)classInstance.Invoke("BeginLoadRunnableInstance", callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoadRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginLoadRunnableInstance(TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.NullReferenceException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.FormatException, system.transactions.TransactionException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginLoadRunnableInstance = (JCObject)classInstance.Invoke("BeginLoadRunnableInstance", timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginLoadRunnableInstance);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginPersist(AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.NullReferenceException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.NotSupportedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginPersist = (JCObject)classInstance.Invoke("BeginPersist", callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginPersist);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginPersist(TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.transactions.TransactionException, system.transactions.TransactionManagerCommunicationException, system.ObjectDisposedException, system.FormatException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.OverflowException, system.TimeoutException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginPersist = (JCObject)classInstance.Invoke("BeginPersist", timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginPersist);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginResumeBookmark(Bookmark bookmark, NetObject value, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginResumeBookmark = (JCObject)classInstance.Invoke("BeginResumeBookmark", bookmark == null ? null : bookmark.getJCOInstance(), value == null ? null : value.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginResumeBookmark(Bookmark bookmark, NetObject value, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginResumeBookmark = (JCObject)classInstance.Invoke("BeginResumeBookmark", bookmark == null ? null : bookmark.getJCOInstance(), value == null ? null : value.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginResumeBookmark(java.lang.String bookmarkName, NetObject value, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginResumeBookmark = (JCObject)classInstance.Invoke("BeginResumeBookmark", bookmarkName, value == null ? null : value.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginResumeBookmark(java.lang.String bookmarkName, NetObject value, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginResumeBookmark = (JCObject)classInstance.Invoke("BeginResumeBookmark", bookmarkName, value == null ? null : value.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginResumeBookmark);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginRun(AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.MulticastNotSupportedException, system.ArgumentNullException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginRun = (JCObject)classInstance.Invoke("BeginRun", callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginRun);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginRun(TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginRun = (JCObject)classInstance.Invoke("BeginRun", timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginRun);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginTerminate(NetException reason, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginTerminate = (JCObject)classInstance.Invoke("BeginTerminate", reason == null ? null : reason.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginTerminate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginTerminate(NetException reason, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginTerminate = (JCObject)classInstance.Invoke("BeginTerminate", reason == null ? null : reason.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginTerminate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginTerminate(java.lang.String reason, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginTerminate = (JCObject)classInstance.Invoke("BeginTerminate", reason, callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginTerminate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginTerminate(java.lang.String reason, TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginTerminate = (JCObject)classInstance.Invoke("BeginTerminate", reason, timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginTerminate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginUnload(AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.NullReferenceException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.NotSupportedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginUnload = (JCObject)classInstance.Invoke("BeginUnload", callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginUnload);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public IAsyncResult BeginUnload(TimeSpan timeout, AsyncCallback callback, NetObject state) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.transactions.TransactionException, system.transactions.TransactionManagerCommunicationException, system.ObjectDisposedException, system.FormatException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.OverflowException, system.TimeoutException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objBeginUnload = (JCObject)classInstance.Invoke("BeginUnload", timeout == null ? null : timeout.getJCOInstance(), callback, state == null ? null : state.getJCOInstance());
return new IAsyncResultImplementation(objBeginUnload);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Abort() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.TypeLoadException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, system.OutOfMemoryException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.FormatException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Abort");
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Abort(java.lang.String reason) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.collections.generic.KeyNotFoundException, system.ArgumentOutOfRangeException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Abort", reason);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Cancel() throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Cancel");
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Cancel(TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Cancel", timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static void CreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException, system.OperationCanceledException, system.TimeoutException, system.ObjectDisposedException, system.transactions.TransactionException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
classType.Invoke("CreateDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), definitionIdentity == null ? null : definitionIdentity.getJCOInstance(), identityFilter == null ? null : identityFilter.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static void CreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.NotSupportedException, system.NullReferenceException, system.OperationCanceledException, system.TimeoutException, system.transactions.TransactionException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
classType.Invoke("CreateDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), definitionIdentity == null ? null : definitionIdentity.getJCOInstance(), identityFilter == null ? null : identityFilter.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static void DeleteDefaultInstanceOwner(InstanceStore instanceStore) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.OverflowException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.OperationCanceledException, system.TimeoutException, system.ObjectDisposedException, system.transactions.TransactionException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
classType.Invoke("DeleteDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static void DeleteDefaultInstanceOwner(InstanceStore instanceStore, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.NullReferenceException, system.OperationCanceledException, system.TimeoutException, system.transactions.TransactionException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
classType.Invoke("DeleteDefaultInstanceOwner", instanceStore == null ? null : instanceStore.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndCancel(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndCancel", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static void EndCreateDefaultInstanceOwner(IAsyncResult asyncResult) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
classType.Invoke("EndCreateDefaultInstanceOwner", asyncResult == null ? null : asyncResult.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static void EndDeleteDefaultInstanceOwner(IAsyncResult asyncResult) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
classType.Invoke("EndDeleteDefaultInstanceOwner", asyncResult == null ? null : asyncResult.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndLoad(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndLoad", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndLoadRunnableInstance(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndLoadRunnableInstance", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndPersist(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndPersist", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndRun(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndRun", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndTerminate(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndTerminate", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void EndUnload(IAsyncResult result) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.threading.WaitHandleCannotBeOpenedException, system.io.FileNotFoundException, system.io.DirectoryNotFoundException, system.UnauthorizedAccessException, system.io.IOException, system.io.PathTooLongException, system.io.DriveNotFoundException, system.OperationCanceledException, system.ObjectDisposedException, system.threading.AbandonedMutexException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("EndUnload", result == null ? null : result.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Load(WorkflowApplicationInstance instance) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.MulticastNotSupportedException, system.ArgumentNullException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.transactions.TransactionException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Load", instance == null ? null : instance.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Load(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Load", instance == null ? null : instance.getJCOInstance(), updateMap == null ? null : updateMap.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Load(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException, system.PlatformNotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.ObjectDisposedException, system.FormatException, system.transactions.TransactionException, system.OutOfMemoryException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Load", instance == null ? null : instance.getJCOInstance(), updateMap == null ? null : updateMap.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Load(WorkflowApplicationInstance instance, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Load", instance == null ? null : instance.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Load(Guid instanceId) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Load", instanceId == null ? null : instanceId.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Load(Guid instanceId, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException, system.PlatformNotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.ObjectDisposedException, system.FormatException, system.transactions.TransactionException, system.OutOfMemoryException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Load", instanceId == null ? null : instanceId.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void LoadRunnableInstance() throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("LoadRunnableInstance");
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void LoadRunnableInstance(TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException, system.PlatformNotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.ObjectDisposedException, system.FormatException, system.transactions.TransactionException, system.OutOfMemoryException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("LoadRunnableInstance", timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Persist() throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Persist");
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Persist(TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException, system.PlatformNotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.ObjectDisposedException, system.FormatException, system.transactions.TransactionException, system.OutOfMemoryException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Persist", timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void RunNewWorkflowApplication() throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.MulticastNotSupportedException, system.ArgumentNullException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Run");
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Run(TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Run", timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void TerminateNewWorkflowApplication(NetException reason) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Terminate", reason == null ? null : reason.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Terminate(NetException reason, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Terminate", reason == null ? null : reason.getJCOInstance(), timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Terminate(java.lang.String reason) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Terminate", reason);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Terminate(java.lang.String reason, TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Terminate", reason, timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Unload() throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.activities.ValidationException, system.PlatformNotSupportedException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.transactions.TransactionException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Unload");
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void Unload(TimeSpan timeout) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.activities.ValidationException, system.PlatformNotSupportedException, system.configuration.ConfigurationErrorsException, system.configuration.ConfigurationException, system.ObjectDisposedException, system.FormatException, system.transactions.TransactionException, system.OutOfMemoryException, system.OperationCanceledException, system.TimeoutException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Invoke("Unload", timeout == null ? null : timeout.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
// Properties section
public WorkflowInstanceExtensionManager getExtensions() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject val = (JCObject)classInstance.Get("Extensions");
return new WorkflowInstanceExtensionManager(val);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public InstanceStore getInstanceStore() throws Throwable {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject val = (JCObject)classInstance.Get("InstanceStore");
return new InstanceStore(val);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public void setInstanceStore(InstanceStore InstanceStore) throws Throwable, system.IndexOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
classInstance.Set("InstanceStore", InstanceStore == null ? null : InstanceStore.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
// Instance Events section
}