public class QueryPathGenerator
extends java.lang.Object
Constructor and Description |
---|
QueryPathGenerator() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPropertyPath(RegistryObjectProperty prop,
SearchQuery searchQuery)
Gets the property path.
|
static java.lang.String |
getReferencedObjectIdPath(Relation property,
SearchQuery searchQuery)
Generates the key path for specific property.
|
static java.lang.String |
getReferencedObjectPath(Property property,
SearchQuery searchQuery)
Returns the query path for a specific property.
|
public static java.lang.String getReferencedObjectPath(Property property, SearchQuery searchQuery) throws CSAppFrameworkException
property
- The Property
for the query pathsearchQuery
- The SearchQuery
instanceCSAppFrameworkException
- If an error occurs while obtaining the referenced object pathpublic static java.lang.String getReferencedObjectIdPath(Relation property, SearchQuery searchQuery) throws CSAppFrameworkException
property
- The Relation
property.searchQuery
- The SearchQuery
instanceCSAppFrameworkException
- If an error occurs while trying to generate the object pathpublic static java.lang.String getPropertyPath(RegistryObjectProperty prop, SearchQuery searchQuery) throws CSAppFrameworkException
prop
- The RegistryObjectProperty
objectsearchQuery
- The SearchQuery
instanceCSAppFrameworkException
- If an error occurs while trying to get the property path