MOB-1073: Fix build. Use dictionaryService.getAspect() rather than dictionaryService.getType() to look up aspects

- Also improved Boolean logic so that it's possible to switch on archiving via an aspect (as suggested by Derek)
- M2ClassDefinition.getArchive() now returns true, false or null
- false takes precedence and is the ultimate default
- fixed JIBX classpath


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2009-09-01 16:10:49 +00:00
parent a949dcad97
commit 415c90c971
5 changed files with 50 additions and 38 deletions

View File

@@ -69,9 +69,10 @@ public interface ClassDefinition
public boolean isAspect();
/**
* @return Return true if the type should be archived on delete
* @return Return <code>true</code> if the type should be archived on delete, <code>false</code> if it should be
* deleted or <code>null</code> if not defined.
*/
public boolean isArchive();
public Boolean getArchive();
/**
* @return the properties of the class, including inherited properties