|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.persistence.search.SearchQuery
public class SearchQuery
Internal class representing the CentraSite query that will be executed by
instance
.
Constructor Summary | |
---|---|
SearchQuery(Predicate predicate,
java.util.List<Order> orders,
ManagedBeanPool beanPool,
com.centrasite.jaxr.CentraSiteBusinessQuery centraSiteBusinessQuery)
Creates a SearchQuery instance for a given search properties |
Method Summary | |
---|---|
void |
addPrologExtension(java.lang.String prologExtension)
Adds a prologExtension to a String of prolog extensions. |
javax.xml.registry.BulkResponse |
execute()
Creates and executes the business query |
java.lang.String |
generateNextContextObject()
|
ManagedBeanPool |
getBeanPool()
Returns the bean pool |
PersistenceContext |
getContext()
Returns the persitanceContext |
java.lang.String |
getCurrentContextObject()
Returns the current context object and itarates for the next |
java.util.Locale |
getLocale()
Returns the current locale |
int |
getLocalFunctionCount()
|
java.lang.String |
getNextContextObject()
|
javax.xml.namespace.QName |
getObjectTypeName(java.lang.Class<? extends RegistryBean> beanClass)
Gives the object type name for a given bean class |
java.lang.String |
getPrefixForNamespaceUri(java.lang.String nameSpaceUri,
boolean importRequired)
Declares and returns a prefix for a given nameSpaceUri |
java.lang.String |
getPreviousContextObjectType()
|
java.lang.String |
getPrologExtension()
|
java.lang.String |
getQueryPath()
|
boolean |
isInFunction()
|
void |
resetContextObjects()
Resets the values of the context objects so they are ready for next iteration |
void |
setIsInFunction(boolean isInFunction)
|
void |
setLocalFunctionCount(int localFunctionCount)
|
void |
setNextFunctionCount()
|
void |
setPreviousContextObjectType(java.lang.String previsousContextObjectType)
|
void |
setPrologExtension(java.lang.String expression)
Declares a prolog extension in CentraSiteBusinessQuery |
void |
setQueryPath(java.lang.String queryPath)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchQuery(Predicate predicate, java.util.List<Order> orders, ManagedBeanPool beanPool, com.centrasite.jaxr.CentraSiteBusinessQuery centraSiteBusinessQuery)
predicate
- orders
- beanPool
- centraSiteBusinessQuery
- Method Detail |
---|
public javax.xml.registry.BulkResponse execute() throws CSAppFrameworkException
CSAppFrameworkException
public java.lang.String getCurrentContextObject()
public void resetContextObjects()
public java.lang.String getPrefixForNamespaceUri(java.lang.String nameSpaceUri, boolean importRequired)
nameSpaceUri
- importRequired
-
public void setPrologExtension(java.lang.String expression)
expression
- public javax.xml.namespace.QName getObjectTypeName(java.lang.Class<? extends RegistryBean> beanClass) throws CSAppFrameworkException
beanClass
-
CSAppFrameworkException
public PersistenceContext getContext()
public ManagedBeanPool getBeanPool()
public java.util.Locale getLocale()
public java.lang.String getPreviousContextObjectType()
public void setPreviousContextObjectType(java.lang.String previsousContextObjectType)
public java.lang.String getQueryPath()
public void setQueryPath(java.lang.String queryPath)
public java.lang.String getNextContextObject()
public java.lang.String generateNextContextObject()
public boolean isInFunction()
public void setIsInFunction(boolean isInFunction)
public java.lang.String getPrologExtension()
public void addPrologExtension(java.lang.String prologExtension)
setPrologExtension(String)
so the can be set in the query when needed
prologExtension
- public int getLocalFunctionCount()
public void setLocalFunctionCount(int localFunctionCount)
public void setNextFunctionCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |