MOB-1073: RM Ghosted Records

- The <archive> setting on model class definitions (controlling archival on node deletion) is now paid attention to for aspects as well as types
- Archive is on by default for aspects and off by default for types
- If a node's type or any of its aspects has archiving off then it will be purged rather than archived
- Only the cm:content and cm:folder types currently have archiving switched on
- RM subtypes of cm:content and cm:folder plus rm:record aspect switch off archiving
- A module can now include global property overrides in classpath*:alfresco/module/*/alfresco-global.properties
- The RM module currently sets two global properties:
   system.content.eagerOrphanCleanup=true # Switches on synchronous content purging
   rm.ghosting.enabled=true               # Enables the new RM ghosting functionality
- When ghosting is switched on, for nodes with the rma:record aspect the DestroyAction synchronously removes all content properties and applies the rma:ghosted aspect
- TODO: Any properties required for rma:ghosted?


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2009-08-28 15:26:15 +00:00
parent d5a1794c18
commit 7fbccecd71
5 changed files with 40 additions and 31 deletions

View File

@@ -792,6 +792,8 @@
<aspect name="cm:workingcopy">
<title>Working Copy</title>
<!-- Explicitly turn off archiving for all nodes with this aspect -->
<archive>false</archive>
<properties>
<property name="cm:workingCopyOwner">
<type>d:text</type>

View File

@@ -143,6 +143,8 @@
<!-- aspect to tag temporary nodes -->
<aspect name="sys:temporary">
<title>Temporary</title>
<!-- Explicitly turn off archiving for all nodes with this aspect -->
<archive>false</archive>
</aspect>
<!-- details stored on archived nodes -->