Пример #1
0
 public static NSArray<org.pachyderm.foundation.eof.PDBPresentation> fetchAllPresentations(
     EOEditingContext editingContext, NSDictionary<String, Object> bindings) {
   EOFetchSpecification fetchSpec =
       EOFetchSpecification.fetchSpecificationNamed(
           "allPresentations", _PDBPresentation.ENTITY_NAME);
   fetchSpec = fetchSpec.fetchSpecificationWithQualifierBindings(bindings);
   return (NSArray<org.pachyderm.foundation.eof.PDBPresentation>)
       editingContext.objectsWithFetchSpecification(fetchSpec);
 }
Пример #2
0
 public static NSArray<Employee> fetchEmployees(
     EOEditingContext editingContext,
     EOQualifier qualifier,
     NSArray<EOSortOrdering> sortOrderings) {
   EOFetchSpecification fetchSpec =
       new EOFetchSpecification(_Employee.ENTITY_NAME, qualifier, sortOrderings);
   fetchSpec.setIsDeep(true);
   NSArray<Employee> eoObjects =
       (NSArray<Employee>) editingContext.objectsWithFetchSpecification(fetchSpec);
   return eoObjects;
 }
Пример #3
0
 public static NSArray<org.pachyderm.foundation.eof.PDBPresentation>
     fetchPresentationNamesAndIdentities(EOEditingContext editingContext, String authorBinding) {
   EOFetchSpecification fetchSpec =
       EOFetchSpecification.fetchSpecificationNamed(
           "presentationNamesAndIdentities", _PDBPresentation.ENTITY_NAME);
   NSMutableDictionary<String, Object> bindings = new NSMutableDictionary<String, Object>();
   bindings.takeValueForKey(authorBinding, "author");
   fetchSpec = fetchSpec.fetchSpecificationWithQualifierBindings(bindings);
   return (NSArray<org.pachyderm.foundation.eof.PDBPresentation>)
       editingContext.objectsWithFetchSpecification(fetchSpec);
 }
Пример #4
0
 public static NSArray<org.pachyderm.foundation.eof.PDBPresentation> fetchAllPresentations(
     EOEditingContext editingContext) {
   EOFetchSpecification fetchSpec =
       EOFetchSpecification.fetchSpecificationNamed(
           "allPresentations", _PDBPresentation.ENTITY_NAME);
   return (NSArray<org.pachyderm.foundation.eof.PDBPresentation>)
       editingContext.objectsWithFetchSpecification(fetchSpec);
 }