当前位置: 首页>>代码示例>>Java>>正文


Java SugarCrmDataContext类代码示例

本文整理汇总了Java中org.apache.metamodel.sugarcrm.SugarCrmDataContext的典型用法代码示例。如果您正苦于以下问题:Java SugarCrmDataContext类的具体用法?Java SugarCrmDataContext怎么用?Java SugarCrmDataContext使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


SugarCrmDataContext类属于org.apache.metamodel.sugarcrm包,在下文中一共展示了SugarCrmDataContext类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createDatastoreConnection

import org.apache.metamodel.sugarcrm.SugarCrmDataContext; //导入依赖的package包/类
@Override
protected UsageAwareDatastoreConnection<SugarCrmDataContext> createDatastoreConnection() {
    final SugarCrmDataContext dataContext =
            new SugarCrmDataContext(_baseUrl, _username, _password, "AnalyzerBeans");
    return new DatastoreConnectionImpl<>(dataContext, this, dataContext);

}
 
开发者ID:datacleaner,项目名称:DataCleaner,代码行数:8,代码来源:SugarCrmDatastore.java

示例2: createDatastoreConnection

import org.apache.metamodel.sugarcrm.SugarCrmDataContext; //导入依赖的package包/类
@Override
protected UsageAwareDatastoreConnection<SugarCrmDataContext> createDatastoreConnection() {
    final SugarCrmDataContext dataContext = new SugarCrmDataContext(_baseUrl, _username, _password, "AnalyzerBeans");
    return new DatastoreConnectionImpl<SugarCrmDataContext>(dataContext, this, dataContext);

}
 
开发者ID:datacleaner,项目名称:AnalyzerBeans,代码行数:7,代码来源:SugarCrmDatastore.java

示例3: createSugarCrmDataContext

import org.apache.metamodel.sugarcrm.SugarCrmDataContext; //导入依赖的package包/类
/**
 * Create a DataContext that connects to a SugarCRM system.
 * 
 * @param baseUrl
 *            the base URL of the system, e.g. http://localhost/sugarcrm
 * @param username
 *            the SugarCRM username
 * @param password
 *            the SugarCRM password
 * @param applicationName
 *            the name of the application you are connecting with
 * @return a DataContext object that matches the request
 */
public static DataContext createSugarCrmDataContext(String baseUrl, String username, String password,
        String applicationName) {
    return new SugarCrmDataContext(baseUrl, username, password, applicationName);
}
 
开发者ID:apache,项目名称:metamodel,代码行数:18,代码来源:DataContextFactory.java


注:本文中的org.apache.metamodel.sugarcrm.SugarCrmDataContext类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。