當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。