/** * 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; }
/** * Gets find on set. * * @param erqDescriptor * the erq descriptor * @return the find on set */ protected boolean getFindOnSet(IReferencePropertyDescriptor<IComponent> erqDescriptor) { if (findOnSet != null) { return findOnSet; } Boolean autoQueryEnabled = erqDescriptor.getReferencedDescriptor().getAutoQueryEnabled(); if (autoQueryEnabled != null) { return autoQueryEnabled; } Integer pageSize = getPageSize(erqDescriptor); return pageSize != null && pageSize > 0; }
/** * Gets find on type. * * @param erqDescriptor * the erq descriptor * @return the find on type */ protected boolean getFindOnType(IReferencePropertyDescriptor<IComponent> erqDescriptor) { if (findOnType != null) { return findOnType; } Boolean autoQueryEnabled = erqDescriptor.getReferencedDescriptor().getAutoQueryEnabled(); if (autoQueryEnabled != null) { return autoQueryEnabled; } Integer pageSize = getPageSize(erqDescriptor); return pageSize != null && pageSize > 0; }