TCは、すべてのスケジュールテンプレートを取得します

プライベート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();

 

}
 

公開された13元の記事 ウォンの賞賛0 ビュー663

おすすめ

転載: blog.csdn.net/u014457991/article/details/104740281