本文整理匯總了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;
}