Package system.activities
Class NativeActivityContext
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.activities.ActivityContext
-
- system.activities.NativeActivityContext
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
NativeActivityFaultContext
,NativeActivityTransactionContext
public class NativeActivityContext extends ActivityContext
The base .NET class managing System.Activities.NativeActivityContext, System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Activities.NativeActivityContext
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.Activitiesstatic java.lang.String
className
Qualified class name: System.Activities.NativeActivityContextstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description NativeActivityContext()
NativeActivityContext(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.activities.ActivityContext
getActivityInstanceId, getDataContext, GetValue, GetValue, getWorkflowInstanceId, SetValue
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Activities- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Activities.NativeActivityContext- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classActivityContext
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classActivityContext
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classActivityContext
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classActivityContext
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classActivityContext
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classActivityContext
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static NativeActivityContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoNativeActivityContext
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
NativeActivityContext
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
RemoveBookmark
public boolean RemoveBookmark(Bookmark bookmark) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
RemoveBookmark
public boolean RemoveBookmark(java.lang.String name) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
RemoveBookmark
public boolean RemoveBookmark(java.lang.String name, BookmarkScope scope) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
ScheduleAction
public ActivityInstance ScheduleAction(ActivityAction activityAction, CompletionCallback onCompleted, FaultCallback onFaulted) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException, NullReferenceException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
FormatException
NullReferenceException
-
ScheduleActivity
public ActivityInstance ScheduleActivity(Activity activity) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
ScheduleActivity
public ActivityInstance ScheduleActivity(Activity activity, CompletionCallback onCompleted) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
ScheduleActivity
public ActivityInstance ScheduleActivity(Activity activity, CompletionCallback onCompleted, FaultCallback onFaulted) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException
-
ScheduleActivity
public ActivityInstance ScheduleActivity(Activity activity, FaultCallback onFaulted) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
CreateBookmark
public Bookmark CreateBookmark() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, MulticastNotSupportedException, ArgumentNullException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
MulticastNotSupportedException
ArgumentNullException
NotImplementedException
CultureNotFoundException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
FormatException
-
CreateBookmark
public Bookmark CreateBookmark(BookmarkCallback callback) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
CreateBookmark
public Bookmark CreateBookmark(BookmarkCallback callback, BookmarkOptions options) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException, XmlException
-
CreateBookmark
public Bookmark CreateBookmark(java.lang.String name) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException, XmlException
-
CreateBookmark
public Bookmark CreateBookmark(java.lang.String name, BookmarkCallback callback) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
CreateBookmark
public Bookmark CreateBookmark(java.lang.String name, BookmarkCallback callback, BookmarkOptions options) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException, XmlException
-
CreateBookmark
public Bookmark CreateBookmark(java.lang.String name, BookmarkCallback callback, BookmarkScope scope) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
CreateBookmark
public Bookmark CreateBookmark(java.lang.String name, BookmarkCallback callback, BookmarkScope scope, BookmarkOptions options) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException
-
ResumeBookmark
public BookmarkResumptionResult ResumeBookmark(Bookmark bookmark, NetObject value) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NullReferenceException
-
GetValue
public NetObject GetValue(Variable variable) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
Abort
public void Abort() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
-
Abort
public void Abort(NetException reason) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException
-
AbortChildInstance
public void AbortChildInstance(ActivityInstance activity) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, TransactionException, KeyNotFoundException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
TransactionException
KeyNotFoundException
-
AbortChildInstance
public void AbortChildInstance(ActivityInstance activity, NetException reason) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, KeyNotFoundException, ObjectDisposedException, TransactionException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
KeyNotFoundException
ObjectDisposedException
TransactionException
-
CancelChild
public void CancelChild(ActivityInstance activityInstance) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NullReferenceException
-
CancelChildren
public void CancelChildren() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
MarkCanceled
public void MarkCanceled() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
RemoveAllBookmarks
public void RemoveAllBookmarks() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, KeyNotFoundException
-
SetValue
public void SetValue(Variable variable, NetObject value) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
Track
public void Track(CustomTrackingRecord record) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
getIsCancellationRequested
public boolean getIsCancellationRequested() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
getDefaultBookmarkScope
public BookmarkScope getDefaultBookmarkScope() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
getProperties
public ExecutionProperties getProperties() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
-
-