예제 #1
0
파일: _Group.java 프로젝트: VboxNick/wounit
 public static NSArray<Group> fetchGroups(
     EOEditingContext editingContext,
     EOQualifier qualifier,
     NSArray<EOSortOrdering> sortOrderings) {
   EOFetchSpecification fetchSpec =
       new EOFetchSpecification(_Group.ENTITY_NAME, qualifier, sortOrderings);
   fetchSpec.setIsDeep(true);
   NSArray<Group> eoObjects =
       (NSArray<Group>) editingContext.objectsWithFetchSpecification(fetchSpec);
   return eoObjects;
 }
 public static NSArray<ERSyncClientDevice> fetchERSyncClientDevices(
     EOEditingContext editingContext,
     EOQualifier qualifier,
     NSArray<EOSortOrdering> sortOrderings) {
   EOFetchSpecification fetchSpec =
       new EOFetchSpecification(_ERSyncClientDevice.ENTITY_NAME, qualifier, sortOrderings);
   fetchSpec.setIsDeep(true);
   NSArray<ERSyncClientDevice> eoObjects =
       (NSArray<ERSyncClientDevice>) editingContext.objectsWithFetchSpecification(fetchSpec);
   return eoObjects;
 }