/** * Gets find on set. * * @return the find on set */ protected boolean getFindOnSet() { if (findOnSet != null) { return findOnSet; } Boolean autoQueryEnabled = getElementComponentDescriptor().getAutoQueryEnabled(); if (autoQueryEnabled != null) { return autoQueryEnabled; } Integer pageSize = getPageSize(); return pageSize != null && pageSize > 0; }
/** * Gets find on type. * * @return the find on type */ protected boolean getFindOnType() { if (findOnType != null) { return findOnType; } Boolean autoQueryEnabled = getElementComponentDescriptor().getAutoQueryEnabled(); if (autoQueryEnabled != null) { return autoQueryEnabled; } Integer pageSize = getPageSize(); return pageSize != null && pageSize > 0; }
moduleObjectsView.setName(getName()); if (getPageSize() != null && getPageSize() > 0) { if (moduleObjectsView.getPaginationViewDescriptor() == null) { moduleObjectsView.setPaginationViewDescriptor(getPaginationViewDescriptor());
filter.put(AbstractQueryComponentsAction.CRITERIA_REFINER, criteriaRefiner); filter.setPageSize(getPageSize()); filter.setDefaultOrderingProperties(getOrderingProperties()); filter.addPropertyChangeListener(filterComponentTracker);