Class ExternalDatabaseServiceImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractService<ExternalDatabase>
-
- ubic.gemma.persistence.service.common.description.ExternalDatabaseServiceImpl
-
- All Implemented Interfaces:
BaseImmutableService<ExternalDatabase>
,BaseReadOnlyService<ExternalDatabase>
,BaseService<ExternalDatabase>
,ExternalDatabaseService
@Service public class ExternalDatabaseServiceImpl extends AbstractService<ExternalDatabase> implements ExternalDatabaseService
- Author:
- pavlidis
- See Also:
ExternalDatabaseService
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractService
log
-
-
Constructor Summary
Constructors Constructor Description ExternalDatabaseServiceImpl(ExternalDatabaseDao mainDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExternalDatabase>
findAllByNameIn(List<String> names)
ExternalDatabase
findByName(String name)
ExternalDatabase
findByNameWithAuditTrail(String name)
ExternalDatabase
findByNameWithExternalDatabases(String name)
Collection<ExternalDatabase>
loadAllWithAuditTrail()
ExternalDatabase
loadWithExternalDatabases(Long id)
void
updateReleaseDetails(ExternalDatabase ed, String releaseVersion, URL releaseUrl, String releaseNote, Date lastUpdated)
void
updateReleaseLastUpdated(ExternalDatabase ed, String releaseNote, Date lastUpdated)
-
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, 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
remove
-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
Methods inherited from interface ubic.gemma.persistence.service.BaseService
save, save
-
Methods inherited from interface ubic.gemma.persistence.service.common.description.ExternalDatabaseService
create, create, findOrCreate, remove, remove, update, update
-
-
-
-
Constructor Detail
-
ExternalDatabaseServiceImpl
@Autowired public ExternalDatabaseServiceImpl(ExternalDatabaseDao mainDao)
-
-
Method Detail
-
loadAllWithAuditTrail
@Transactional(readOnly=true) public Collection<ExternalDatabase> loadAllWithAuditTrail()
- Specified by:
loadAllWithAuditTrail
in interfaceExternalDatabaseService
-
loadWithExternalDatabases
@Transactional(readOnly=true) public ExternalDatabase loadWithExternalDatabases(Long id)
- Specified by:
loadWithExternalDatabases
in interfaceExternalDatabaseService
-
findByName
@Transactional(readOnly=true) public ExternalDatabase findByName(String name)
- Specified by:
findByName
in interfaceExternalDatabaseService
-
findByNameWithExternalDatabases
@Transactional(readOnly=true) public ExternalDatabase findByNameWithExternalDatabases(String name)
- Specified by:
findByNameWithExternalDatabases
in interfaceExternalDatabaseService
-
findByNameWithAuditTrail
@Transactional(readOnly=true) public ExternalDatabase findByNameWithAuditTrail(String name)
- Specified by:
findByNameWithAuditTrail
in interfaceExternalDatabaseService
-
updateReleaseDetails
@Transactional public void updateReleaseDetails(ExternalDatabase ed, String releaseVersion, @Nullable URL releaseUrl, @Nullable String releaseNote, Date lastUpdated)
- Specified by:
updateReleaseDetails
in interfaceExternalDatabaseService
-
updateReleaseLastUpdated
@Transactional public void updateReleaseLastUpdated(ExternalDatabase ed, @Nullable String releaseNote, Date lastUpdated)
- Specified by:
updateReleaseLastUpdated
in interfaceExternalDatabaseService
-
findAllByNameIn
@Transactional(readOnly=true) public List<ExternalDatabase> findAllByNameIn(List<String> names)
- Specified by:
findAllByNameIn
in interfaceExternalDatabaseService
-
-