mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Purge tests cover more now. Moved purging queries into mapping file.
Added call to AVMService to get Versions by creation date. GetRepositoryVersions methods now return Lists of VersionDescriptors, value objects with the attributes of a version. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,9 +20,9 @@ package org.alfresco.repo.avm;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.io.RandomAccessFile;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* This is the service interface for the [Alfresco|Addled|Advanced|Apotheosed] Versioning
|
||||
@@ -175,11 +175,21 @@ public interface AVMService
|
||||
public void createSnapshot(String repository);
|
||||
|
||||
/**
|
||||
* Get the set of version IDs in a Repository
|
||||
* Get the set of versions in a Repository
|
||||
* @param name The name of the Repository.
|
||||
* @return A Set of version IDs
|
||||
*/
|
||||
public Set<Integer> getRepositoryVersions(String name);
|
||||
public List<VersionDescriptor> getRepositoryVersions(String name);
|
||||
|
||||
/**
|
||||
* Get Repository version IDs by creation date. Either from or
|
||||
* to can be null but not both.
|
||||
* @param name The name of the repository.
|
||||
* @param from Earliest date of version to include.
|
||||
* @param to Latest date of version to include.
|
||||
* @return The Set of version IDs that match.
|
||||
*/
|
||||
public List<VersionDescriptor> getRepositoryVersions(String name, Date from, Date to);
|
||||
|
||||
/**
|
||||
* Get the names of all repositories.
|
||||
|
Reference in New Issue
Block a user