Package com.salesforce.ide.core.remote

Examples of com.salesforce.ide.core.remote.Connection


                + " permissions - project is null");
            return false;
        }
        ForceProject forceProject = ContainerDelegate.getInstance().getServiceLocator().getProjectService().getForceProject(getComponentWizardModel().getProject());

        Connection connection = ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory().getConnection(forceProject);
        boolean componentEnabled =
                ContainerDelegate.getInstance().getServiceLocator().getMetadataService().isComponentTypeEnabled(connection,
                    getComponentWizardModel().getComponentType());
        if (logger.isDebugEnabled()) {
            logger.debug(getComponentWizardModel().getComponent().getDisplayName() + " "
View Full Code Here


        if (project == null) {
            return null;
        }

        Connection connection = ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory().getConnection(project);
        DescribeObjectRegistry describeObjectRegistry = ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory().getDescribeObjectRegistry();
        return describeObjectRegistry.getCachedDescribeSObjectNames(connection, project.getName(), refresh);
    }
View Full Code Here

            ForceRemoteException {
        if (project == null || Utils.isEmpty(project.getName())) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedGlobalDescribeTypes(connection, project.getName());
    }
View Full Code Here

            throws ForceConnectionException, ForceRemoteException {
        if (project == null || Utils.isEmpty(project.getName())) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedCustomDescribeTypes(connection, project.getName(), refresh);
    }
View Full Code Here

            throws ForceConnectionException, ForceRemoteException {
        if (project == null || Utils.isEmpty(project.getName())) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedLayoutableDescribeTypes(connection, project.getName(), refresh);
    }
View Full Code Here

            throws ForceConnectionException, ForceRemoteException {
        if (project == null || Utils.isEmpty(project.getName())) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedReportTypePrimaryObjectPluralLabels(connection, project.getName(), refresh);
    }
View Full Code Here

            throws ForceConnectionException, ForceRemoteException {
        if (project == null || Utils.isEmpty(project.getName())) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedTriggerableDescribeTypes(connection, project.getName(), refresh);
    }
View Full Code Here

            throws ForceConnectionException, ForceRemoteException {
        if (project == null || Utils.isEmpty(componentType)) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedDescribe(connection, project.getName(), componentType);
    }
View Full Code Here

            throws ForceConnectionException, ForceRemoteException {
        if (project == null) {
            return null;
        }

        Connection connection = connectionFactory.getConnection(project);
        return getCachedDescribeSObjects(connection, project.getName());
    }
View Full Code Here

    private Hashtable<String, DescribeSObjectResult> loadDescribeCaches(IProject project)
            throws ForceConnectionException, ForceRemoteException {
        if (project == null) {
            return null;
        }
        Connection connection = connectionFactory.getConnection(project);
        return loadDescribeCaches(connection, project.getName());
    }
View Full Code Here

TOP

Related Classes of com.salesforce.ide.core.remote.Connection

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.