public class RecordQueriesList extends BaseQueriesList
CategoryQueriesList
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
Query |
create(java.lang.String newName,
java.lang.String queryString,
boolean isComplex)
Creates a new query using the given name.
|
void |
delete(Query setToDelete)
Deletes the given query.
|
int |
getItemType()
Returns the item type for the items of this manager.
|
java.util.List<java.lang.String> |
getQueriesNames()
Returns a list of all query names known to this instance.
|
Query |
getQuery(java.lang.String name)
Returns the query for the given name.
|
copy, delete, getItem, getItemIDs, getPath, importSet, rename, setAsDefault
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public Query create(java.lang.String newName, java.lang.String queryString, boolean isComplex) throws CumulusException, javax.naming.InvalidNameException
create
in class BaseQueriesList
newName
- the name of the new jobqueryString
- the query to save under the given nameisComplex
- specifies whether the query is in advanced syntaxCumulusException
- in case of an errorjavax.naming.InvalidNameException
- in case of an invalid or already used namepublic void delete(Query setToDelete) throws CumulusException
delete
in class BaseQueriesList
setToDelete
- the query to deleteCumulusException
- in case of an errorpublic java.util.List<java.lang.String> getQueriesNames()
getQueriesNames
in class BaseQueriesList
String
instancespublic Query getQuery(java.lang.String name)
getQuery
in class BaseQueriesList
name
- the query namepublic int getItemType()
ItemManager
getItemType
in interface ItemManager
getItemType
in class BaseQueriesList
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.