mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user