Package com.salesforce.ide.core.remote

Examples of com.salesforce.ide.core.remote.Connection.describeSObject()


            }
            DescribeSObjectResult dr = null;
            IProject project = file.getProject();
            Connection connection = getConnectionFactory().getConnection(project);
            // get describe object w/o client id
            dr = connection.describeSObject(crRoot.getText(), false);

            Field[] fields = dr.getFields();
            TreeItem childFields = createTreeItemChild(crRoot, "Fields", true, 0, true, childFieldsNode);

            SubProgressMonitor spm = new SubProgressMonitor(monitor, 1);
View Full Code Here


        if (!describeCache.containsKey(componentType.toLowerCase())) {
            IProject project = file.getProject();
            Connection connection = getConnectionFactory().getConnection(project);

            // get describe object w/o client id
            DescribeSObjectResult describeSObject = connection.describeSObject(componentType, false);
            describeCache.put(componentType.toLowerCase(), describeSObject);
        }
        return describeCache.get(componentType.toLowerCase());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.