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:
@@ -451,6 +451,11 @@ public class AVMRepository
|
||||
* The name to give the new AVMStore.
|
||||
*/
|
||||
public void createAVMStore(String name)
|
||||
{
|
||||
createAVMStore(name, null);
|
||||
}
|
||||
|
||||
public void createAVMStore(String name, Map<QName, PropertyValue> props)
|
||||
{
|
||||
AlfrescoTransactionSupport.bindListener(fCreateStoreTxnListener);
|
||||
if (getAVMStoreByName(name) != null)
|
||||
@@ -465,6 +470,12 @@ public class AVMRepository
|
||||
rootNode.setStoreNew(null);
|
||||
fAVMNodeDAO.update(rootNode);
|
||||
|
||||
|
||||
if (props != null)
|
||||
{
|
||||
setStoreProperties(name, props);
|
||||
}
|
||||
|
||||
fCreateStoreTxnListener.storeCreated(name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user