Class BioAssayServiceImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractService<BioAssay>
ubic.gemma.persistence.service.AbstractFilteringVoEnabledService<BioAssay,BioAssayValueObject>
ubic.gemma.persistence.service.expression.bioAssay.BioAssayServiceImpl
- All Implemented Interfaces:
BaseImmutableService<BioAssay>
,BaseReadOnlyService<BioAssay>
,BaseService<BioAssay>
,BaseVoEnabledService<BioAssay,
,BioAssayValueObject> BioAssayService
,FilteringService<BioAssay>
,FilteringVoEnabledService<BioAssay,
BioAssayValueObject>
@Service
public class BioAssayServiceImpl
extends AbstractFilteringVoEnabledService<BioAssay,BioAssayValueObject>
implements BioAssayService
- Author:
- pavlidis, keshav, joseph
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.persistence.service.AbstractService
log
-
Constructor Summary
ConstructorsConstructorDescriptionBioAssayServiceImpl
(BioAssayDao bioAssayDao, BioMaterialDao bioMaterialDao, ArrayDesignDao arrayDesignDao) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBioMaterialAssociation
(BioAssay bioAssay, BioMaterial bioMaterial) Associates a bioMaterial with a specified bioAssay.findBioAssayDimensions
(BioAssay bioAssay) Locate all BioAssayDimensions in which the selected BioAssay occursfindByAccession
(String accession) findByShortName
(String shortName) findSiblings
(BioAssay bioAssay) findSubBioAssays
(BioAssay bioAssay, boolean direct) getBioAssaySets
(BioAssay bioAssay) Obtain all theBioAssaySet
that contain the givenBioAssay
.loadValueObjects
(Collection<BioAssay> entities, Map<BioAssay, BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues) void
removeBioMaterialAssociation
(BioAssay bioAssay, BioMaterial bioMaterial) Removes the association between a specific bioMaterial and a bioAssay.thaw
(Collection<BioAssay> bioAssays) Methods inherited from class ubic.gemma.persistence.service.AbstractFilteringVoEnabledService
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getIdentifierPropertyName, getSort, load, load, loadAllValueObjects, loadIds, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjects, loadValueObjects, loadValueObjectsByIds
Methods inherited from class ubic.gemma.persistence.service.AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, remove, remove, save, save, streamAll, streamAll, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, remove, remove
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
Methods inherited from interface ubic.gemma.persistence.service.BaseService
save, save, update
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
Methods inherited from interface ubic.gemma.persistence.service.expression.bioAssay.BioAssayService
create, findOrCreate, load, load, loadAll, remove, update
Methods inherited from interface ubic.gemma.persistence.service.FilteringService
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getIdentifierPropertyName, getSort, load, load, loadIds
Methods inherited from interface ubic.gemma.persistence.service.FilteringVoEnabledService
loadValueObjects, loadValueObjects
-
Constructor Details
-
BioAssayServiceImpl
@Autowired public BioAssayServiceImpl(BioAssayDao bioAssayDao, BioMaterialDao bioMaterialDao, ArrayDesignDao arrayDesignDao)
-
-
Method Details
-
addBioMaterialAssociation
Description copied from interface:BioAssayService
Associates a bioMaterial with a specified bioAssay.- Specified by:
addBioMaterialAssociation
in interfaceBioAssayService
- Parameters:
bioAssay
- bio assaybioMaterial
- bio material
-
findBioAssayDimensions
@Transactional(readOnly=true) public Collection<BioAssayDimension> findBioAssayDimensions(BioAssay bioAssay) Description copied from interface:BioAssayService
Locate all BioAssayDimensions in which the selected BioAssay occurs- Specified by:
findBioAssayDimensions
in interfaceBioAssayService
- Parameters:
bioAssay
- bio assay- Returns:
- bio assay dimensions
- See Also:
-
findByShortName
- Specified by:
findByShortName
in interfaceBioAssayService
-
findByAccession
- Specified by:
findByAccession
in interfaceBioAssayService
- Parameters:
accession
- eg GSM12345.- Returns:
- BioAssays that match based on the plain accession (unconstrained by ExternalDatabase).
-
findSubBioAssays
@Transactional(readOnly=true) public Collection<BioAssay> findSubBioAssays(BioAssay bioAssay, boolean direct) - Specified by:
findSubBioAssays
in interfaceBioAssayService
- See Also:
-
findSiblings
- Specified by:
findSiblings
in interfaceBioAssayService
-
getBioAssaySets
Description copied from interface:BioAssayService
Obtain all theBioAssaySet
that contain the givenBioAssay
.- Specified by:
getBioAssaySets
in interfaceBioAssayService
-
removeBioMaterialAssociation
Description copied from interface:BioAssayService
Removes the association between a specific bioMaterial and a bioAssay.- Specified by:
removeBioMaterialAssociation
in interfaceBioAssayService
- Parameters:
bioAssay
- bio assaybioMaterial
- bio material- See Also:
-
thaw
- Specified by:
thaw
in interfaceBioAssayService
-
thaw
- Specified by:
thaw
in interfaceBioAssayService
-
loadValueObjects
@Transactional(readOnly=true) public List<BioAssayValueObject> loadValueObjects(Collection<BioAssay> entities, @Nullable Map<BioAssay, BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues) - Specified by:
loadValueObjects
in interfaceBioAssayService
- See Also:
-