Class AddressUpdateServiceImpl

java.lang.Object
ch.tocco.nice2.optional.address.api.widgets.AddressUpdateServiceImpl
All Implemented Interfaces:
AddressUpdateService

@Component public class AddressUpdateServiceImpl extends Object implements AddressUpdateService
  • Constructor Details

  • Method Details

    • isEditable

      public Boolean isEditable(Entity user, jakarta.ws.rs.core.UriInfo uriInfo)
      Description copied from interface: AddressUpdateService
      check if the content of the address-update widget is editable
      Specified by:
      isEditable in interface AddressUpdateService
    • setUserStatus

      public void setUserStatus(Entity user, jakarta.ws.rs.core.UriInfo uriInfo)
      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 interface AddressUpdateService
    • getFallbackUserStatus

      protected Entity getFallbackUserStatus()
    • getEditableCondition

      protected Condition getEditableCondition(Entity user)