Class FactorValueServiceImpl
- java.lang.Object
- 
- ubic.gemma.persistence.service.AbstractService<O>
- 
- ubic.gemma.persistence.service.AbstractFilteringVoEnabledService<FactorValue,FactorValueValueObject>
- 
- ubic.gemma.persistence.service.expression.experiment.FactorValueServiceImpl
 
 
 
- 
- All Implemented Interfaces:
- BaseImmutableService<FactorValue>,- BaseReadOnlyService<FactorValue>,- BaseService<FactorValue>,- BaseVoEnabledService<FactorValue,FactorValueValueObject>,- FactorValueService,- FilteringService<FactorValue>,- FilteringVoEnabledService<FactorValue,FactorValueValueObject>
 
 @Service public class FactorValueServiceImpl extends AbstractFilteringVoEnabledService<FactorValue,FactorValueValueObject> implements FactorValueService Spring Service base class for FactorValueService, provides access to all services and entities referenced by this service.- Author:
- pavlidis, keshav
- See Also:
- FactorValueService
 
- 
- 
Field Summary- 
Fields inherited from class ubic.gemma.persistence.service.AbstractServicelog
 
- 
 - 
Constructor SummaryConstructors Constructor Description FactorValueServiceImpl(ExpressionExperimentService expressionExperimentService, AuditTrailService auditTrailService, AuditEventService auditEventService, FactorValueDao factorValueDao, StatementDao statementDao)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclearNeedsAttentionFlag(FactorValue factorValue, String note)Clear a needs attention flag on a given factor value.StatementcreateStatement(FactorValue factorValue, Statement statement)Create a given statement and add it to the given factor value.Collection<FactorValue>findByValue(String valuePrefix)Deprecated.Map<Long,Integer>loadIdsWithNumberOfOldStyleCharacteristics(Set<Long> excludedIds)Deprecated.FactorValueloadWithExperimentalFactor(Long id)FactorValueloadWithExperimentalFactorOrFail(Long id)Load aFactorValuewith an initialized experimental factor or fail.FactorValueloadWithOldStyleCharacteristics(Long id, boolean readOnly)Deprecated.voidmarkAsNeedsAttention(FactorValue factorValue, String note)Mark a given factor value as needs attention.voidremove(Collection<FactorValue> entities)Removes all the given entities from persistent storage.voidremove(FactorValue entity)Removes the given entity from the persistent storage.voidremoveStatement(FactorValue fv, Statement statement)Remove a statement from a factor value.StatementsaveStatement(FactorValue fv, Statement statement)Create a given statement as perFactorValueService.createStatement(FactorValue, Statement)if it is transient, otherwise update an existing statement.StatementsaveStatementIgnoreAcl(FactorValue fv, Statement statement)Save a statement ignoring ACLs.- 
Methods inherited from class ubic.gemma.persistence.service.AbstractFilteringVoEnabledServicecount, 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.AbstractServicecountAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, save, save, update, update
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableServicecreate, create, remove
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyServicecountAll, find, findOrFail, getElementClass, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseServicesave, save
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledServiceloadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.expression.experiment.FactorValueServicefindOrCreate, load, update, update
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringServicecount, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getIdentifierPropertyName, getSort, load, load, loadIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringVoEnabledServiceloadValueObjects, loadValueObjects
 
- 
 
- 
- 
- 
Constructor Detail- 
FactorValueServiceImpl@Autowired public FactorValueServiceImpl(ExpressionExperimentService expressionExperimentService, AuditTrailService auditTrailService, AuditEventService auditEventService, FactorValueDao factorValueDao, StatementDao statementDao) 
 
- 
 - 
Method Detail- 
loadWithExperimentalFactor@Transactional(readOnly=true) public FactorValue loadWithExperimentalFactor(Long id) - Specified by:
- loadWithExperimentalFactorin interface- FactorValueService
 
 - 
loadWithExperimentalFactorOrFail@Transactional(readOnly=true) public FactorValue loadWithExperimentalFactorOrFail(Long id) Description copied from interface:FactorValueServiceLoad aFactorValuewith an initialized experimental factor or fail.- Specified by:
- loadWithExperimentalFactorOrFailin interface- FactorValueService
 
 - 
