public abstract class AbstractVersionedContentService<JPA,Repository extends VersionedContentRepository<JPA> & org.springframework.data.jpa.repository.JpaRepository<JPA,java.lang.Integer>> extends java.lang.Object implements VersionedContentService
| Modifier and Type | Field and Description |
|---|---|
protected Repository |
repository |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVersionedContentService(Repository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
createVersionedContent(Version workingVersion,
Version newVersion) |
protected abstract JPA |
removeId(JPA dto,
Version version) |
protected void |
updateWorkingVersion(int docId) |
protected final Repository extends VersionedContentRepository<JPA> & org.springframework.data.jpa.repository.JpaRepository<JPA,java.lang.Integer> repository
protected AbstractVersionedContentService(Repository repository)
public void createVersionedContent(Version workingVersion, Version newVersion)
createVersionedContent in interface VersionedContentServiceprotected void updateWorkingVersion(int docId)