Class CorporateDesignResolverServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.service.CorporateDesignResolverServiceImpl
- All Implemented Interfaces:
CorporateDesignResolverService
@Component
public class CorporateDesignResolverServiceImpl
extends Object
implements CorporateDesignResolverService
-
Constructor Summary
ConstructorsConstructorDescriptionCorporateDesignResolverServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultCorporateDesignOfBusinessUnit(BusinessUnit businessUnit) get the defaultCorporate_designto be used in widgetsresolveCorporateDesignForBusinessUnit(Entity source, BusinessUnit businessUnit) get theCorporate_designto be used with the given business unit for a template.resolveCorporateDesignForBusinessUnit(Entity source, Entity businessUnit) get theCorporate_designto be used with the given business unit for a template.get theCorporate_designto be used with the current business unit for a template.
-
Constructor Details
-
CorporateDesignResolverServiceImpl
public CorporateDesignResolverServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
resolveCorporateDesignForCurrentBusinessUnit
Description copied from interface:CorporateDesignResolverServiceget theCorporate_designto be used with the current business unit for a template.sourcemust have a relation toOutput_templateresolves business unit withBusinessUnitManager- Specified by:
resolveCorporateDesignForCurrentBusinessUnitin interfaceCorporateDesignResolverService- Parameters:
source- the entity to get the corporate design for- Returns:
- the corporate design
-
resolveCorporateDesignForBusinessUnit
Description copied from interface:CorporateDesignResolverServiceget theCorporate_designto be used with the given business unit for a template.sourcemust have a relation toOutput_template- Specified by:
resolveCorporateDesignForBusinessUnitin interfaceCorporateDesignResolverService- Parameters:
source- the entity to get the corporate design forbusinessUnit- the business unit to look for- Returns:
- the corporate design
-
resolveCorporateDesignForBusinessUnit
Description copied from interface:CorporateDesignResolverServiceget theCorporate_designto be used with the given business unit for a template.sourcemust have a relation toOutput_template- Specified by:
resolveCorporateDesignForBusinessUnitin interfaceCorporateDesignResolverService- Parameters:
source- the entity to get the corporate design forbusinessUnit- the business unit to look for- Returns:
- the corporate design
-
getDefaultCorporateDesignOfBusinessUnit
- Specified by:
getDefaultCorporateDesignOfBusinessUnitin interfaceCorporateDesignResolverService- Parameters:
businessUnit- the business unit to get theCorporate_designfrom- Returns:
- the corporate design
-
getDefaultWidgetCorporateDesign
Description copied from interface:CorporateDesignResolverServiceget the defaultCorporate_designto be used in widgets- Specified by:
getDefaultWidgetCorporateDesignin interfaceCorporateDesignResolverService
-