public interface CoreTypeFactory extends ExternalTypeFactory
Modifier and Type | Method and Description |
---|---|
RecordHolder |
getBinaryHandle(ModelInstance modelInstance,
long handleId)
Returns a
core::BinaryHandle record for the given handle id. |
GoalHolder |
getGoal(Goal goal)
Returns a
core::Goal record for the given goal. |
<E extends GOElement> |
getGoalPlan(E element)
Returns a
core::GoalPlan record for the given goal/plan. |
RecordHolder |
getModel(ModelInstance modelInstance,
long modelId)
Returns a
core::Model record for the given model id. |
RecordHolder |
getModelInstance(ModelInstance modelInstance,
long modelInstanceId)
Returns a
core::ModelInstance record for the given model instance id. |
PlanHolder |
getPlan(Plan plan)
Returns a
core::Plan record for the given plan. |
ProcessInstanceHolder |
getProcessInstance(ProcessInstance processInstance)
Returns a
core::ProcessInstance record for the given process instance. |
addToBatchLoading, addToBatchLoading, convertJavaObjectToHolder, convertValueToHolder, createRecord, getSupportedRecordTypes
RecordHolder getModel(ModelInstance modelInstance, long modelId)
core::Model
record for the given model id.modelInstance
- modelId
- RecordHolder getModelInstance(ModelInstance modelInstance, long modelInstanceId)
core::ModelInstance
record for the given model instance id.modelInstance
- the current model instancemodelInstanceId
- the target model instance idProcessInstanceHolder getProcessInstance(ProcessInstance processInstance)
core::ProcessInstance
record for the given process instance.processInstance
- the process instance<E extends GOElement> GoalPlanHolder<E> getGoalPlan(E element)
core::GoalPlan
record for the given goal/plan.E
- element
- the elementGoalHolder getGoal(Goal goal)
core::Goal
record for the given goal.goal
- the goalPlanHolder getPlan(Plan plan)
core::Plan
record for the given plan.plan
- the planRecordHolder getBinaryHandle(ModelInstance modelInstance, long handleId)
core::BinaryHandle
record for the given handle id.modelInstance
- handleId
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.