mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Checkpoint of WCM workflow package support.
Setting titled and uifacets via AVMService instead of through AVMNodeService. 1000 file import takes ~5 minutes. Awful but better than before. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -51,6 +51,8 @@ import org.apache.log4j.Logger;
|
||||
*/
|
||||
public class AVMServiceImpl implements AVMService
|
||||
{
|
||||
public static final String SYSTEM = "system";
|
||||
|
||||
private static Logger fgLogger = Logger.getLogger(AVMServiceImpl.class);
|
||||
|
||||
/**
|
||||
@@ -741,6 +743,22 @@ public class AVMServiceImpl implements AVMService
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get (and create if necessary) the system store. This store houses things
|
||||
* like workflow packages.
|
||||
* @return The descriptor.
|
||||
*/
|
||||
public AVMStoreDescriptor getAVMSystemStore()
|
||||
{
|
||||
AVMStoreDescriptor store = getAVMStore(SYSTEM);
|
||||
if (store == null)
|
||||
{
|
||||
createAVMStore(SYSTEM);
|
||||
return getAVMStore(SYSTEM);
|
||||
}
|
||||
return store;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a descriptor for the specified AVMStore root.
|
||||
* @param version The version to get.
|
||||
|
Reference in New Issue
Block a user