@Test public void testExecute_SortSimple_NoDir() { MultivaluedMap<String, String> params = new MultivaluedHashMap<>(); params.putSingle("sort", "rtss"); SelectContext<Tr> context = prepareContext(Tr.class, params); stage.execute(context); assertNotNull(context.getMergedRequest()); assertNotNull(context.getMergedRequest().getOrderings()); Sort ordering = context.getMergedRequest().getOrderings().get(0); assertEquals("rtss", ordering.getProperty()); }
@Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } ParseRequestStage(@Inject IAgRequestBuilderFactory requestBuilderFactory); }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } ParseRequestStage(@Inject IAgRequestBuilderFactory requestBuilderFactory); @Override ProcessorOutcome execute(SelectContext<?> context); }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } ParseRequestStage(@Inject IAgRequestBuilderFactory requestBuilderFactory); @Override ProcessorOutcome execute(SelectContext<?> context);  }