use of org.meveo.service.crm.impl.ProviderService in project meveo by meveo-org.
the class MeveoValueExpressionWrapper method getAdditionalSources.
@Override
protected Map<String, Object> getAdditionalSources(String expression, Map<Object, Object> userMap) {
final Map<String, Object> additionalSources = super.getAdditionalSources(expression, userMap);
if (userMap != null && expression.contains("appProvider")) {
Provider appProvider = ((ProviderService) EjbUtils.getServiceInterface("ProviderService")).getProvider();
additionalSources.put("appProvider", appProvider);
}
return additionalSources;
}
Aggregations