Package com.saperion.rmi
Class ContextInfoImpl
java.lang.Object
com.saperion.rmi.ContextInfoImpl
- All Implemented Interfaces:
ContextInfo
,Serializable
- Author:
- rbo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextInfoImpl
(String actorName, String processName, SaWFConstants.CommandId cmd) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
getActor()
getAlias()
int
getDate()
com.saperion.jni.SaJNIWfContext
Converts to JNI context.int
int
boolean
isSync()
boolean
void
setActivity
(int act) void
void
void
setAttachmentUID
(String uid) void
void
setComment
(String cmt) void
void
setProcess
(String proc) void
setSync
(boolean isSync) void
setTransition
(int trans) void
setTrusted
(boolean isTrusted) void
setWorkingTime
(int time)
-
Constructor Details
-
ContextInfoImpl
Constructor.- Parameters:
actorName
- Actor nameprocessName
- Process namecmd
- Command
-
-
Method Details
-
getJNIContext
public com.saperion.jni.SaJNIWfContext getJNIContext()Converts to JNI context.- Specified by:
getJNIContext
in interfaceContextInfo
- Returns:
- JNI Context
- See Also:
-
getProcess
- Specified by:
getProcess
in interfaceContextInfo
- Returns:
- the process
- See Also:
-
setProcess
- Specified by:
setProcess
in interfaceContextInfo
- Parameters:
proc
- the process to set- See Also:
-
getCommand
public int getCommand()- Specified by:
getCommand
in interfaceContextInfo
- Returns:
- the command
- See Also:
-
setCommand
- Specified by:
setCommand
in interfaceContextInfo
- Parameters:
cmd
- the command to set- See Also:
-
getTransition
public int getTransition()- Specified by:
getTransition
in interfaceContextInfo
- Returns:
- the transition
- See Also:
-
setTransition
public void setTransition(int trans) - Specified by:
setTransition
in interfaceContextInfo
- Parameters:
trans
- the transition to set- See Also:
-
getActivity
public int getActivity()- Specified by:
getActivity
in interfaceContextInfo
- Returns:
- the activity
- See Also:
-
setActivity
public void setActivity(int act) - Specified by:
setActivity
in interfaceContextInfo
- Parameters:
act
- the activity to set- See Also:
-
getActor
- Specified by:
getActor
in interfaceContextInfo
- Returns:
- the actor
- See Also:
-
setActor
- Specified by:
setActor
in interfaceContextInfo
- Parameters:
actorName
- the actor to set- See Also:
-
getAlias
- Specified by:
getAlias
in interfaceContextInfo
- Returns:
- the alias
- See Also:
-
setAlias
- Specified by:
setAlias
in interfaceContextInfo
- Parameters:
aliasActor
- the alias to set- See Also:
-
getComment
- Specified by:
getComment
in interfaceContextInfo
- Returns:
- the comment
- See Also:
-
setComment
- Specified by:
setComment
in interfaceContextInfo
- Parameters:
cmt
- the comment to set- See Also:
-
getDate
- Specified by:
getDate
in interfaceContextInfo
- Returns:
- the date
- See Also:
-
setDate
- Specified by:
setDate
in interfaceContextInfo
- Parameters:
d
- the date to set- See Also:
-
getWorkingTime
public int getWorkingTime()- Specified by:
getWorkingTime
in interfaceContextInfo
- Returns:
- the workingTime
- See Also:
-
setWorkingTime
public void setWorkingTime(int time) - Specified by:
setWorkingTime
in interfaceContextInfo
- Parameters:
time
- the workingTime to set- See Also:
-
isSync
public boolean isSync()- Specified by:
isSync
in interfaceContextInfo
- Returns:
- the sync
- See Also:
-
setSync
public void setSync(boolean isSync) - Specified by:
setSync
in interfaceContextInfo
- Parameters:
isSync
- the sync to set- See Also:
-
isTrusted
public boolean isTrusted()- Specified by:
isTrusted
in interfaceContextInfo
- Returns:
- the trusted
- See Also:
-
setTrusted
public void setTrusted(boolean isTrusted) - Specified by:
setTrusted
in interfaceContextInfo
- Parameters:
isTrusted
- the trusted to set- See Also:
-
getAttachmentUID
- Specified by:
getAttachmentUID
in interfaceContextInfo
- Returns:
- Attachment UID (a HDOC)
- See Also:
-
setAttachmentUID
- Specified by:
setAttachmentUID
in interfaceContextInfo
- Parameters:
uid
- Attachment UID (a HDOC)- See Also:
-