com.softwareag.centrasite.appl.framework.persistence.search.impl
Class QueryPathGenerator

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.search.impl.QueryPathGenerator

public class QueryPathGenerator
extends java.lang.Object

Generates query path for specific properties


Constructor Summary
QueryPathGenerator()
           
 
Method Summary
static java.lang.String getPropertyPath(RegistryObjectProperty prop, SearchQuery searchQuery)
           
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPathGenerator

public QueryPathGenerator()
Method Detail

getReferencedObjectPath

public static java.lang.String getReferencedObjectPath(Property property,
                                                       SearchQuery searchQuery)
                                                throws CSAppFrameworkException
Returns the query path for a specific property

Parameters:
property -
searchQuery -
Returns:
String
Throws:
CSAppFrameworkException

getReferencedObjectIdPath

public static java.lang.String getReferencedObjectIdPath(Relation property,
                                                         SearchQuery searchQuery)
                                                  throws CSAppFrameworkException
Generates the key path for specific property

Parameters:
property -
searchQuery -
Returns:
String
Throws:
CSAppFrameworkException

getPropertyPath

public static java.lang.String getPropertyPath(RegistryObjectProperty prop,
                                               SearchQuery searchQuery)
                                        throws CSAppFrameworkException
Parameters:
prop -
searchQuery -
Returns:
propertyPath
Throws:
CSAppFrameworkException