public static NSArray<PDBPresentation> fetchPDBPresentations( EOEditingContext editingContext, EOQualifier qualifier, NSArray<EOSortOrdering> sortOrderings) { ERXFetchSpecification<PDBPresentation> fetchSpec = new ERXFetchSpecification<PDBPresentation>( _PDBPresentation.ENTITY_NAME, qualifier, sortOrderings); NSArray<PDBPresentation> eoObjects = fetchSpec.fetchObjects(editingContext); return eoObjects; }
public static NSArray<ERRole> fetchERRoles( EOEditingContext editingContext, EOQualifier qualifier, NSArray<EOSortOrdering> sortOrderings) { ERXFetchSpecification<ERRole> fetchSpec = new ERXFetchSpecification<ERRole>(_ERRole.ENTITY_NAME, qualifier, sortOrderings); fetchSpec.setIsDeep(true); NSArray<ERRole> eoObjects = fetchSpec.fetchObjects(editingContext); return eoObjects; }