本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例11: setRemoteTenantDAO
import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public void setRemoteTenantDAO(RemoteTenantDAO remoteTenantDAO) {
this.remoteTenantDAO = remoteTenantDAO;
}
示例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;
}
示例13: ViewInitializationService
import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
public ViewInitializationService(RemoteTenantDAO remoteTenantDAO) {
this.remoteTenantDAO = remoteTenantDAO;
}
示例14: getRemoteTenantDAO
import org.easyrec.store.dao.web.RemoteTenantDAO; //导入依赖的package包/类
@SuppressWarnings({"UnusedDeclaration"})
public RemoteTenantDAO getRemoteTenantDAO() {
return remoteTenantDAO;
}