/** * Constructor for complete types with most optional information, * all optionals can be null * @param prefix an entity prefix * @param title a display title * @param description (optional) display description * @param nestedPrefixes (optional) the list of nested (children) prefixes * @param entityViewKeys (optional) the list of handled views for the access provider */ public BrowseEntity(String prefix, String title, String description, String[] nestedPrefixes, String[] entityViewKeys) { this.prefix = prefix; setTitleDesc(title, description); setNestedPrefixes(nestedPrefixes); setEntityViewKeys(entityViewKeys); }
if (AccessViews.class.isAssignableFrom(evap.getClass())) { String[] entityViewKeys = ((AccessViews)evap).getHandledEntityViews(); currentBE.setEntityViewKeys(entityViewKeys);