parseRestrictionFTSintoCMIS
public static java.lang.String parseRestrictionFTSintoCMIS(java.lang.String restriction,
java.lang.String alias,
java.util.Map<OCPropertyDefinition,OCAspectDefinition> aspectDefinitionsByPropertyDefinition,
java.util.Map<OCPropertyDefinition,OCAspectDefinition> aspectsMap)
This method will parse an FTS query restriction into a CMIS query restriction. The method will break down the FTS query
and rebuild it using syntax for CMIS. The method will return the resulting restriction.
- Parameters:
restriction
- original restriction query configured, in FTS language
alias
- type restriction's aliased name
aspectDefinitionsByPropertyDefinition
- map object that relates property definitions to aspect definitions
aspectsMap
- map object that tracks the aspects used when building up this query
- Returns:
- final query restriction, in CMIS language.