test_class.declarator: url = "http://35.61.56.113:8443"
test_class.modifier: private
test_class.original_string: private String url = "http://35.61.56.113:8443";
test_class.type: String
test_class.var_name: url
test_class.declarator: user
test_class.modifier: private
test_class.original_string: private User user;
test_class.type: User
test_class.var_name: user
test_class.declarator: tracingDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private TracingDao tracingDao;
test_class.type: TracingDao
test_class.var_name: tracingDao
test_class.declarator: tracingPhotoDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private TracingPhotoDao tracingPhotoDao;
test_class.type: TracingPhotoDao
test_class.var_name: tracingPhotoDao
test_class.declarator: tracingService
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private TracingService tracingService;
test_class.type: TracingService
test_class.var_name: tracingService
test_class.file: app/src/test/java/org/unicef/rapidreg/service/TracingServiceTest.java
test_class.identifier: TracingServiceTest
test_case.body: @Test
      public void should_return_all_order_ids_sorted_by_ascending() throws Exception {
          Tracing[] orders = new Tracing[]{new Tracing(1), new Tracing(2), new Tracing(3)};
          List<Tracing> orderList = Arrays.asList(orders);
          when(tracingDao.getAllTracingsOrderByDate(true, PrimeroAppConfiguration.getCurrentUsername(), TextUtils
                  .lintUrl(url))).thenReturn
                  (orderList);
          assertThat("When call getAllOrderByDateASC() should return orders sorted by date.",
                  tracingService.getAllOrderByDateASC(), is(Arrays.asList(new Long[]{1L, 2L, 3L})));
      }
test_case.class_method_signature: TracingServiceTest.should_return_all_order_ids_sorted_by_ascending()
test_case.full_signature: @Test public void should_return_all_order_ids_sorted_by_ascending()
test_case.identifier: should_return_all_order_ids_sorted_by_ascending
test_case.invocations: asList thenReturn when getAllTracingsOrderByDate getCurrentUsername lintUrl assertThat getAllOrderByDateASC is asList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_return_all_order_ids_sorted_by_ascending()
focal_class.declarator: TAG = TracingService.class.getSimpleName()
focal_class.modifier: public static final
focal_class.original_string: public static final String TAG = TracingService.class.getSimpleName();
focal_class.type: String
focal_class.var_name: TAG
focal_class.declarator: TRACING_DISPLAY_ID = "tracing_request_id_display"
focal_class.modifier: public static final
focal_class.original_string: public static final String TRACING_DISPLAY_ID = "tracing_request_id_display";
focal_class.type: String
focal_class.var_name: TRACING_DISPLAY_ID
focal_class.declarator: TRACING_ID = "tracing_request_id"
focal_class.modifier: public static final
focal_class.original_string: public static final String TRACING_ID = "tracing_request_id";
focal_class.type: String
focal_class.var_name: TRACING_ID
focal_class.declarator: TRACING_PRIMARY_ID = "tracing_primary_id"
focal_class.modifier: public static final
focal_class.original_string: public static final String TRACING_PRIMARY_ID = "tracing_primary_id";
focal_class.type: String
focal_class.var_name: TRACING_PRIMARY_ID
focal_class.declarator: tracingDao = new TracingDaoImpl()
focal_class.modifier: private
focal_class.original_string: private TracingDao tracingDao = new TracingDaoImpl();
focal_class.type: TracingDao
focal_class.var_name: tracingDao
focal_class.declarator: tracingPhotoDao = new TracingPhotoDaoImpl()
focal_class.modifier: private
focal_class.original_string: private TracingPhotoDao tracingPhotoDao = new TracingPhotoDaoImpl();
focal_class.type: TracingPhotoDao
focal_class.var_name: tracingPhotoDao
focal_class.file: app/src/main/java/org/unicef/rapidreg/service/TracingService.java
focal_class.identifier: TracingService
focal_class.class_method_signature: TracingService.TracingService(TracingDao tracingDao, TracingPhotoDao tracingPhotoDao)
focal_class.full_signature: public  TracingService(TracingDao tracingDao, TracingPhotoDao tracingPhotoDao)
focal_class.identifier: TracingService
focal_class.modifiers: public
focal_class.parameters: (TracingDao tracingDao, TracingPhotoDao tracingPhotoDao)
focal_class.signature:  TracingService(TracingDao tracingDao, TracingPhotoDao tracingPhotoDao)
focal_class.class_method_signature: TracingService.getById(long tracingId)
focal_class.full_signature: public Tracing getById(long tracingId)
focal_class.identifier: getById
focal_class.modifiers: public
focal_class.parameters: (long tracingId)
focal_class.return: Tracing
focal_class.signature: Tracing getById(long tracingId)
focal_class.class_method_signature: TracingService.getByUniqueId(String uniqueId)
focal_class.full_signature: public Tracing getByUniqueId(String uniqueId)
focal_class.identifier: getByUniqueId
focal_class.modifiers: public
focal_class.parameters: (String uniqueId)
focal_class.return: Tracing
focal_class.signature: Tracing getByUniqueId(String uniqueId)
focal_class.class_method_signature: TracingService.getAll()
focal_class.full_signature: public List<Tracing> getAll()
focal_class.identifier: getAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Tracing>
focal_class.signature: List<Tracing> getAll()
focal_class.class_method_signature: TracingService.getAllOrderByDateASC()
focal_class.full_signature: public List<Long> getAllOrderByDateASC()
focal_class.identifier: getAllOrderByDateASC
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Long>
focal_class.signature: List<Long> getAllOrderByDateASC()
focal_class.class_method_signature: TracingService.getAllOrderByDateDES()
focal_class.full_signature: public List<Long> getAllOrderByDateDES()
focal_class.identifier: getAllOrderByDateDES
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Long>
focal_class.signature: List<Long> getAllOrderByDateDES()
focal_class.class_method_signature: TracingService.getSearchResult(String uniqueId, String name, int ageFrom, int ageTo, Date
              date)
