Package ch.ivyteam.ivy.workflow
Interface IIntermediateEventElement
-
public interface IIntermediateEventElementIntermediate event element- Since:
- 30.01.2008
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IQueryResult<IIntermediateEvent>findIntermediateEvents(IPropertyFilter<IntermediateEventProperty> filter, List<PropertyOrder<IntermediateEventProperty>> order, int startIndex, int count, boolean returnAllCount)Gets the intermediate events that were created by this intermediate event elementStringgetDescription()Returns the descriptionlonggetId()Deprecated, for removal: This API element is subject to removal in a future version.StringgetIntermediateEventBeanClassName()Gets the class name of the intermediate event bean of the intermediate event elementStringgetIntermediateEventBeanConfiguration()Gets the configuration string for the intermediate event bean of the intermediate event elementStringgetName()Returns the intermediate event element nameStringgetProcessElementId()Gets the process element id of the intermediate event elementIWorkflowProcessModelVersiongetProcessModelVersion()Gets the process model versionITaskStartgetTaskStart()Gets the task start of this intermediate event elementbooleanisIntermediateEventBeanEnabled()Deprecated, for removal: This API element is subject to removal in a future version.not longer persistent (if engine is restarted, the event bean is started again)voidsetIntermediateEventBeanEnabled(boolean enabled)Deprecated, for removal: This API element is subject to removal in a future version.not longer persistent (if engine is restarted, the event bean is started again)
-
-
-
Method Detail
-
getIntermediateEventBeanClassName
String getIntermediateEventBeanClassName()
Gets the class name of the intermediate event bean of the intermediate event element- Returns:
- intermediate event bean class name
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
- Security:
- SESSION OWNS IntermediateEventElementReadEventBeanClassName PERMISSION OR OWNS IntermediateEventElementReadEventBeanClassName@SYSTEM PERMISSION
-
getIntermediateEventBeanConfiguration
String getIntermediateEventBeanConfiguration()
Gets the configuration string for the intermediate event bean of the intermediate event element- Returns:
- configuration string
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
- Security:
- SESSION OWNS IntermediateEventElementReadEventBeanConfiguration PERMISSION OR OWNS IntermediateEventElementReadEventBeanConfiguration@SYSTEM PERMISSION
-
isIntermediateEventBeanEnabled
@Deprecated(since="9.2.0", forRemoval=true) boolean isIntermediateEventBeanEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.not longer persistent (if engine is restarted, the event bean is started again)Is this intermediate event bean enabled to fire- Returns:
- true if it is enabled to start
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
- Security:
- SESSION OWNS IntermediateEventElementReadEventBeanEnabled PERMISSION OR OWNS IntermediateEventElementReadEventBeanEnabled@SYSTEM PERMISSION
-
setIntermediateEventBeanEnabled
@Deprecated(since="9.2.0", forRemoval=true) void setIntermediateEventBeanEnabled(boolean enabled)
Deprecated, for removal: This API element is subject to removal in a future version.not longer persistent (if engine is restarted, the event bean is started again)Sets the enable state of this intermediate event bean.- If given
enabledisfalseand the bean is in service stateServiceState.RUNNING, then the bean is stopped and the service state isServiceState.STOPPEDafter this call. - If given
enabledistrue, the bean is in service stateServiceState.STOPPEDand theIActivity.getActivityState()isActivityState.ACTIVE, then the bean is started and the service state isServiceState.RUNNINGafter this call.
- Parameters:
enabled- true to set enable, false to set disabled- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
- Security:
- SESSION OWNS IntermediateEventElementWriteEventBeanEnabled PERMISSION OR OWNS IntermediateEventElementWriteEventBeanEnabled@SYSTEM PERMISSION
- If given
-
getProcessModelVersion
IWorkflowProcessModelVersion getProcessModelVersion()
Gets the process model version- Returns:
- process model version
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getId
@Deprecated(since="9.2.0", forRemoval=true) long getId()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the identifier of the intermediate event element- Returns:
- identifier
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getProcessElementId
String getProcessElementId()
Gets the process element id of the intermediate event element- Returns:
- process element id
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getTaskStart
ITaskStart getTaskStart()
Gets the task start of this intermediate event element- Returns:
- task start of this process start
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getName
String getName()
Returns the intermediate event element name- Returns:
- name of process start
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
getDescription
String getDescription()
Returns the description- Returns:
- description
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
findIntermediateEvents
IQueryResult<IIntermediateEvent> findIntermediateEvents(IPropertyFilter<IntermediateEventProperty> filter, List<PropertyOrder<IntermediateEventProperty>> order, int startIndex, int count, boolean returnAllCount)
Gets the intermediate events that were created by this intermediate event element- Parameters:
filter- a filter to filter the returned intermediate events. Maybe null.order- an order to order the returned intermediate events. Maybe null.startIndex- the index of the first intermediate events of all intermediate events that is returned in the resultcount- the number of intermediate events to return in the resultreturnAllCount- if true the query result methodIQueryResult.getAllCount()returns the overall intermediate events that have been found, if false it returns -1- Returns:
- a query result with the intermediate events
- Throws:
PersistencyException- if persistency exception fails- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
- Security:
- SESSION OWNS IntermediateEventReadAll PERMISSION OR OWNS IntermediateEventReadAll@SYSTEM PERMISSION
-
-