Class SaveCurrentBusinessUnitListener
java.lang.Object
ch.tocco.nice2.usersettings.impl.businessunit.SaveCurrentBusinessUnitListener
- All Implemented Interfaces:
BusinessUnitChangeListener
@Component
public class SaveCurrentBusinessUnitListener
extends Object
implements BusinessUnitChangeListener
Store current business unit in preferences when a user manually switches the business unit.
-
Constructor Summary
ConstructorDescriptionSaveCurrentBusinessUnitListener
(NodeFactory nodeFactory, PreferencesFactory preferencesFactory, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
businessUnitHasChanged
(BusinessUnit businessUnit, boolean temporary)
-
Constructor Details
-
SaveCurrentBusinessUnitListener
public SaveCurrentBusinessUnitListener(NodeFactory nodeFactory, PreferencesFactory preferencesFactory, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
businessUnitHasChanged
- Specified by:
businessUnitHasChanged
in interfaceBusinessUnitChangeListener
-