Class BusinessUnitResolverServiceImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.BusinessUnitResolverServiceImpl
- All Implemented Interfaces:
BusinessUnitResolverService
@Component
public class BusinessUnitResolverServiceImpl
extends Object
implements BusinessUnitResolverService
-
Constructor Summary
ConstructorDescriptionBusinessUnitResolverServiceImpl
(org.slf4j.Logger log, Context context, SecurityManager securityManager, DataSource dataSource, MetaDataRegistry metaDataRegistry) -
Method Summary
Modifier and TypeMethodDescriptionReturns all business units configured in the customer'sapplication,properties
, not takingPrincipal
and other data related to permissions into account .Returns all business units installed on the customer's system, being executed privileged and not takingPrincipal
and other data related to permissions into account .void
void
setBusinessUnits
(String available)
-
Constructor Details
-
BusinessUnitResolverServiceImpl
public BusinessUnitResolverServiceImpl(org.slf4j.Logger log, Context context, SecurityManager securityManager, DataSource dataSource, MetaDataRegistry metaDataRegistry)
-
-
Method Details
-
initialize
public void initialize() -
getInstalledBusinessUnits
Description copied from interface:BusinessUnitResolverService
Returns all business units installed on the customer's system, being executed privileged and not takingPrincipal
and other data related to permissions into account .- Specified by:
getInstalledBusinessUnits
in interfaceBusinessUnitResolverService
- Returns:
- collection of business unit unique ids.
-
getConfiguredBusinessUnits
Description copied from interface:BusinessUnitResolverService
Returns all business units configured in the customer'sapplication,properties
, not takingPrincipal
and other data related to permissions into account .- Specified by:
getConfiguredBusinessUnits
in interfaceBusinessUnitResolverService
- Returns:
- collection of business unit unique ids.
-
setBusinessUnits
-