Interface VersionDAO<T extends com.flower.docs.domain.component.Version>
-
public interface VersionDAO<T extends com.flower.docs.domain.component.Version>Data Access Object allowing to manage persistence and access toVersioningdomain object- Author:
- Arthur Perrad
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteVersion(com.flower.docs.domain.common.Id id, com.flower.docs.domain.common.Id versionId)TgetVersion(com.flower.docs.domain.common.Id id, com.flower.docs.domain.common.Id version)com.flower.docs.domain.component.VersionSeriesgetVersions(com.flower.docs.domain.common.Id id)Tpromote(com.flower.docs.domain.common.Id id, java.lang.String label)Tpromote(T version)Trevert(com.flower.docs.domain.common.Id id, com.flower.docs.domain.common.Id version)
-
-
-
Method Detail
-
promote
T promote(com.flower.docs.domain.common.Id id, java.lang.String label) throws com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
-
promote
T promote(T version) throws com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
-
getVersion
T getVersion(com.flower.docs.domain.common.Id id, com.flower.docs.domain.common.Id version) throws com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
-
getVersions
com.flower.docs.domain.component.VersionSeries getVersions(com.flower.docs.domain.common.Id id) throws com.flower.docs.domain.exception.TechnicalException- Throws:
com.flower.docs.domain.exception.TechnicalException
-
revert
T revert(com.flower.docs.domain.common.Id id, com.flower.docs.domain.common.Id version) throws com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
-
deleteVersion
void deleteVersion(com.flower.docs.domain.common.Id id, com.flower.docs.domain.common.Id versionId) throws com.flower.docs.domain.exception.TechnicalException- Throws:
com.flower.docs.domain.exception.TechnicalException
-
-