Class BusinessUnitResolverServiceImpl

java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.BusinessUnitResolverServiceImpl
All Implemented Interfaces:
BusinessUnitResolverService

@Component public class BusinessUnitResolverServiceImpl extends Object implements BusinessUnitResolverService
  • Constructor Details

  • Method Details

    • initialize

      public void initialize()
    • getInstalledBusinessUnits

      public Set<String> getInstalledBusinessUnits()
      Description copied from interface: BusinessUnitResolverService
      Returns all business units installed on the customer's system, being executed privileged and not taking Principal and other data related to permissions into account .
      Specified by:
      getInstalledBusinessUnits in interface BusinessUnitResolverService
      Returns:
      collection of business unit unique ids.
    • getConfiguredBusinessUnits

      public Set<String> getConfiguredBusinessUnits()
      Description copied from interface: BusinessUnitResolverService
      Returns all business units configured in the customer's application,properties, not taking Principal and other data related to permissions into account .
      Specified by:
      getConfiguredBusinessUnits in interface BusinessUnitResolverService
      Returns:
      collection of business unit unique ids.
    • setBusinessUnits

      @Value("${nice2.dbrefactoring.businessunits}") public void setBusinessUnits(String available)