Class CompositeSequenceArgService
java.lang.Object
ubic.gemma.rest.util.args.AbstractEntityArgService<CompositeSequence, CompositeSequenceService>
ubic.gemma.rest.util.args.CompositeSequenceArgService
- All Implemented Interfaces:
EntityArgService<CompositeSequence, CompositeSequenceService>
@Service
public class CompositeSequenceArgService
extends AbstractEntityArgService<CompositeSequence, CompositeSequenceService>
-
Field Summary
Fields inherited from class AbstractEntityArgService
service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntityWithPlatform(CompositeSequenceArg<?> probeArg, ArrayDesign platform) getGenesByCursor(CompositeSequenceArg<?> probeArg, ArrayDesign platform, Cursor cursor, int limit) Cursor-mode counterpart toCompositeSequenceService.getGenes(CompositeSequence, int, int, boolean)scoped to a single probe on a single platform (the/{platform}/elements/{probe}/genesendpoint) — seeCURSOR_PAGINATION_STEP1_PLAN.mdstep 1l.Methods inherited from class AbstractEntityArgService
checkEntity, entityArgValueOf, getArgsByPropertyName, getElementClass, getEntities, getEntities, getEntity, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getFilters, getFilters, getFilters, getSort, isFilterablePropertyDeprecated, isFilterablePropertyUsingSubquery
-
Constructor Details
-
CompositeSequenceArgService
-
-
Method Details
-
getEntityWithPlatform
public CompositeSequence getEntityWithPlatform(CompositeSequenceArg<?> probeArg, ArrayDesign platform) -
getGenesByCursor
public CursorPage<Gene> getGenesByCursor(CompositeSequenceArg<?> probeArg, ArrayDesign platform, @Nullable Cursor cursor, int limit) Cursor-mode counterpart toCompositeSequenceService.getGenes(CompositeSequence, int, int, boolean)scoped to a single probe on a single platform (the/{platform}/elements/{probe}/genesendpoint) — seeCURSOR_PAGINATION_STEP1_PLAN.mdstep 1l. Always sorted by ascendinggene.id(the primary key, indexed and unique) because the cursor DAO currently restricts cursors to single-component id sorts (recce sec. 3.4 — to be lifted in phase B once the index audit is complete).Resolves the probe against the platform (mirroring the offset-mode call
probeArgService.getEntityWithPlatform(probeArg, platform)inPlatformsWebService.getPlatformElementGenes) before delegating to the service.useGene2Csis held attrueto match the offset variant.
-