mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
16714: WCM/AVM fixes - ETHREEOH-2697 & ETHREEOH-1847 16802: Merged V3.1 to V3.2 16801: AVMTestSuite - add couple of missing unit tests 16810: WCM locking - minor improvement to include lock owner (when trying to "grabLock") git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16925 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -474,7 +474,7 @@ public class AVMServiceImpl implements AVMService
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an AVMStore with the given name. It must not exist.
|
||||
* Create an AVMStore with the given name (it must not exist).
|
||||
* @param name The name to give the AVMStore.
|
||||
*/
|
||||
public void createStore(String name)
|
||||
@@ -485,8 +485,22 @@ public class AVMServiceImpl implements AVMService
|
||||
}
|
||||
fAVMRepository.createAVMStore(name);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create an AVMStore with the given name (it must not exist) and set store properties.
|
||||
* @param name The name to give the AVMStore.
|
||||
* @param props A Map of the properties to set.
|
||||
*/
|
||||
public void createStore(String name, Map<QName, PropertyValue> props)
|
||||
{
|
||||
if (name == null || !FileNameValidator.isValid(name))
|
||||
{
|
||||
throw new AVMBadArgumentException("Bad Name.");
|
||||
}
|
||||
fAVMRepository.createAVMStore(name, props);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a branch.
|
||||
* @param version The version to branch from.
|
||||
* @param srcPath The path to the thing to branch from.
|
||||
|
Reference in New Issue
Block a user