loadWithOldStyleCharacteristics@Deprecated @Transactional(readOnly=true) public FactorValue loadWithOldStyleCharacteristics(Long id, boolean readOnly) Deprecated.Description copied from interface:FactorValueServiceLoad aFactorValuealong with its old-style characteristics.- Specified by:
- loadWithOldStyleCharacteristicsin interface- FactorValueService
 
 - 
loadIdsWithNumberOfOldStyleCharacteristics@Deprecated @Transactional(readOnly=true) public Map<Long,Integer> loadIdsWithNumberOfOldStyleCharacteristics(Set<Long> excludedIds) Deprecated.- Specified by:
- loadIdsWithNumberOfOldStyleCharacteristicsin interface- FactorValueService
- See Also:
- FactorValueDao.loadIdsWithNumberOfOldStyleCharacteristics(Set)
 
 - 
findByValue@Deprecated @Transactional(readOnly=true) public Collection<FactorValue> findByValue(String valuePrefix) Deprecated.- Specified by:
- findByValuein interface- FactorValueService
 
 - 
createStatement@Transactional public Statement createStatement(FactorValue factorValue, Statement statement) Description copied from interface:FactorValueServiceCreate a given statement and add it to the given factor value.- Specified by:
- createStatementin interface- FactorValueService
- Parameters:
- factorValue- the factor value to add the statement to
- statement- the statement to be created and added to the factor value
- Returns:
- the created statement
 
 - 
saveStatement@Transactional public Statement saveStatement(FactorValue fv, Statement statement) Description copied from interface:FactorValueServiceCreate a given statement as perFactorValueService.createStatement(FactorValue, Statement)if it is transient, otherwise update an existing statement.- Specified by:
- saveStatementin interface- FactorValueService
 
 - 
saveStatementIgnoreAcl@Transactional public Statement saveStatementIgnoreAcl(FactorValue fv, Statement statement) Description copied from interface:FactorValueServiceSave a statement ignoring ACLs.This requires the GROUP_ADMINauthority.- Specified by:
- saveStatementIgnoreAclin interface- FactorValueService
 
 - 
removeStatement@Transactional public void removeStatement(FactorValue fv, Statement statement) Description copied from interface:FactorValueServiceRemove a statement from a factor value.- Specified by:
- removeStatementin interface- FactorValueService
 
 - 
remove@Transactional public void remove(FactorValue entity) Description copied from interface:BaseImmutableServiceRemoves the given entity from the persistent storage.- Specified by:
- removein interface- BaseImmutableService<FactorValue>
- Specified by:
- removein interface- FactorValueService
- Overrides:
- removein class- AbstractService<FactorValue>
- Parameters:
- entity- the entity to be removed.
 
 - 
remove@Transactional public void remove(Collection<FactorValue> entities) Description copied from interface:BaseImmutableServiceRemoves all the given entities from persistent storage.- Specified by:
- removein interface- BaseImmutableService<FactorValue>
- Overrides:
- removein class- AbstractService<FactorValue>
- Parameters:
- entities- the entities to be removed.
 
 - 
markAsNeedsAttention@Transactional public void markAsNeedsAttention(FactorValue factorValue, String note) Description copied from interface:FactorValueServiceMark a given factor value as needs attention.- Specified by:
- markAsNeedsAttentionin interface- FactorValueService
- Parameters:
- factorValue- a factor value to mark as needs attention
- note- note to use for the- FactorValueNeedsAttentionEvent
 
 - 
clearNeedsAttentionFlag@Transactional public void clearNeedsAttentionFlag(FactorValue factorValue, String note) Description copied from interface:FactorValueServiceClear a needs attention flag on a given factor value.- Specified by:
- clearNeedsAttentionFlagin interface- FactorValueService
- Parameters:
- factorValue- a factor value whose needs flag will be cleared
- note- a note to use for the- DoesNotNeedAttentionEventif the dataset does not need attention for any other reason.
 
 
- 
 
-