プライベートTCComponent [] searchScheduleTemplate(){
// TODO自動生成されたメソッドスタブ
TCComponentContextList tccomponentcontextlist = NULL;
// TODO自動生成されたメソッドスタブ
TCComponentQueryTypeのtccomponentquerytype。
{試します
tccomponentquerytype =(TCComponentQueryType)session.getTypeComponent( "ImanQuery")。
TCTextService tctextservice = session.getTextService()。
TCComponentQuery tccomponentquery =(TCComponentQuery)tccomponentquerytype.find( "スケジュール...");
IF(tccomponentquery == NULL){
tccomponentquery =(TCComponentQuery)tccomponentquerytype.find( "時刻表...");
}
文字列[] = tctextservice.getTextValues(新しいString [] { "is_template"、 "is_baseline"})。
文字列AS1 [] = { "真"、 "偽"}。
tccomponentcontextlist = tccomponentquery.getExecuteResultsList(AS1、など);
}キャッチ(TCException電子){
// TODO自動生成されたcatchブロック
e.printStackTrace();
}
リターンtccomponentcontextlist.toTCComponentArray();
}