Package ubic.gemma.core.analysis.service
Class ExpressionMetadataChangelogFileServiceImpl
- java.lang.Object
-
- ubic.gemma.core.analysis.service.ExpressionMetadataChangelogFileServiceImpl
-
- All Implemented Interfaces:
ExpressionMetadataChangelogFileService
@Service public class ExpressionMetadataChangelogFileServiceImpl extends Object implements ExpressionMetadataChangelogFileService
-
-
Constructor Summary
Constructors Constructor Description ExpressionMetadataChangelogFileServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry)voidaddChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry, LocalDate date)Add a changelog entry to the changelog file of the given experiment.StringreadChangelog(ExpressionExperiment expressionExperiment)Read the content of the changelog file of the given experiment.
-
-
-
Method Detail
-
readChangelog
public String readChangelog(ExpressionExperiment expressionExperiment) throws IOException
Description copied from interface:ExpressionMetadataChangelogFileServiceRead the content of the changelog file of the given experiment.If no changelog file is found, an empty string is returned.
- Specified by:
readChangelogin interfaceExpressionMetadataChangelogFileService- Throws:
IOException
-
addChangelogEntry
public void addChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry) throws IOException
- Specified by:
addChangelogEntryin interfaceExpressionMetadataChangelogFileService- Throws:
IOException- See Also:
ExpressionMetadataChangelogFileService.addChangelogEntry(ExpressionExperiment, String, LocalDate)
-
addChangelogEntry
public void addChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry, LocalDate date) throws IOException
Description copied from interface:ExpressionMetadataChangelogFileServiceAdd a changelog entry to the changelog file of the given experiment.- Specified by:
addChangelogEntryin interfaceExpressionMetadataChangelogFileService- Parameters:
expressionExperiment- the experiment to add the entry tochangelogEntry- the content of the entry, the date and author are automatically addeddate- the date of the entry. This is a local date because the changelog format does not include a timezone.- Throws:
IOException
-
-