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:
Britt Park
2006-10-02 19:42:56 +00:00
parent c2e407165e
commit 0fc71b8d68
7 changed files with 117 additions and 8 deletions

View File

@@ -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.