@Override protected List<Breadcrumb> getUpdateBreadcrumbs( SimpleDataSourceDescriptor bean, HttpServletRequest req, User user, URIParser uriParser) { return CollectionUtils.getList( this.callback.getDefaultBreadcrumb(), new Breadcrumb( callback.getUpdateDataSourceBreadcrumbText() + bean.getName(), callback.getUpdateDataSourceBreadcrumbText() + bean.getName(), uriParser.getFormattedURI(), URLType.RELATIVE_FROM_CONTEXTPATH)); }
@Override protected List<Breadcrumb> getAddBreadcrumbs( HttpServletRequest req, User user, URIParser uriParser) { return CollectionUtils.getList( this.callback.getDefaultBreadcrumb(), new Breadcrumb( callback.getAddDataSourceBreadcrumbText(), callback.getAddDataSourceBreadcrumbText(), uriParser.getFormattedURI(), URLType.RELATIVE_FROM_CONTEXTPATH)); }
/** * Adds field(s) which will be excluded from select and update statements. * * @param excludedFields */ public void addExcludedFields(Field... fields) { excludedFields = CollectionUtils.addAndInstantiateIfNeeded(excludedFields, Arrays.asList(fields)); }
/** * Adds fields which will be excluded from select and update statements. * * @param excludedFields */ public void addExcludedFields(List<Field> fields) { excludedFields = CollectionUtils.addAndInstantiateIfNeeded(excludedFields, fields); }
/** * Adds a field which will be excluded from select and update statements. * * @param excludedFields */ public void addExcludedField(Field field) { excludedFields = CollectionUtils.addAndInstantiateIfNeeded(excludedFields, field); }