mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Dynamic models - allow incremental updates to property indexing definition (note: does not change existing index)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -498,6 +498,11 @@ import org.alfresco.util.EqualsHelper;
|
||||
isUpdatedIncrementally = true;
|
||||
}
|
||||
|
||||
if (! EqualsHelper.nullSafeEquals(getIndexTokenisationMode().toString(), propDef.getIndexTokenisationMode().toString(), false))
|
||||
{
|
||||
isUpdatedIncrementally = true;
|
||||
}
|
||||
|
||||
|
||||
// check override
|
||||
if (isOverride() != propDef.isOverride())
|
||||
@@ -505,13 +510,6 @@ import org.alfresco.util.EqualsHelper;
|
||||
isUpdated = true;
|
||||
}
|
||||
|
||||
// check index tokenisation mode
|
||||
if (! EqualsHelper.nullSafeEquals(getIndexTokenisationMode().toString(), propDef.getIndexTokenisationMode().toString(), false))
|
||||
{
|
||||
isUpdated = true;
|
||||
}
|
||||
|
||||
|
||||
// TODO - check prop constraints (inline and referenced)
|
||||
|
||||
if (isUpdated)
|
||||
|
Reference in New Issue
Block a user