}
List<AttributeInterface> contentAttributes = prototype.getAttributeList();
for (int i=0; i<contentAttributes.size(); i++) {
AttributeInterface attribute = contentAttributes.get(i);
if ((attribute instanceof DateAttribute) && attribute.isSearcheable()) {
attributes.add(new SelectItem(attribute.getName(), this.getText("label.attribute", new String[]{attribute.getName()})));
}
}
} catch (Throwable t) {
ApsSystemUtils.logThrowable(t, this, "getAllowedFilterTypes");
throw new ApsSystemException("Error extracting allowed filter types", t);