Package org.openbel.framework.ws.service

Examples of org.openbel.framework.ws.service.KamStoreServiceException


        }

        // Make sure a Kam was specified in the request
        KamHandle kamHandle = request.getKam();
        if (null == kamHandle) {
            throw new KamStoreServiceException("KamHandle payload is missing");
        }

        // Release the kam
        kamCacheService.releaseKam(kamHandle.getHandle());
View Full Code Here


        }

        // Make sure a Kam was specified in the request
        KamHandle kamHandle = request.getHandle();
        if (null == kamHandle) {
            throw new KamStoreServiceException("KamHandle payload is missing");
        }

        // Get the real Kam from the KamCache
        org.openbel.framework.api.Kam objKam =
                kamCacheService.getKam(kamHandle.getHandle());
View Full Code Here

        }

        // Make sure a Kam was specified in the request
        KamHandle kamHandle = request.getHandle();
        if (null == kamHandle) {
            throw new KamStoreServiceException("Kam payload is missing");
        }

        GetAnnotationTypesResponse response =
                OBJECT_FACTORY.createGetAnnotationTypesResponse();
View Full Code Here

        }

        // Make sure a Kam was specified in the request
        KamHandle kamHandle = request.getHandle();
        if (null == kamHandle) {
            throw new KamStoreServiceException("Kam payload is missing");
        }

        GetNamespacesResponse response = OBJECT_FACTORY
                .createGetNamespacesResponse();
        for (Namespace namespace : kamStoreService.getNamespaces(kamHandle)) {
View Full Code Here

        }

        // Make sure a KamEdge was specified in the request
        KamEdge kamEdge = request.getKamEdge();
        if (null == kamEdge) {
            throw new KamStoreServiceException("KamEdge payload is missing");
        }
        // Check for the optional KamFilter
        KamFilter kamFilter = request.getFilter();

        GetSupportingEvidenceResponse response =
View Full Code Here

        }

        // Make sure a KamEdge was specified in the request
        List<KamEdge> kamEdges = request.getKamEdges();
        if (null == kamEdges) {
            throw new KamStoreServiceException("kamEdges payload is missing");
        }
        if (kamEdges.isEmpty()) {
            throw new KamStoreServiceException("kamEdges payload is empty");
        }

        // Check for the optional KamFilter
        KamFilter kamFilter = request.getFilter();
View Full Code Here

        }

        // Make sure a KamNode was specified in the request
        KamNode kamNode = request.getKamNode();
        if (null == kamNode) {
            throw new KamStoreServiceException("KamNode payload is missing");
        }

        GetSupportingTermsResponse response =
                OBJECT_FACTORY.createGetSupportingTermsResponse();
        for (BelTerm belTerm : kamStoreService.getSupportingTerms(kamNode)) {
View Full Code Here

TOP

Related Classes of org.openbel.framework.ws.service.KamStoreServiceException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.