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 TypeMethodDescriptionvoidaddBioMaterialAssociation(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 theBioAssaySetthat contain the givenBioAssay.loadValueObjects(Collection<BioAssay> entities, Map<BioAssay, BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues) voidremoveBioMaterialAssociation(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, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getSort, isFilterablePropertyDeprecated, isFilterablePropertyUsingSubquery, load, load, loadAllValueObjects, loadIds, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjects, loadValueObjects, loadValueObjectsByIdsMethods inherited from class ubic.gemma.persistence.service.AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, remove, remove, save, save, streamAll, streamAll, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, remove, removeMethods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface ubic.gemma.persistence.service.BaseService
save, save, updateMethods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIdsMethods inherited from interface ubic.gemma.persistence.service.expression.bioAssay.BioAssayService
create, findOrCreate, load, load, loadAll, remove, updateMethods inherited from interface ubic.gemma.persistence.service.FilteringService
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getSort, isFilterablePropertyDeprecated, isFilterablePropertyUsingSubquery, load, load, loadIdsMethods 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:BioAssayServiceAssociates a bioMaterial with a specified bioAssay.- Specified by:
addBioMaterialAssociationin interfaceBioAssayService- Parameters:
bioAssay- bio assaybioMaterial- bio material
-
findBioAssayDimensions
@Transactional(readOnly=true) public Collection<BioAssayDimension> findBioAssayDimensions(BioAssay bioAssay) Description copied from interface:BioAssayServiceLocate all BioAssayDimensions in which the selected BioAssay occurs- Specified by:
findBioAssayDimensionsin interfaceBioAssayService- Parameters:
bioAssay- bio assay- Returns:
- bio assay dimensions
- See Also:
-
findByShortName
- Specified by:
findByShortNamein interfaceBioAssayService
-
findByAccession
- Specified by:
findByAccessionin 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:
findSubBioAssaysin interfaceBioAssayService- See Also:
-
findSiblings
- Specified by:
findSiblingsin interfaceBioAssayService
-
getBioAssaySets
Description copied from interface:BioAssayServiceObtain all theBioAssaySetthat contain the givenBioAssay.- Specified by:
getBioAssaySetsin interfaceBioAssayService
-
removeBioMaterialAssociation
Description copied from interface:BioAssayServiceRemoves the association between a specific bioMaterial and a bioAssay.- Specified by:
removeBioMaterialAssociationin interfaceBioAssayService- Parameters:
bioAssay- bio assaybioMaterial- bio material- See Also:
-
thaw
- Specified by:
thawin interfaceBioAssayService
-
thaw
- Specified by:
thawin interfaceBioAssayService
-
loadValueObjects
@Transactional(readOnly=true) public List<BioAssayValueObject> loadValueObjects(Collection<BioAssay> entities, @Nullable Map<BioAssay, BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues) - Specified by:
loadValueObjectsin interfaceBioAssayService- See Also:
-