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