Class DeactivateVendorUserAction

java.lang.Object
de.hybris.platform.marketplacebackoffice.actions.DeactivateVendorUserAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<VendorUserModel,Object>

public class DeactivateVendorUserAction extends Object implements com.hybris.cockpitng.actions.CockpitAction<VendorUserModel,Object>
An action for deactivating a vendor.
  • Constructor Details

    • DeactivateVendorUserAction

      public DeactivateVendorUserAction()
  • Method Details

    • perform

      public com.hybris.cockpitng.actions.ActionResult<Object> perform(com.hybris.cockpitng.actions.ActionContext<VendorUserModel> ctx)
      Specified by:
      perform in interface com.hybris.cockpitng.actions.CockpitAction<VendorUserModel,Object>
    • canPerform

      public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<VendorUserModel> ctx)
      Specified by:
      canPerform in interface com.hybris.cockpitng.actions.CockpitAction<VendorUserModel,Object>
    • needsConfirmation

      public boolean needsConfirmation(com.hybris.cockpitng.actions.ActionContext<VendorUserModel> ctx)
      Specified by:
      needsConfirmation in interface com.hybris.cockpitng.actions.CockpitAction<VendorUserModel,Object>
    • getConfirmationMessage

      public String getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<VendorUserModel> ctx)
      Specified by:
      getConfirmationMessage in interface com.hybris.cockpitng.actions.CockpitAction<VendorUserModel,Object>