Package org.cristalise.kernel.querying
Class Query
java.lang.Object
org.cristalise.kernel.querying.Query
- All Implemented Interfaces:
DescriptionObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetParameter(String name) getXml(boolean prettyPrint) booleanmakeDescCollections(TransactionKey transactionKey) voidvoidsetMandatoryParemeters(String uuid, Object schemaName) voidsetParemeterValues(String itemUUID, Object schemaName, CastorHashMap actProps) voidsetStringParameter(String name, Object value) voidvalidateXML(String xml) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cristalise.kernel.utils.DescriptionObject
exists, getItemPath, getName, getNamespace, getVersion, getXml, makeDescCollection, setItemPath, setName, setNamespace, setVersion, toOutcome
-
Constructor Details
-
Query
public Query() -
Query
- Throws:
QueryParsingException
-
Query
- Throws:
QueryParsingException
-
Query
- Throws:
QueryParsingException
-
-
Method Details
-
getItemID
- Specified by:
getItemIDin interfaceDescriptionObject
-
hasParameters
public boolean hasParameters() -
getParameter
-
setStringParameter
-
setParemeterValues
-
setMandatoryParemeters
-
validateXML
-
parseXML
- Throws:
QueryParsingException
-
getQueryXML
-
makeDescCollections
public CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException - Specified by:
makeDescCollectionsin interfaceDescriptionObject- Throws:
InvalidDataExceptionObjectNotFoundException
-
export
public void export(Writer imports, File dir, boolean shallow) throws InvalidDataException, ObjectNotFoundException, IOException - Specified by:
exportin interfaceDescriptionObject- Throws:
InvalidDataExceptionObjectNotFoundExceptionIOException
-
getXml
- Specified by:
getXmlin interfaceDescriptionObject- Throws:
InvalidDataException
-
getResourceType
- Specified by:
getResourceTypein interfaceDescriptionObject
-