mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Some cleaning up of the AVMService and derived interfaces.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -193,7 +193,7 @@ public class AVMInterpreter
|
||||
}
|
||||
else if (command[0].equals("lsrep"))
|
||||
{
|
||||
List<AVMStoreDescriptor> repos = fService.getAVMStores();
|
||||
List<AVMStoreDescriptor> repos = fService.getStores();
|
||||
for (AVMStoreDescriptor repo : repos)
|
||||
{
|
||||
out.println(repo);
|
||||
@@ -205,7 +205,7 @@ public class AVMInterpreter
|
||||
{
|
||||
return "Syntax Error.";
|
||||
}
|
||||
List<VersionDescriptor> listing = fService.getAVMStoreVersions(command[1]);
|
||||
List<VersionDescriptor> listing = fService.getStoreVersions(command[1]);
|
||||
for (VersionDescriptor desc : listing)
|
||||
{
|
||||
out.println(desc);
|
||||
@@ -217,7 +217,7 @@ public class AVMInterpreter
|
||||
{
|
||||
return "Syntax Error.";
|
||||
}
|
||||
fService.createAVMStore(command[1]);
|
||||
fService.createStore(command[1]);
|
||||
}
|
||||
else if (command[0].equals("load"))
|
||||
{
|
||||
@@ -339,7 +339,7 @@ public class AVMInterpreter
|
||||
{
|
||||
return "Syntax Error.";
|
||||
}
|
||||
fService.purgeAVMStore(command[1]);
|
||||
fService.purgeStore(command[1]);
|
||||
}
|
||||
else if (command[0].equals("rmver"))
|
||||
{
|
||||
@@ -449,7 +449,7 @@ public class AVMInterpreter
|
||||
{
|
||||
return "Syntax Error.";
|
||||
}
|
||||
AVMStoreDescriptor desc = fService.getAVMStore(command[1]);
|
||||
AVMStoreDescriptor desc = fService.getStore(command[1]);
|
||||
if (desc == null)
|
||||
{
|
||||
return "Not Found.";
|
||||
|
Reference in New Issue
Block a user