focal_class.full_signature: public List<Long> getSearchResult(String uniqueId, String name, int ageFrom, int ageTo, Date
              date)
focal_class.identifier: getSearchResult
focal_class.modifiers: public
focal_class.parameters: (String uniqueId, String name, int ageFrom, int ageTo, Date
              date)
focal_class.return: List<Long>
focal_class.signature: List<Long> getSearchResult(String uniqueId, String name, int ageFrom, int ageTo, Date
              date)
focal_class.class_method_signature: TracingService.getSearchCondition(String shortId, String name, int ageFrom, int
              ageTo, Date date)
focal_class.full_signature: private ConditionGroup getSearchCondition(String shortId, String name, int ageFrom, int
              ageTo, Date date)
focal_class.identifier: getSearchCondition
focal_class.modifiers: private
focal_class.parameters: (String shortId, String name, int ageFrom, int
              ageTo, Date date)
focal_class.return: ConditionGroup
focal_class.signature: ConditionGroup getSearchCondition(String shortId, String name, int ageFrom, int
              ageTo, Date date)
focal_class.class_method_signature: TracingService.saveOrUpdate(ItemValuesMap itemValues, List<String> photoPaths)
focal_class.full_signature: public Tracing saveOrUpdate(ItemValuesMap itemValues, List<String> photoPaths)
focal_class.identifier: saveOrUpdate
focal_class.modifiers: public
focal_class.parameters: (ItemValuesMap itemValues, List<String> photoPaths)
focal_class.return: Tracing
focal_class.signature: Tracing saveOrUpdate(ItemValuesMap itemValues, List<String> photoPaths)
focal_class.class_method_signature: TracingService.save(ItemValuesMap itemValues, List<String> photoPaths)
focal_class.full_signature: public Tracing save(ItemValuesMap itemValues, List<String> photoPaths)
focal_class.identifier: save
focal_class.modifiers: public
focal_class.parameters: (ItemValuesMap itemValues, List<String> photoPaths)
focal_class.return: Tracing
focal_class.signature: Tracing save(ItemValuesMap itemValues, List<String> photoPaths)
focal_class.class_method_signature: TracingService.update(ItemValuesMap itemValues,
                            List<String> photoBitPaths)
focal_class.full_signature: public Tracing update(ItemValuesMap itemValues,
                            List<String> photoBitPaths)
focal_class.identifier: update
focal_class.modifiers: public
focal_class.parameters: (ItemValuesMap itemValues,
                            List<String> photoBitPaths)
