Class AddressUpdateServiceImpl
java.lang.Object
ch.tocco.nice2.optional.address.api.widgets.AddressUpdateServiceImpl
- All Implemented Interfaces:
AddressUpdateService
-
Constructor Summary
ConstructorDescriptionAddressUpdateServiceImpl
(PersistenceService persistenceService, WidgetConfigService widgetConfigService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Condition
getEditableCondition
(Entity user) protected Entity
isEditable
(Entity user, jakarta.ws.rs.core.UriInfo uriInfo) check if the content of the address-update widget is editablevoid
setUserStatus
(Entity user, jakarta.ws.rs.core.UriInfo uriInfo) get the relUser_status of the Widget_config and set the relUser_status of the updated User-entity
-
Constructor Details
-
AddressUpdateServiceImpl
public AddressUpdateServiceImpl(PersistenceService persistenceService, WidgetConfigService widgetConfigService)
-
-
Method Details
-
isEditable
Description copied from interface:AddressUpdateService
check if the content of the address-update widget is editable- Specified by:
isEditable
in interfaceAddressUpdateService
-
setUserStatus
Description copied from interface:AddressUpdateService
get the relUser_status of the Widget_config and set the relUser_status of the updated User-entity- Specified by:
setUserStatus
in interfaceAddressUpdateService
-
getFallbackUserStatus
-
getEditableCondition
-