|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addHistories(InstanceStamp[] instancesStamp)
|
void |
close()
This method close all connection with the directory and remove all reference with the engines and the processes. |
Presentation |
createPresentation(PresentationType presentationType,
String id,
Presentation.Column[] columns)
|
InstanceInfo |
createProcessInstance(String targetProcessId,
Arguments arguments)
Creates a new process instance in a particular process or in the active process if you use the consolidated process identification. |
InstanceInfo |
createProcessInstance(String targetProcessId,
String argumentsSetName,
Arguments arguments)
Creates a new process instance in a particular process or in the active process if you use the consolidated process identification. |
EditableView |
createView(ViewType viewType,
String viewId,
String[] assignedProcesses)
To create a view. |
GlobalExecution |
customRunGlobalActivity(String activityId,
Arguments arguments)
Runs a global activity, if it is a global creation activity, it returns a GlobalExecution representing this execution. |
String |
getActiveProcessId(String process)
Return the active process identification for the specific process. |
String[] |
getActiveProcessIdsByView(View view)
Returns the ids of the processed that are active (non deprecated) in the given View. |
String |
getActivityDocumentation(String activityId,
Locale locale)
Returns the local path of the HTML documentation for the given activity. |
Activity |
getActivityForView(ActivityView view)
Return the activity of the specific view |
String[] |
getAllProcessVersions(String process)
Return all process identifications for the specific process. |
Activity[] |
getApplicationsByView(ApplicationsView view)
Returns all the Global Activities for a given ApplicationsView |
Attachment |
getAttachment(String attachmentId)
Returns the attachment specified by instId(instId), attachmentId, and version |
Attachment |
getAttachmentLastVersion(String attachmentId)
Returns the last version of an attachment specified by instId (instId) and attachmentId |
Attachment[] |
getAttachmentsByInstance(String instanceId)
This method returns an array with all the attachments related with the passed instance. |
Attachment[] |
getAttachmentsByView(AttachmentsView view)
Returns all the working attachments for a view for the participant when something wrong occurs |
Attachment[] |
getAttachmentVersions(String attachmentId)
This method returns an array with all the versions for a given attachment. |
String[] |
getBookmarks()
|
Calendar |
getCalendar()
Returns the calendar of this session |
Map |
getChildrenViews(String viewId)
Returns the children views of the view id |
Consult |
getConsult(String instanceId)
Return a Consult over a specific instance identification. |
String[] |
getConsults()
|
Presentation |
getDefaultPresentation(PresentationType presentationType)
|
Presentation |
getDefaultPresentation(ViewType viewType)
|
EditableView |
getEditableView(View view)
Return an editable view for the specific view. |
Activity[] |
getGlobalActivities(Process[] processes)
Returns all the Global Activities. |
Activity[] |
getGlobalActivities(Process[] processes,
int type,
boolean hasInstanceAccess)
Returns all the Global Activities for a given type |
Activity[] |
getGlobalActivities(String[] processIds)
Returns all the Global Activities |
Activity[] |
getGlobalActivities(String[] processIds,
int type,
boolean hasInstanceAccess)
Returns all the Global Activities for a given type |
Activity[] |
getGrabActivitiesForInstance(InstanceInfo instance)
Return all grab activities where the instances can be grabbed |
String |
getHost()
Returns the host where the owner of this session is connected from. |
InstanceInfo |
getInstance(InstanceStamp stamp)
Returns an InstanceInfo object representing a process instance specified with the given instanceId in the given activity. |
InstanceInfo |
getInstance(String instanceId)
Returns an InstanceInfo object representing a process instance specified with the given instanceId note: Be aware that this info could be outdated at any time, so... |
InstanceInfo |
getInstanceByCorrelation(String processId,
String correlationName,
Object[] correlationValues)
Returns an InstanceInfo object representing a process instance found by using specified correlation name and values. |
fuego.lang.DynamicObject |
getInstanceData(String instanceId)
Returns the process instance data associated with the instanceId |
InstanceEvent[] |
getInstanceEvents(String instanceId)
Returns a process instance event in the specific instance Id. |
Note[] |
getInstanceNotes(String instanceId)
Returns all notes attached over the instance id specified. |
InstanceInfo[] |
getInstances(String processId)
Returns all process instance in the specific process or for all versions of the process if you use the consolidated process identification. |
InstanceInfo[] |
getInstancesByFilter(String[] processIds,
Filter filter)
Returns all the instances found using the given Filter in each Process. |
InstanceInfo[] |
getInstancesByView(InstancesView view)
Returns instances included in the passed view. |
Locale |
getLocale()
Returns the locale of this session |
Note |
getNote(String noteId)
This method returns the Note for teh given noteId. |
Note[] |
getNotes(String instanceId)
Deprecated. use getInstanceNotes(java.lang.String) instead |
String |
getOrganization()
Returns the organization name. |
View |
getParentView(View view)
Returns the parent view of the specific view |
String |
getParentViewId(String viewId)
Deprecated. |
Participant |
getParticipant()
Returns de participant for this session. |
Participant |
getParticipant(String uid)
Returns a Participant from the Directory service |
Presentation |
getPresentation(PresentationType presentationType,
String presentationId)
Returns the Presentation of the specific View Type |
Presentation |
getPresentation(String presentationId)
|
Presentation |
getPresentation(ViewType viewType,
String presentationId)
|
String[] |
getPresentationIds(PresentationType presentationType)
Returns the Presentation of the specific View Name |
Process |
getProcess(int processIn)
Return the fuego.papi.Process for the specific process identification number. |
Process |
getProcess(String processId)
Returns a Process object for the specified process identification or for the active process if you use the consolidated process id. |
ProcessDiagram |
getProcessDiagram(int processIn)
Returns a Process Diagram object for the specified process identification number. |
ProcessDiagram |
getProcessDiagram(Process process)
Returns a Process Diagram object for the specified process. |
ProcessDiagram |
getProcessDiagram(String processId)
Returns a Process Diagram object for the specified process identification or for the active process if you use the consolidated process id. |
String |
getProcessDocumentation(String processId,
Locale locale)
Returns the local path of the HTML documentation for the given process. |
Process[] |
getProcesses(boolean force)
Returns all deployed processes |
Process[] |
getProcesses(boolean onlyActiveProcess,
boolean force)
Returns all deployed processes |
String |
getProcessId(InstanceInfo instance)
Returns the ProcessId for this instance. |
String |
getProcessId(int processIn)
|
String[] |
getProcessIds()
Returns all ids deployed processes for this session |
String[] |
getProcessIds(boolean onlyActiveProcess)
Returns all ids deployed processes for this session If onlyActiveProcess is true, then the ids returned only active processes, if onlyActiveProcess is false, then the ids returned all processes, active and deprecated. |
String |
getProcessImage(String processId)
Returns the process designer image in XML format. |
int |
getProcessIn(String processId)
|
Map |
getSecureEngines()
|
TimeZone |
getTimeZone()
Returns the timezone of this session |
VarDefinition |
getVar(String variableId)
Returns a specific variable definition from all the processes this session have. |
VarDefinition[] |
getVars()
Returns all the variable definitions from all the processes this session have. |
View |
getView(String viewId)
Returns the view of the specific View Id |
String[] |
getViewIds()
Returns an array with the Ids of views for the current participant. |
String[] |
getVisibleActivities(String processId)
Returns all the visible activities for this participant in given process identification or for all versions of the consolidated process identification. |
Attachment[] |
getWorkingAttachments(String processId)
Returns all attachments currently locked by the current user in the given processes |
boolean |
hasNewInstances()
Return if the visible views (not hidden views) of this session contains new instances or not. |
boolean |
hasNewInstances(String viewId)
Return if the views contains new instances or not. |
boolean |
instanceHasAttachments(String instanceId)
Return if the instance contains attachments or not. |
boolean |
instanceHasNotes(String instanceId)
Return if the instance contains notes or not. |
boolean |
isExclusive()
Returns if this session is exlusive or not. |
boolean |
isOpened()
Asks if this session is open or not. |
void |
refresh(InstanceInfo instanceInfo)
Forces the reload of the given instance info |
Map |
retrieveRoleProperties(String roleId,
String category)
Return a java.util.Map with all properties of the role for the specific category |
Map |
retrieveUserProperties(String category)
Returns user directory properties |
String |
retrieveUserStringProperty(String category,
String key)
Returns a string user directory property |
InstanceInfo |
runGlobalActivity(String activityId)
Runs a global activity, if it is a global creation activity, it returns a process instance, null otherwise. |
InstanceInfo |
runGlobalActivity(String activityId,
Arguments arguments)
Runs a global activity, if it is a global creation activity, it returns a process instance, null otherwise. |
void |
runProcess(String targetProcessId,
String argumentsSetName,
Arguments arguments,
long timeout)
Creates a new process instance in a particular process or in the active process if you use the consolidated process identification, and waits for the instance to reach the End activity up to a specified timeout. |
Participant[] |
searchParticipantsByName(String name)
Returns an array with all the Participants that match the given name. |
void |
sendNotification(String targetInstanceOrProcessId,
String activityName,
Arguments notification)
Deprecated. use sendNotification(String,String,String,Arguments) instead. |
void |
sendNotification(String targetInstanceOrProcessId,
String activityName,
Arguments notification,
String sourceInstanceId)
Deprecated. use sendNotification(String, String, String, Arguments, String) instead |
void |
sendNotification(String targetInstanceOrProcessId,
String activityName,
String targetArgumentsSetName,
Arguments notification)
Sends a notification to a process instance. |
void |
sendNotification(String targetInstanceOrProcessId,
String activityName,
String targetArgumentsSetName,
Arguments notification,
String sourceInstanceId)
Sends a notification to a process in a parent/child relationship or for an external wait/interruption |
void |
setDefaultOrderByForViews(String variable,
boolean ascendingOrder)
Set the default order by for the views if the view doesn't have the order by This method only accept default instances variables. |
void |
setLocale(Locale locale)
Sets the locale in order to receive all messages from PAPI with this locale param locale The new locale. |
void |
setTimeZone(TimeZone timezone)
Sets the timezon in order to handle dates. |
void |
storeUserProperties(String category,
Map properties)
|
| Method Detail |
public Activity[] getGlobalActivities(Process[] processes,
int type,
boolean hasInstanceAccess)
throws BatchOperationException
processes - Array of processes where to search activities.type - Activity typehasInstanceAccess - If this Global Activity is asociated to an instance.
BatchOperationException
public Activity[] getGlobalActivities(Process[] processes)
throws BatchOperationException
processes - Array of processes where to search activities.
BatchOperationException
public Activity[] getGlobalActivities(String[] processIds,
int type,
boolean hasInstanceAccess)
throws BatchOperationException,
OperationException
processIds - Array of process ids where to search activities.type - Activity typehasInstanceAccess - If this Global Activity is asociated to an instance.
BatchOperationException
OperationException
public Activity[] getGlobalActivities(String[] processIds)
throws BatchOperationException,
OperationException
processIds - Array of process ids where to search activities.
BatchOperationException
OperationException
public boolean instanceHasAttachments(String instanceId)
throws OperationException
OperationException - Throw this exception when the session could not optain the instance.
public boolean instanceHasNotes(String instanceId)
throws OperationException
OperationException - Throw this exception when the session could not optain the instance.public String getActiveProcessId(String process)
process - Process identification or consolidated process identification
to obtain the active process identification.
public String[] getActiveProcessIdsByView(View view)
public String getActivityDocumentation(String activityId,
Locale locale)
throws OperationException
activityId - The id of the activitylocale - The locale for the documentation
OperationException - if a problem occured while getting the process information.
ProcessNotAvailableException - is the process referenced by activityID is not valid.public Activity getActivityForView(ActivityView view)
view - View to obtain the activity
public String[] getAllProcessVersions(String process)
process - Process identification or consolidated process identification
to obtain versions.
public Activity[] getApplicationsByView(ApplicationsView view)
throws OperationException,
BatchOperationException
OperationException
BatchOperationException
public Attachment getAttachment(String attachmentId)
throws OperationException
attachmentId - The desired attachment id
ParticipantException
ProcessOperationException
AttachmentOperationException
OperationException
public Attachment getAttachmentLastVersion(String attachmentId)
throws OperationException
attachmentId - The desired attachment id
AttachmentOperationException
ParticipantException
ProcessOperationException
OperationException
public Attachment[] getAttachmentVersions(String attachmentId)
throws OperationException
attachmentId - The identificator of the attachment where to gather all the versions.
OperationException
public Attachment[] getAttachmentsByInstance(String instanceId)
throws OperationException
instanceId - The identificator of the instance where to gather all the attachments
OperationException
public Attachment[] getAttachmentsByView(AttachmentsView view)
throws BatchOperationException
view -
BatchOperationException - when some attachment was not obtained.
public String[] getBookmarks()
throws OperationException
OperationExceptionpublic Calendar getCalendar()
public Map getChildrenViews(String viewId)
public Consult getConsult(String instanceId)
throws OperationException
instanceId - Instance Identification
OperationException
public String[] getConsults()
throws OperationException
OperationException
public void setDefaultOrderByForViews(String variable,
boolean ascendingOrder)
throws InvalidVariableIdException
variable - ascendingOrder -
InvalidVariableIdExceptionpublic Presentation getDefaultPresentation(PresentationType presentationType)
public Presentation getDefaultPresentation(ViewType viewType)
public EditableView getEditableView(View view)
throws ViewOperationException
view - View to obtain an editable view.
ViewOperationExceptionpublic boolean isExclusive()
public Activity[] getGrabActivitiesForInstance(InstanceInfo instance)
throws OperationException
instance - InstanceInfo to obtain the grab activities
OperationExceptionpublic String getHost()
public InstanceInfo getInstance(InstanceStamp stamp)
throws OperationException
stamp - The instance id and the activity where it is supose to be.
InstanceNotInActivityException - If the instance is no longer in the activity passed in the stamp.
ProcessOperationException
ParticipantException
OperationException
public InstanceInfo getInstance(String instanceId)
throws OperationException
instanceId - The instance id of the required process instance
ProcessOperationException
ParticipantException
OperationException
public InstanceInfo getInstanceByCorrelation(String processId,
String correlationName,
Object[] correlationValues)
throws OperationException
processId - The instance id of the required process instancecorrelationName - Name of the correlationcorrelationValues - Values used to find the instance
ProcessOperationException
ParticipantException
OperationException
public fuego.lang.DynamicObject getInstanceData(String instanceId)
throws OperationException
instanceId -
ProcessOperationException
OperationException
public InstanceEvent[] getInstanceEvents(String instanceId)
throws OperationException
instanceId -
ProcessOperationException
OperationException
public Note[] getInstanceNotes(String instanceId)
throws OperationException
instanceId -
ProcessOperationException
OperationException
public InstanceInfo[] getInstances(String processId)
throws OperationException
processId - Process identification or consolidated process identification
if you want the instances of all versions of the process.
ProcessNotAvailableException
ProcessOperationException
OperationException
public InstanceInfo[] getInstancesByFilter(String[] processIds,
Filter filter)
throws BatchOperationException
processIds - The ids of the processes where to search for instances.filter - The filter to use in order to search for instances.
BatchOperationException
public InstanceInfo[] getInstancesByView(InstancesView view)
throws OperationException,
BatchOperationException
view -
DeprecatedViewException
BatchOperationException
OperationException
public void setLocale(Locale locale)
throws OperationException
OperationExceptionpublic Locale getLocale()
public Note getNote(String noteId)
throws OperationException
noteId - The identificator of the note to be retrieved.
OperationException
public Note[] getNotes(String instanceId)
throws OperationException
getInstanceNotes(java.lang.String) instead
instanceId -
OperationExceptionpublic boolean isOpened()
public String getOrganization()
public View getParentView(View view)
throws OperationException
view - View to obtein the parent view
OperationExceptionpublic String getParentViewId(String viewId)
viewId - View id to obtein the parent view id
public Participant getParticipant()
public Participant getParticipant(String uid)
throws OperationException
ParticipantException
OperationExceptionpublic Presentation getPresentation(String presentationId)
public Presentation getPresentation(PresentationType presentationType,
String presentationId)
throws OperationException
presentationType - to look for presentations of the same PresentationTypepresentationId - Id of presentation
ViewOperationException
OperationException
public Presentation getPresentation(ViewType viewType,
String presentationId)
throws OperationException
OperationException
public String[] getPresentationIds(PresentationType presentationType)
throws OperationException
presentationType - to look for presentations of the same viewType
OperationExceptionpublic Process getProcess(int processIn)
processIn - Process identification number
public Process getProcess(String processId)
throws OperationException
processId - Process identification or Consolidated process identification for the active process.
Note: It must not be a null value.
ProcessNotAvailableException - the process can't be reached
NullPointerException - if processId is null.
OperationExceptionProcess
public ProcessDiagram getProcessDiagram(String processId)
throws OperationException
processId - Process identification or Consolidated process identification for the active process.
Note: It must not be a null value.
ProcessNotAvailableException - the process can't be reached
NullPointerException - if processId is null.
OperationExceptionProcessDiagram
public ProcessDiagram getProcessDiagram(int processIn)
throws OperationException
processIn - Process identification number.
ProcessNotAvailableException - the process can't be reached
NullPointerException - if processId is null.
OperationExceptionProcessDiagram
public ProcessDiagram getProcessDiagram(Process process)
throws OperationException
process - Process.
ProcessNotAvailableException - the process can't be reached
NullPointerException - if processId is null.
OperationExceptionProcessDiagram
public String getProcessDocumentation(String processId,
Locale locale)
throws OperationException
processId - The id of the processlocale - The locale for the documentation
OperationException - if a problem occured while getting the process information.
ProcessNotAvailableException - is the process referenced by processId is not valid.public String getProcessId(InstanceInfo instance)
public String getProcessId(int processIn)
throws ProcessNotAvailableException
ProcessNotAvailableExceptionpublic String[] getProcessIds()
public String[] getProcessIds(boolean onlyActiveProcess)
public String getProcessImage(String processId)
processId -
public int getProcessIn(String processId)
throws ProcessNotAvailableException
ProcessNotAvailableException
public Process[] getProcesses(boolean force)
throws BatchOperationException
force - false -> return only loaded processes and don't throw exception if any load process failed.
true -> return all processes and do throw exception if any load process failed.
BatchOperationException
public Process[] getProcesses(boolean onlyActiveProcess,
boolean force)
throws BatchOperationException
onlyActiveProcess - false -> return deprecated and active processes.
true -> return only active processes.force - false -> return only loaded processes and don't throw exception if any load process failed.
true -> return all processes and do throw exception if any load process failed.
BatchOperationExceptionpublic Map getSecureEngines()
public void setTimeZone(TimeZone timezone)
public TimeZone getTimeZone()
public VarDefinition getVar(String variableId)
public VarDefinition[] getVars()
public View getView(String viewId)
throws OperationException
viewId - Id of view
ViewOperationException
ProcessNotAvailableException - trying to get the participant processes
OperationException
public String[] getViewIds()
throws OperationException,
BatchOperationException
OperationException
BatchOperationException
public String[] getVisibleActivities(String processId)
throws OperationException
processId - The process where to search for visible activities.
ProcessNotAvailableException - If the process is not available.
OperationException
public Attachment[] getWorkingAttachments(String processId)
throws OperationException
processId -
ProcessNotAvailableException
AttachmentOperationException
AttachmentOperationException
ProcessNotAvailableException
ProcessOperationException
OperationException
public void addHistories(InstanceStamp[] instancesStamp)
throws OperationException
OperationExceptionpublic void close()
public Presentation createPresentation(PresentationType presentationType,
String id,
Presentation.Column[] columns)
throws ViewOperationException
ViewOperationException
public InstanceInfo createProcessInstance(String targetProcessId,
Arguments arguments)
throws OperationException
targetProcessId - Process identification or the consolidated process identification
to create the new instance.arguments - DynamicObject containing the process instance initialization data.
(Support only DynamicObject.create() to instantiate the DynamicObject).
ProcessNotAvailableException
ProcessOperationException
ParticipantException - Ex.
String myURLDirectory = "protocol://host:port/dn";
String userId = "myAlias";
String password = "myPassword";
ProcessService service = ProcessService.create(myURLDirectory);
ProcessServiceNESession neSession = service.createNESession(userId, password);
String processId = "MyProcessId";
DynamicObject arguments = DynamicObject.create();
arguments.setField(ArgumentName, ArgumentValue);
neSession.createProcessInstance(processId, arguments);
OperationExceptioncreateProcessInstance(String, String, Arguments)
public InstanceInfo createProcessInstance(String targetProcessId,
String argumentsSetName,
Arguments arguments)
throws OperationException
targetProcessId - Process identification or the consolidated process identification
to create the new instance.argumentsSetName - Which set of arguments.arguments - DynamicObject containing the process instance initialization data.
(Support only DynamicObject.create() to instantiate the DynamicObject).
ProcessNotAvailableException
ProcessOperationException
ParticipantException - Ex.
String myURLDirectory = "protocol://host:port/dn";
String userId = "myAlias";
String password = "myPassword";
ProcessService service = ProcessService.create(myURLDirectory);
ProcessServiceNESession neSession = service.createNESession(userId, password);
String processId = "MyProcessId";
DynamicObject arguments = DynamicObject.create();
arguments.setField(ArgumentName, ArgumentValue);
neSession.createProcessInstance(processId, arguments);
OperationException
public EditableView createView(ViewType viewType,
String viewId,
String[] assignedProcesses)
throws OperationException
viewType - its the view type youviewId - the key to name this new presentation. Note: use checkViewIdValue(id) here.assignedProcesses - the processes to assign to the view
ViewOperationException - the exception thrown here is InvalidViewTypeException
or ViewOperationException when the user couldn't craete a specific ViewType.
OperationExceptionViewType
public GlobalExecution customRunGlobalActivity(String activityId,
Arguments arguments)
throws OperationException
activityId - The name of the Global Creation activityarguments - Arguments of the CIL associated to the activity, if this is a global creation
these are only the output ones.
OperationException
fuego.lang.AbortedException - if the during the processing of an activity item, the execution was aborted
NoPermissionException - if the current user has no permissions to create instances in this process
fuego.components.NoSuchActivityException - if the specified activity doesn't exist in the processpublic boolean hasNewInstances(String viewId)
public boolean hasNewInstances()
throws OperationException
OperationException - Throw this exception when the session could not load the views.
public void refresh(InstanceInfo instanceInfo)
throws OperationException
instanceInfo -
ProcessOperationException
OperationException
public Map retrieveRoleProperties(String roleId,
String category)
throws OperationException
roleId - Role identificationcategory - Properties category
OperationException
public Map retrieveUserProperties(String category)
throws OperationException
category -
PropertyOperationException
OperationException
public String retrieveUserStringProperty(String category,
String key)
throws PropertyOperationException
category - key -
PropertyOperationException
public InstanceInfo runGlobalActivity(String activityId)
throws OperationException
This is the same than:
process.runGlobalActivity(activityName, null);
activityId - Activity id or consolidatad activity id to run
ProcessOperationException
fuego.lang.AbortedException - if the during the processing of an activity item, the execution was aborted
NoPermissionException - if the current user has no permissions to create instances in this process
fuego.components.NoSuchActivityException - if the specified activity doesn't exist in the process
OperationException
public InstanceInfo runGlobalActivity(String activityId,
Arguments arguments)
throws OperationException
activityId - Activity id or consolidatad activity id to runarguments - Arguments of the CIL associated to the activity, if this is a global creation
these are only the output ones.
OperationRuntimeException
fuego.lang.AbortedException - if the during the processing of an activity item, the execution was aborted
NoPermissionException - if the current user has no permissions to create instances in this process
fuego.components.NoSuchActivityException - if the specified activity doesn't exist in the process
OperationException
public void runProcess(String targetProcessId,
String argumentsSetName,
Arguments arguments,
long timeout)
throws OperationException
arguments will contain the output arguments of the process, otherwise this method
will throw a InstanceTimeoutException.
createProcessInstance(String, String, Arguments).
targetProcessId - Process identification or the consolidated process identification
to create the new instance.argumentsSetName - Which set of arguments.arguments - DynamicObject containing the process instance initialization data.
(Support only DynamicObject.create() to instantiate the DynamicObject).timeout - how much time to wait for the instance to reach the end activity. a value of
zero (0L) means wait as long as it takes.
OperationException - If something goes wrong. The specific subclass of OperationException explains
the details of the failure
InstanceAbortedException - If the instance is aborted and doesn't complete normally.
InstanceTimeoutException - If more than timeout milliseconds have passed
since this method was called and the instance hasn't reached the end activity.createProcessInstance(String, String, Arguments)
public Participant[] searchParticipantsByName(String name)
throws OperationException
name -
ParticipantNotFoundException
OperationException
public void sendNotification(String targetInstanceOrProcessId,
String activityName,
Arguments notification,
String sourceInstanceId)
throws OperationException
targetInstanceOrProcessId - instance that must receive the notificationactivityName - activity where to send the notificationnotification - set of arguments to send as notificationsourceInstanceId - instance that send the notification. Note: set null value for external notifications.
ProcessOperationException
OperationExceptionsendNotification(String, String, String, Arguments, String)
public void sendNotification(String targetInstanceOrProcessId,
String activityName,
String targetArgumentsSetName,
Arguments notification,
String sourceInstanceId)
throws OperationException
targetInstanceOrProcessId - instance that must receive the notificationactivityName - activity where to send the notificationtargetArgumentsSetName - name of the desired target argument set. Note: null value, for default setnotification - set of arguments to send as notificationsourceInstanceId - instance that send the notification. Note: set null value for external notifications.
ProcessOperationException
OperationExceptionsendNotification(String,String,String, Arguments)
public void sendNotification(String targetInstanceOrProcessId,
String activityName,
Arguments notification)
throws OperationException
targetInstanceOrProcessId - instance that must receive the notificationactivityName - activity where to send the notificationnotification - set of arguments to send as notification
OperationExceptionsendNotification(String,String,String,Arguments),
sendNotification(String,String,Arguments,String)
public void sendNotification(String targetInstanceOrProcessId,
String activityName,
String targetArgumentsSetName,
Arguments notification)
throws OperationException
targetInstanceOrProcessId - instance that must receive the notificationactivityName - activity where to send the notificationtargetArgumentsSetName - argument set chosennotification - set of arguments to send as notification
OperationExceptionsendNotification(String,String,Arguments,String)
public void storeUserProperties(String category,
Map properties)
throws OperationException
OperationException
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||