Search in sources :

Example 21 with SpecificQueryAO

use of org.irods.jargon.core.pub.SpecificQueryAO in project metalnx-web by irods-contrib.

the class SpecQueryServiceImpl method deleteSpecQueryByAlias.

@Override
public void deleteSpecQueryByAlias(String specQueryAlias) throws DataGridConnectionRefusedException {
    SpecificQueryAO specificQueryAO = null;
    try {
        specificQueryAO = adminServices.getSpecificQueryAO();
        specificQueryAO.removeSpecificQueryByAlias(specQueryAlias);
    } catch (JargonException e) {
        logger.error("Could not get specific query: ", e.getMessage());
    }
}
Also used : JargonException(org.irods.jargon.core.exception.JargonException) SpecificQueryAO(org.irods.jargon.core.pub.SpecificQueryAO)

Aggregations

SpecificQueryAO (org.irods.jargon.core.pub.SpecificQueryAO)21 ArrayList (java.util.ArrayList)12 JargonException (org.irods.jargon.core.exception.JargonException)12 SpecificQueryResultSet (org.irods.jargon.core.query.SpecificQueryResultSet)12 SpecificQueryDefinition (org.irods.jargon.core.pub.domain.SpecificQueryDefinition)10 AdminServices (com.emc.metalnx.services.interfaces.AdminServices)9 IRODSServices (com.emc.metalnx.services.interfaces.IRODSServices)9 IRODSAccount (org.irods.jargon.core.connection.IRODSAccount)9 EnvironmentalInfoAO (org.irods.jargon.core.pub.EnvironmentalInfoAO)9 Test (org.junit.Test)9 SpecificQueryProvider (com.emc.metalnx.services.irods.utils.SpecificQueryProvider)8 ClientHints (org.irods.jargon.core.pub.domain.ClientHints)8 SpecificQuery (org.irods.jargon.core.query.SpecificQuery)8 UnsupportedDataGridFeatureException (com.emc.metalnx.core.domain.exceptions.UnsupportedDataGridFeatureException)7 JargonQueryException (org.irods.jargon.core.query.JargonQueryException)6 DataGridFilePropertySearch (com.emc.metalnx.core.domain.entity.DataGridFilePropertySearch)4 DataGridMetadataSearch (com.emc.metalnx.core.domain.entity.DataGridMetadataSearch)4 DataGridCollectionAndDataObject (com.emc.metalnx.core.domain.entity.DataGridCollectionAndDataObject)3 CollectionAndDataObjectListingEntry (org.irods.jargon.core.query.CollectionAndDataObjectListingEntry)2 CollectionAndDataObjectListAndSearchAO (org.irods.jargon.core.pub.CollectionAndDataObjectListAndSearchAO)1