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 intgetActivity()java.lang.StringgetActor()java.lang.StringgetAlias()java.lang.StringgetAttachmentUID()intgetCommand()java.lang.StringgetComment()java.util.DategetDate()com.saperion.jni.SaJNIWfContextgetJNIContext()Converts to JNI context.java.lang.StringgetProcess()intgetTransition()intgetWorkingTime()booleanisSync()booleanisTrusted()voidsetActivity(int act)voidsetActor(java.lang.String actorName)voidsetAlias(java.lang.String aliasActor)voidsetAttachmentUID(java.lang.String uid)voidsetCommand(SaWFConstants.CommandId cmd)voidsetComment(java.lang.String cmt)voidsetDate(java.util.Date d)voidsetProcess(java.lang.String proc)voidsetSync(boolean isSync)voidsetTransition(int trans)voidsetTrusted(boolean isTrusted)voidsetWorkingTime(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:
getJNIContextin interfaceContextInfo- Returns:
- JNI Context
- See Also:
ContextInfo.getJNIContext()
-
getProcess
public java.lang.String getProcess()
- Specified by:
getProcessin interfaceContextInfo- Returns:
- the process
- See Also:
ContextInfo.getProcess()
-
setProcess
public void setProcess(java.lang.String proc)
- Specified by:
setProcessin interfaceContextInfo- Parameters:
proc- the process to set- See Also:
ContextInfo.setProcess(java.lang.String)
-
getCommand
public int getCommand()
- Specified by:
getCommandin interfaceContextInfo- Returns:
- the command
- See Also:
ContextInfo.getCommand()
-
setCommand
public void setCommand(SaWFConstants.CommandId cmd)
- Specified by:
setCommandin interfaceContextInfo- Parameters:
cmd- the command to set- See Also:
ContextInfo.setCommand(com.saperion.constants.SaWFConstants.CommandId)
-
getTransition
public int getTransition()
- Specified by:
getTransitionin interfaceContextInfo- Returns:
- the transition
- See Also:
ContextInfo.getTransition()
-
setTransition
public void setTransition(int trans)
- Specified by:
setTransitionin interfaceContextInfo- Parameters:
trans- the transition to set- See Also:
ContextInfo.setTransition(int)
-
getActivity
public int getActivity()
- Specified by:
getActivityin interfaceContextInfo- Returns:
- the activity
- See Also:
ContextInfo.getActivity()
-
setActivity
public void setActivity(int act)
- Specified by:
setActivityin interfaceContextInfo- Parameters:
act- the activity to set- See Also:
ContextInfo.setActivity(int)
-
getActor
public java.lang.String getActor()
- Specified by:
getActorin interfaceContextInfo- Returns:
- the actor
- See Also:
ContextInfo.getActor()
-
setActor
public void setActor(java.lang.String actorName)
- Specified by:
setActorin interfaceContextInfo- Parameters:
actorName- the actor to set- See Also:
ContextInfo.setActor(java.lang.String)
-
getAlias
public java.lang.String getAlias()
- Specified by:
getAliasin interfaceContextInfo- Returns:
- the alias
- See Also:
ContextInfo.getAlias()
-
setAlias
public void setAlias(java.lang.String aliasActor)
- Specified by:
setAliasin interfaceContextInfo- Parameters:
aliasActor- the alias to set- See Also:
ContextInfo.setAlias(java.lang.String)
-
getComment
public java.lang.String getComment()
- Specified by:
getCommentin interfaceContextInfo- Returns:
- the comment
- See Also:
ContextInfo.getComment()
-
setComment
public void setComment(java.lang.String cmt)
- Specified by:
setCommentin interfaceContextInfo- Parameters:
cmt- the comment to set- See Also:
ContextInfo.setComment(java.lang.String)
-
getDate
public java.util.Date getDate()
- Specified by:
getDatein interfaceContextInfo- Returns:
- the date
- See Also:
ContextInfo.getDate()
-
setDate
public void setDate(java.util.Date d)
- Specified by:
setDatein interfaceContextInfo- Parameters:
d- the date to set- See Also:
ContextInfo.setDate(java.util.Date)
-
getWorkingTime
public int getWorkingTime()
- Specified by:
getWorkingTimein interfaceContextInfo- Returns:
- the workingTime
- See Also:
ContextInfo.getWorkingTime()
-
setWorkingTime
public void setWorkingTime(int time)
- Specified by:
setWorkingTimein interfaceContextInfo- Parameters:
time- the workingTime to set- See Also:
ContextInfo.setWorkingTime(int)
-
isSync
public boolean isSync()
- Specified by:
isSyncin interfaceContextInfo- Returns:
- the sync
- See Also:
ContextInfo.isSync()
-
setSync
public void setSync(boolean isSync)
- Specified by:
setSyncin interfaceContextInfo- Parameters:
isSync- the sync to set- See Also:
ContextInfo.setSync(boolean)
-
isTrusted
public boolean isTrusted()
- Specified by:
isTrustedin interfaceContextInfo- Returns:
- the trusted
- See Also:
ContextInfo.isTrusted()
-
setTrusted
public void setTrusted(boolean isTrusted)
- Specified by:
setTrustedin interfaceContextInfo- Parameters:
isTrusted- the trusted to set- See Also:
ContextInfo.setTrusted(boolean)
-
getAttachmentUID
public java.lang.String getAttachmentUID()
- Specified by:
getAttachmentUIDin interfaceContextInfo- Returns:
- Attachment UID (a HDOC)
- See Also:
ContextInfo.getAttachmentUID()
-
setAttachmentUID
public void setAttachmentUID(java.lang.String uid)
- Specified by:
setAttachmentUIDin interfaceContextInfo- Parameters:
uid- Attachment UID (a HDOC)- See Also:
ContextInfo.setAttachmentUID(java.lang.String)
-
-