基本的なカスタマイズ > ユーザーインタフェースのカスタマイズ > Windchill サーチのカスタマイズ > ファセットされたサーチのカスタマイズ > IBA をファセットで非表示にするためのカスタマイズ
  
IBA をファセットで非表示にするためのカスタマイズ
ファセットに表示される IBA の表示をカスタマイズできます。
FacetService インタフェースを実装する。service.properties のカスタムクラスでサービスエントリを更新します。
エレメント
パッケージ
タイプ
説明
FacetService
Com.ptc.windchill.enterprise.search.facet
インタフェース
ファセットでの IBA の表示はインタフェースによって制御されます。
カスタマイズポイント
サンプルコードに示すように、"service.properties" のカスタムクラスでサービスエントリを更新します。この例では、facetCustomClass がカスタムクラスの名前です。
wt.services/svc/default/com.ptc.windchill.enterprise.search.facet.FacetService/null/null/0=com.ptc.windchill.enterprise.search.facet.FacetCustomClass/duplicate 
継承されたメソッド FacetService.isAttributeVisible(AttributeTypeIdentifier) を実装します。isAttributeVisible API が、デフォルトで true に設定されているブール値を返します。ファセットで IBA を非表示にする場合は、false を返すように theisAttributeVisible API をカスタマイズできます。
例:
public booleanisAttributeVisible(AttributeTypeIdentifier ibaAttribute){
if(ibaAttribute.getAttributeName().equals("name of attribute")){
return false;
}
return true;
}