protected void buildDocument(Context context, Item item)
throws SQLException, IOException
{
AspectJProxyFactory pf = new AspectJProxyFactory(item);
pf.setProxyTargetClass(true);
pf.addAdvice(new CrisItemWrapper());
// ProxyFactory pf = new ProxyFactory(item);
super.buildDocument(context, (Item) pf.getProxy());
}
public <P extends Property<TP>, TP extends PropertiesDefinition, NP extends ANestedProperty<NTP>, NTP extends ANestedPropertiesDefinition, ACNO extends ACrisNestedObject<NP, NTP, P, TP>, ATNO extends ATypeNestedObject<NTP>> boolean indexCrisObject(