Interface CompositeSequenceService
- All Superinterfaces:
BaseImmutableService<CompositeSequence>, BaseReadOnlyService<CompositeSequence>, BaseService<CompositeSequence>, BaseVoEnabledService<CompositeSequence, CompositeSequenceValueObject>, FilteringService<CompositeSequence>, FilteringVoEnabledService<CompositeSequence, CompositeSequenceValueObject>
- All Known Implementing Classes:
CompositeSequenceServiceImpl
public interface CompositeSequenceService
extends BaseService<CompositeSequence>, FilteringVoEnabledService<CompositeSequence, CompositeSequenceValueObject>
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptioncreate(CompositeSequence compositeSequence) find(CompositeSequence compositeSequence) findByBioSequence(BioSequence bioSequence) findByBioSequenceName(String name) findByGene(Gene gene, boolean useGene2Cs) findByGene(Gene gene, ArrayDesign arrayDesign, boolean useGene2Cs) findByGenes(Collection<Gene> genes, boolean useGene3Cs) findByGenes(Collection<Gene> genes, ArrayDesign arrayDesign, boolean useGene2Cs) findByName(String name) findByName(ArrayDesign arrayDesign, String name) findByNamesInArrayDesigns(Collection<String> compositeSequenceNames, Collection<ArrayDesign> arrayDesigns) findIdsByGeneIds(Collection<Long> geneIds, Long arrayDesignId) findOrCreate(CompositeSequence compositeSequence) getGeneData(Collection<Long> compositeSequenceIds) getGeneMappingSummary(BioSequence biologicalCharacteristic, CompositeSequenceValueObject cs) getGenes(Collection<CompositeSequence> sequences, boolean useGene2Cs) getGenes(CompositeSequence compositeSequence, boolean useGene2Cs) getGenes(CompositeSequence compositeSequence, int offset, int limit, boolean useGene2Cs) getGenesByCursor(CompositeSequence compositeSequence, Cursor cursor, int limit, boolean useGene2Cs) Cursor-mode counterpart togetGenes(CompositeSequence, int, int, boolean)— seeCURSOR_PAGINATION_STEP1_PLAN.mdstep 1l.getGenesWithSpecificity(Collection<CompositeSequence> compositeSequences) Collection<Object[]> getRawSummary(Collection<CompositeSequence> compositeSequences) Collection<Object[]> getRawSummary(ArrayDesign arrayDesign, int numResults) getSequenceData(Collection<Long> compositeSequenceIds) load(Collection<Long> ids) loadValueObjectsForGene(Gene gene, int start, int limit, boolean useGene2Cs) loadValueObjectsForGeneByCursor(Gene gene, Cursor cursor, int limit, boolean useGene2Cs) Cursor-mode counterpart toloadValueObjectsForGene(Gene, int, int, boolean)— seeCURSOR_PAGINATION_STEP1_PLAN.mdstep 1m.Include gene mapping summary in theCompositeSequenceValueObject.voidremove(CompositeSequence compositeSequence) thaw(Collection<CompositeSequence> compositeSequences) thaw(CompositeSequence compositeSequence) voidupdate(CompositeSequence compositeSequence) Methods inherited from interface BaseImmutableService
create, removeMethods inherited from interface BaseReadOnlyService
countAll, findOrFail, getElementClass, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface BaseService
save, save, updateMethods inherited from interface BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIdsMethods inherited from interface FilteringService
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getSort, isFilterablePropertyDeprecated, isFilterablePropertyUsingSubquery, load, load, loadIdsMethods inherited from interface FilteringVoEnabledService
loadValueObjects, loadValueObjects, loadValueObjectsByCursor
-
Method Details
-
find
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) CompositeSequence find(CompositeSequence compositeSequence) - Specified by:
findin interfaceBaseReadOnlyService<CompositeSequence>- See Also:
-
findOrCreate
- Specified by:
findOrCreatein interfaceBaseImmutableService<CompositeSequence>- See Also:
-
create
- Specified by:
createin interfaceBaseImmutableService<CompositeSequence>- See Also:
-
load
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> load(Collection<Long> ids) - Specified by:
loadin interfaceBaseReadOnlyService<CompositeSequence>- See Also:
-
remove
- Specified by:
removein interfaceBaseImmutableService<CompositeSequence>- See Also:
-
update
- Specified by:
updatein interfaceBaseService<CompositeSequence>- See Also:
-
findByBioSequence
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> findByBioSequence(BioSequence bioSequence) -
findByBioSequenceName
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> findByBioSequenceName(String name) -
findByGene
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> findByGene(Gene gene, boolean useGene2Cs) -
findByGene
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> findByGene(Gene gene, ArrayDesign arrayDesign, boolean useGene2Cs) -
findByGenes
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") Map<Gene, Collection<CompositeSequence>> findByGenes(Collection<Gene> genes, boolean useGene3Cs) -
findByGenes
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") Map<Gene, Collection<CompositeSequence>> findByGenes(Collection<Gene> genes, ArrayDesign arrayDesign, boolean useGene2Cs) -
loadValueObjectWithGeneMappingSummary
@Nullable @Transactional(readOnly=true) CompositeSequenceValueObject loadValueObjectWithGeneMappingSummary(CompositeSequence cs) Include gene mapping summary in theCompositeSequenceValueObject. -
loadValueObjectsForGene
Slice<CompositeSequenceValueObject> loadValueObjectsForGene(Gene gene, int start, int limit, boolean useGene2Cs) -
loadValueObjectsForGeneByCursor
CursorPage<CompositeSequenceValueObject> loadValueObjectsForGeneByCursor(Gene gene, @Nullable Cursor cursor, int limit, boolean useGene2Cs) Cursor-mode counterpart toloadValueObjectsForGene(Gene, int, int, boolean)— seeCURSOR_PAGINATION_STEP1_PLAN.mdstep 1m. Always sorts by ascendingcs.id(the primary key, indexed and unique); the cursor DAO restricts cursors to single-component id sorts until the index audit lands.Same value-object shape as the offset variant: the per-row
CompositeSequenceValueObjectcarries theArrayDesignVO populated via a singleloadValueObjectscall over the platforms touched by the page (matching the offset implementation).- See Also:
-
findByName
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> findByName(String name) -
findByName
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_READ"}) CompositeSequence findByName(ArrayDesign arrayDesign, String name) -
findByNamesInArrayDesigns
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_COLLECTION_READ"}) Collection<CompositeSequence> findByNamesInArrayDesigns(Collection<String> compositeSequenceNames, Collection<ArrayDesign> arrayDesigns) -
getGenes
Map<CompositeSequence, Collection<Gene>> getGenes(Collection<CompositeSequence> sequences, boolean useGene2Cs) -
getGenes
-
getGenes
Slice<Gene> getGenes(CompositeSequence compositeSequence, int offset, int limit, boolean useGene2Cs) -
getGenesByCursor
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COMPOSITE_SEQUENCE_READ"}) CursorPage<Gene> getGenesByCursor(CompositeSequence compositeSequence, @Nullable Cursor cursor, int limit, boolean useGene2Cs) Cursor-mode counterpart togetGenes(CompositeSequence, int, int, boolean)— seeCURSOR_PAGINATION_STEP1_PLAN.mdstep 1l. Always sorts by ascendinggene.id(the primary key, indexed and unique); the cursor DAO restricts cursors to single-component id sorts until the index audit lands.- See Also:
-
getGenesWithSpecificity
Map<CompositeSequence, Collection<BioSequence2GeneProduct>> getGenesWithSpecificity(Collection<CompositeSequence> compositeSequences) - Parameters:
compositeSequences- sequences- Returns:
- a map of CompositeSequences to collection of BioSequence2GeneProducts at each location.
-
getRawSummary
-
getRawSummary
-
getGeneMappingSummary
Collection<GeneMappingSummary> getGeneMappingSummary(BioSequence biologicalCharacteristic, @Nullable CompositeSequenceValueObject cs) -
thaw
@CheckReturnValue Collection<CompositeSequence> thaw(Collection<CompositeSequence> compositeSequences) -
thaw
-
getSequenceData
Map<Long, CompositeSequenceDao.BioSequenceLite> getSequenceData(Collection<Long> compositeSequenceIds) - See Also:
-
getGeneData
- See Also:
-
findIdsByGeneIds
- See Also:
-