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


Java RemoteTenantDAO类代码示例

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


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

示例1: doEndTag

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public int doEndTag() throws JspException {

        if (this.remoteTenantDAO == null) {
            ServletContext servletContext = this.pageContext.getServletContext();
            ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(servletContext);
            this.remoteTenantDAO= (RemoteTenantDAO) context.getBean("remoteTenantDAO");
        }

        try {
            RemoteTenant rt = this.remoteTenantDAO.get(operatorId, tenantId);
            String stringRep = Text.matchMax(rt.getUrl(), itemUrl);
            String result = encodeForHTMLAttribute(stringRep);
            this.pageContext.getOut().write(result);
        } catch (java.io.IOException e) {
            throw new JspTagException("IO Error: " + e.getMessage());
        }
        return EVAL_PAGE;
    }
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:19,代码来源:AbsoluteUrl.java

示例2: NamedConfigurationServiceImpl

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public NamedConfigurationServiceImpl(TypeMappingService typeMappingService, SourceTypeDAO sourceTypeDAO,
                                     PluginRegistry pluginRegistry, NamedConfigurationDAO namedConfigurationDAO,
                                     EasyRecSettings easyrecSettings, RemoteTenantDAO remoteTenantDAO,
                                     RemoteTenantService remoteTenantService,
                                     ShopRecommenderService shopRecommenderService,
                                     GeneratorContainer generatorContainer,
                                     JSONProfileServiceImpl jsonProfileService) {
    this.typeMappingService = typeMappingService;
    this.sourceTypeDAO = sourceTypeDAO;
    this.pluginRegistry = pluginRegistry;
    this.namedConfigurationDAO = namedConfigurationDAO;
    this.easyrecSettings = easyrecSettings;
    this.remoteTenantDAO = remoteTenantDAO;
    this.remoteTenantService = remoteTenantService;
    this.shopRecommenderService = shopRecommenderService;
    this.generatorContainer = generatorContainer;
    this.jsonProfileService = jsonProfileService;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:19,代码来源:NamedConfigurationServiceImpl.java

示例3: NamedConfigurationServiceImpl

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public NamedConfigurationServiceImpl(TypeMappingService typeMappingService, SourceTypeDAO sourceTypeDAO,
                                     PluginRegistry pluginRegistry, NamedConfigurationDAO namedConfigurationDAO,
                                     EasyRecSettings easyrecSettings, RemoteTenantDAO remoteTenantDAO,
                                     RemoteTenantService remoteTenantService,
                                     ShopRecommenderService shopRecommenderService,
                                     GeneratorContainer generatorContainer) {
    this.typeMappingService = typeMappingService;
    this.sourceTypeDAO = sourceTypeDAO;
    this.pluginRegistry = pluginRegistry;
    this.namedConfigurationDAO = namedConfigurationDAO;
    this.easyrecSettings = easyrecSettings;
    this.remoteTenantDAO = remoteTenantDAO;
    this.remoteTenantService = remoteTenantService;
    this.shopRecommenderService = shopRecommenderService;
    this.generatorContainer = generatorContainer;
}
 
开发者ID:customertimes,项目名称:easyrec-PoC,代码行数:17,代码来源:NamedConfigurationServiceImpl.java

示例4: EasyRec

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public EasyRec(OperatorDAO operatorDAO, RemoteTenantDAO remoteTenantDAO,
               ShopRecommenderService shopRecommenderService, TenantService tenantService,
               TypeMappingService typeMappingService, ItemDAO itemDAO, RemoteAssocService remoteAssocService,
               IDMappingDAO idMappingDAO,
               //added by FK on 2012-12-18 for enabling profile data in recommendations
               ProfileService profileService,
               ClusterService clusterService,
               String dateFormatString) {
    this.operatorDAO = operatorDAO;
    this.remoteTenantDAO = remoteTenantDAO;
    this.shopRecommenderService = shopRecommenderService;
    this.tenantService = tenantService;
    this.typeMappingService = typeMappingService;
    this.itemDAO = itemDAO;
    this.remoteAssocService = remoteAssocService;
    this.dateFormat = dateFormatString;
    this.profileService = profileService;
    this.idMappingDAO = idMappingDAO;
    this.clusterService = clusterService;
}
 
开发者ID:customertimes,项目名称:easyrec-PoC,代码行数:21,代码来源:EasyRec.java

示例5: initialize

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
private void initialize() {
    ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(getServletContext());

    this.tenantService = context.getBean("tenantService", TenantService.class);
    this.remoteTenantDAO = context.getBean("remoteTenantDAO", RemoteTenantDAO.class);
    this.remoteTenantService = context.getBean("remoteTenantService", RemoteTenantService.class);
    this.shopRecommenderService = context.getBean("shopRecommenderService", ShopRecommenderService.class);
    this.easyrecSettings = context.getBean("easyrecSettings", EasyRecSettings.class);
    this.pluginRegistry = context.getBean("pluginRegistry", PluginRegistry.class);
    this.generatorContainer = context.getBean("generatorContainer", GeneratorContainer.class);
    this.logEntryDAO = context.getBean("logEntryDAO", LogEntryDAO.class);

    initialized = true;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:15,代码来源:PluginStarter.java

示例6: ItemSearchController

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public ItemSearchController(ItemDAO itemDAO, String dateFormat, RemoteTenantDAO remoteTenantDAO,
                            ItemTypeDAO itemTypeDAO, AssocTypeDAO assocTypeDAO) {
    this.itemDAO = itemDAO;
    this.dateFormat = dateFormat;
    this.remoteTenantDAO = remoteTenantDAO;
    this.itemTypeDAO = itemTypeDAO;
    this.assocTypeDAO = assocTypeDAO;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:9,代码来源:ItemSearchController.java

示例7: ClusterManagerController

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public ClusterManagerController(ClusterService clusterService, RemoteTenantDAO remoteTenantDAO, ItemDAO itemDAO,
                                ItemTypeDAO itemTypeDAO, IDMappingDAO idMappingDAO,IDMappingService idMappingService, ViewInitializationService viewInitializationService) {
    this.clusterService = clusterService;
    this.remoteTenantDAO = remoteTenantDAO;
    this.itemDAO = itemDAO;
    this.itemTypeDAO = itemTypeDAO;
    this.idMappingDAO = idMappingDAO;
    this.idMappingService = idMappingService;
    this.viewInitializationService = viewInitializationService;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:11,代码来源:ClusterManagerController.java

示例8: PluginTimerTask

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public PluginTimerTask(RemoteTenantDAO remoteTenantDAO, LinkedBlockingQueue<RemoteTenant> queue, String executionTime) {

        logger.debug(
                "Init PluginTimerTask for " + executionTime);

        this.remoteTenantDAO = remoteTenantDAO;
        this.exectutionTime = executionTime;

        pluginTimer = new Timer();
        pluginTimer.scheduleAtFixedRate(new PluginInnerTimerTask(remoteTenantDAO, queue, executionTime),
                getExecutionTime(executionTime), FIXED_RATE);
    }
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:13,代码来源:PluginTimerTask.java

示例9: EasyRec

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public EasyRec(OperatorDAO operatorDAO, RemoteTenantDAO remoteTenantDAO,
               ShopRecommenderService shopRecommenderService, TenantService tenantService,
               TypeMappingService typeMappingService, ItemDAO itemDAO, RemoteAssocService remoteAssocService,
               IDMappingDAO idMappingDAO,
               //added by FK on 2012-12-18 for enabling profile data in recommendations
               ProfileService profileService,
               ClusterService clusterService,
               EasyRecSettings easyrecSettings,
               PluginRegistry pluginRegistry,
               GeneratorContainer generatorContainer,
               String dateFormatString,
               ObjectMapper objectMapper,
               LogEntryDAO logEntryDAO,
               BackTrackingDAO backTrackingDAO) {
    this.operatorDAO = operatorDAO;
    this.remoteTenantDAO = remoteTenantDAO;
    this.shopRecommenderService = shopRecommenderService;
    this.tenantService = tenantService;
    this.typeMappingService = typeMappingService;
    this.itemDAO = itemDAO;
    this.remoteAssocService = remoteAssocService;
    this.dateFormat = dateFormatString;
    this.profileService = profileService;
    this.idMappingDAO = idMappingDAO;
    this.clusterService = clusterService;
    this.easyrecSettings = easyrecSettings;
    this.pluginRegistry = pluginRegistry;
    this.generatorContainer = generatorContainer;
    this.objectMapper = objectMapper;
    this.logEntryDAO = logEntryDAO;
    this.backTrackingDAO = backTrackingDAO;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:33,代码来源:EasyRec.java

示例10: initialize

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
private void initialize() {
    ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(getServletContext());

    this.tenantService = context.getBean("tenantService", TenantService.class);
    this.remoteTenantDAO = context.getBean("remoteTenantDAO", RemoteTenantDAO.class);
    this.remoteTenantService = context.getBean("remoteTenantService", RemoteTenantService.class);
    this.shopRecommenderService = context.getBean("shopRecommenderService", ShopRecommenderService.class);
    this.easyrecSettings = context.getBean("easyrecSettings", EasyRecSettings.class);
    this.pluginRegistry = context.getBean("pluginRegistry", PluginRegistry.class);
    this.generatorContainer = context.getBean("generatorContainer", GeneratorContainer.class);

    initialized = true;
}
 
开发者ID:customertimes,项目名称:easyrec-PoC,代码行数:14,代码来源:PluginStarter.java

示例11: setRemoteTenantDAO

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public void setRemoteTenantDAO(RemoteTenantDAO remoteTenantDAO) {
    this.remoteTenantDAO = remoteTenantDAO;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:4,代码来源:ImportController.java

示例12: PluginInnerTimerTask

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public PluginInnerTimerTask(RemoteTenantDAO remoteTenantDAO, LinkedBlockingQueue<RemoteTenant> queue, String executionTime) {
    this.remoteTenantDAO = remoteTenantDAO;
    this.queue = queue;
    this.executionTime = executionTime;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:6,代码来源:PluginTimerTask.java

示例13: ViewInitializationService

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public ViewInitializationService(RemoteTenantDAO remoteTenantDAO) {
    this.remoteTenantDAO = remoteTenantDAO;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:4,代码来源:ViewInitializationService.java

示例14: getRemoteTenantDAO

import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
@SuppressWarnings({"UnusedDeclaration"})
public RemoteTenantDAO getRemoteTenantDAO() {
    return remoteTenantDAO;
}
 
开发者ID:major2015,项目名称:easyrec_major,代码行数:5,代码来源:ShopRecommenderServiceImpl.java


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