本文整理汇总了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);
}
示例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);
}
示例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);
}