Hitachi

uCosminexus Service Coordinator Interactive Workflow AP開発ガイド


getParentProcessInstance

インタフェース名:CIWWorkItem

〈このページの構成〉

構文

CIWProcessInstance getParentProcessInstance(
     java.util.Set<CIWProcessInstance.AttributeName> aAttributeNames
)
     throws CIWTransientException,
     CIWFatalException,
     CIWEntityNotExistException

機能

対象となる作業が所属する案件オブジェクトを取得します。

引数

getParentProcessInstanceの引数を次の表に示します。

表5‒143 getParentProcessInstanceの引数

仮引数名

名称

in/out

説明

aAttributeNames

属性名のセット

in

取得したい案件の属性名のセットを指定します。

取得属性名を指定しない場合は,サイズ0の属性名のセットまたはnullを指定します。取得属性名にnullは指定できません。取得属性名に指定されていない場合でも,案件のIDは必ず取得します。取得できる属性は,CIWProcessInstance.AttributeName列挙型で指定できる属性です。

戻り値

作業が所属する案件オブジェクトを返します。

例外

getParentProcessInstanceで発生する例外を次の表に示します。

表5‒144 getParentProcessInstanceで発生する例外

発生する例外

説明

CIWTransientException

一時的なエラーが発生した場合

CIWFatalException

処理を続行できないような障害が発生した場合

CIWEntityNotExistException

処理しようとしたオブジェクトが存在しない場合