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 TypeMethodDescriptionintgetActor()getAlias()intgetDate()com.saperion.jni.SaJNIWfContextConverts to JNI context.intintbooleanisSync()booleanvoidsetActivity(int act) voidvoidvoidsetAttachmentUID(String uid) voidvoidsetComment(String cmt) voidvoidsetProcess(String proc) voidsetSync(boolean isSync) voidsetTransition(int trans) voidsetTrusted(boolean isTrusted) voidsetWorkingTime(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:
getJNIContextin interfaceContextInfo- Returns:
- JNI Context
- See Also:
-
getProcess
- Specified by:
getProcessin interfaceContextInfo- Returns:
- the process
- See Also:
-
setProcess
- Specified by:
setProcessin interfaceContextInfo- Parameters:
proc- the process to set- See Also:
-
getCommand
public int getCommand()- Specified by:
getCommandin interfaceContextInfo- Returns:
- the command
- See Also:
-
setCommand
- Specified by:
setCommandin interfaceContextInfo- Parameters:
cmd- the command to set- See Also:
-
getTransition
public int getTransition()- Specified by:
getTransitionin interfaceContextInfo- Returns:
- the transition
- See Also:
-
setTransition
public void setTransition(int trans) - Specified by:
setTransitionin interfaceContextInfo- Parameters:
trans- the transition to set- See Also:
-
getActivity
public int getActivity()- Specified by:
getActivityin interfaceContextInfo- Returns:
- the activity
- See Also:
-
setActivity
public void setActivity(int act) - Specified by:
setActivityin interfaceContextInfo- Parameters:
act- the activity to set- See Also:
-
getActor
- Specified by:
getActorin interfaceContextInfo- Returns:
- the actor
- See Also:
-
setActor
- Specified by:
setActorin interfaceContextInfo- Parameters:
actorName- the actor to set- See Also:
-
getAlias
- Specified by:
getAliasin interfaceContextInfo- Returns:
- the alias
- See Also:
-
setAlias
- Specified by:
setAliasin interfaceContextInfo- Parameters:
aliasActor- the alias to set- See Also:
-
getComment
- Specified by:
getCommentin interfaceContextInfo- Returns:
- the comment
- See Also:
-
setComment
- Specified by:
setCommentin interfaceContextInfo- Parameters:
cmt- the comment to set- See Also:
-
getDate
- Specified by:
getDatein interfaceContextInfo- Returns:
- the date
- See Also:
-
setDate
- Specified by:
setDatein interfaceContextInfo- Parameters:
d- the date to set- See Also:
-
getWorkingTime
public int getWorkingTime()- Specified by:
getWorkingTimein interfaceContextInfo- Returns:
- the workingTime
- See Also:
-
setWorkingTime
public void setWorkingTime(int time) - Specified by:
setWorkingTimein interfaceContextInfo- Parameters:
time- the workingTime to set- See Also:
-
isSync
public boolean isSync()- Specified by:
isSyncin interfaceContextInfo- Returns:
- the sync
- See Also:
-
setSync
public void setSync(boolean isSync) - Specified by:
setSyncin interfaceContextInfo- Parameters:
isSync- the sync to set- See Also:
-
isTrusted
public boolean isTrusted()- Specified by:
isTrustedin interfaceContextInfo- Returns:
- the trusted
- See Also:
-
setTrusted
public void setTrusted(boolean isTrusted) - Specified by:
setTrustedin interfaceContextInfo- Parameters:
isTrusted- the trusted to set- See Also:
-
getAttachmentUID
- Specified by:
getAttachmentUIDin interfaceContextInfo- Returns:
- Attachment UID (a HDOC)
- See Also:
-
setAttachmentUID
- Specified by:
setAttachmentUIDin interfaceContextInfo- Parameters:
uid- Attachment UID (a HDOC)- See Also:
-