focal_class.return: Tracing
focal_class.signature: Tracing update(ItemValuesMap itemValues,
                            List<String> photoBitPaths)
focal_class.class_method_signature: TracingService.deleteByRecordId(long recordId)
focal_class.full_signature: public Tracing deleteByRecordId(long recordId)
focal_class.identifier: deleteByRecordId
focal_class.modifiers: public
focal_class.parameters: (long recordId)
focal_class.return: Tracing
focal_class.signature: Tracing deleteByRecordId(long recordId)
focal_class.class_method_signature: TracingService.generateTracingFromItemValues(ItemValuesMap itemValues, String uniqueId)
focal_class.full_signature: private Tracing generateTracingFromItemValues(ItemValuesMap itemValues, String uniqueId)
focal_class.identifier: generateTracingFromItemValues
focal_class.modifiers: private
focal_class.parameters: (ItemValuesMap itemValues, String uniqueId)
focal_class.return: Tracing
focal_class.signature: Tracing generateTracingFromItemValues(ItemValuesMap itemValues, String uniqueId)
focal_class.class_method_signature: TracingService.updateTracingFromItemValues(ItemValuesMap itemValues)
focal_class.full_signature: private Tracing updateTracingFromItemValues(ItemValuesMap itemValues)
focal_class.identifier: updateTracingFromItemValues
focal_class.modifiers: private
focal_class.parameters: (ItemValuesMap itemValues)
focal_class.return: Tracing
focal_class.signature: Tracing updateTracingFromItemValues(ItemValuesMap itemValues)
focal_class.class_method_signature: TracingService.generateTracingBlob(ItemValuesMap itemValues, String uniqueId, String username)
focal_class.full_signature: private Blob generateTracingBlob(ItemValuesMap itemValues, String uniqueId, String username)
focal_class.identifier: generateTracingBlob
focal_class.modifiers: private
focal_class.parameters: (ItemValuesMap itemValues, String uniqueId, String username)
focal_class.return: Blob
focal_class.signature: Blob generateTracingBlob(ItemValuesMap itemValues, String uniqueId, String username)
focal_class.class_method_signature: TracingService.getName(ItemValuesMap values)
focal_class.full_signature: private String getName(ItemValuesMap values)
focal_class.identifier: getName
focal_class.modifiers: private
focal_class.parameters: (ItemValuesMap values)
focal_class.return: String
focal_class.signature: String getName(ItemValuesMap values)
focal_class.class_method_signature: TracingService.getAudioBlob()
focal_class.full_signature: private Blob getAudioBlob()
focal_class.identifier: getAudioBlob
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Blob
focal_class.signature: Blob getAudioBlob()
focal_class.class_method_signature: TracingService.getByInternalId(String id)
focal_class.full_signature: public Tracing getByInternalId(String id)
focal_class.identifier: getByInternalId
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: Tracing
focal_class.signature: Tracing getByInternalId(String id)
focal_class.class_method_signature: TracingService.hasSameRev(String id, String rev)
focal_class.full_signature: public boolean hasSameRev(String id, String rev)
focal_class.identifier: hasSameRev
focal_class.modifiers: public
focal_class.parameters: (String id, String rev)
focal_class.return: boolean
focal_class.signature: boolean hasSameRev(String id, String rev)
focal_class.class_method_signature: TracingService.getAllSyncedRecordsId()
focal_class.full_signature: public List<Long> getAllSyncedRecordsId()
focal_class.identifier: getAllSyncedRecordsId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Long>
focal_class.signature: List<Long> getAllSyncedRecordsId()
focal_class.superclass: extends RecordService
focal_method.body: public List<Long> getAllOrderByDateASC() {
          return extractIds(tracingDao.getAllTracingsOrderByDate(true, PrimeroAppConfiguration.getCurrentUsername(),
                  PrimeroAppConfiguration.getApiBaseUrl()));
      }
focal_method.class_method_signature: TracingService.getAllOrderByDateASC()
focal_method.full_signature: public List<Long> getAllOrderByDateASC()
focal_method.identifier: getAllOrderByDateASC
focal_method.invocations: extractIds getAllTracingsOrderByDate getCurrentUsername getApiBaseUrl
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<Long>
focal_method.signature: List<Long> getAllOrderByDateASC()