Package org.openbel.framework.api

Examples of org.openbel.framework.api.Dialect


        }

        final int maxSearchDepth = request.getMaxDepth();

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        Kam kam;
        try {
            // read kam from first source node
            kam =
View Full Code Here


        }

        final int maxSearchDepth = request.getMaxDepth();

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        Kam kam;
        try {
            // read kam from first source node
            kam =
View Full Code Here

        }

        final int maxSearchDepth = request.getMaxDepth();

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        Kam kam;
        try {
            // read kam from first source node
            kam =
View Full Code Here

    private Dialect getDialect(final DialectHandle dialectHandle)
            throws RequestException {
        if (dialectHandle == null) {
            return null;
        }
        Dialect dialect =
                dialectCacheService.getDialect(dialectHandle.getHandle());

        if (dialect == null) {
            final String fmt = DIALECT_REQUEST_NO_DIALECT_FOR_HANDLE;
            final String msg = format(fmt, dialectHandle.getHandle());
View Full Code Here

        final KamHandle handle = req.getHandle();
        if (handle == null || handle.getHandle() == null) {
            throw new RequestException("KamHandle is missing");
        }
        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(req.getDialect());
        final org.openbel.framework.api.Kam kam = getKam(
                handle, dialect);

        final Namespace ns = req.getNamespace();
        if (ns == null) {
View Full Code Here

    private Dialect getDialect(final DialectHandle dialectHandle)
            throws RequestException {
        if (dialectHandle == null) {
            return null;
        }
        Dialect dialect = dialectCacheService.getDialect(dialectHandle
                .getHandle());

        if (dialect == null) {
            final String fmt = DIALECT_REQUEST_NO_DIALECT_FOR_HANDLE;
            final String msg = format(fmt, dialectHandle.getHandle());
View Full Code Here

        if (CollectionUtils.isEmpty(ids)) {
            throw new RequestException("IDs are missing");
        }

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        final org.openbel.framework.api.Kam objKam = getKam(
                kamHandle, dialect);

        final org.openbel.framework.api.NodeFilter filter =
View Full Code Here

        if (CollectionUtils.isEmpty(labels)) {
            throw new RequestException("Labels are missing");
        }

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        final org.openbel.framework.api.Kam objKam = getKam(
                kamHandle, dialect);

        final org.openbel.framework.api.NodeFilter filter =
View Full Code Here

            throw new RequestException(
                    "Regular expression patterns are missing");
        }

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        final org.openbel.framework.api.Kam objKam = getKam(
                kamHandle, dialect);
        final org.openbel.framework.api.NodeFilter filter =
                convertNodeFilterInRequest(
View Full Code Here

        if (filter == null) {
            throw new RequestException("Filter is missing.");
        }

        // Get the Dialect (may be null)
        final Dialect dialect = getDialect(request.getDialect());

        final org.openbel.framework.api.Kam kam = getKam(hndl,
                dialect);

        return findEdges(filter, kam);
View Full Code Here

TOP

Related Classes of org.openbel.framework.api.Dialect

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.