Class GenericDeleteCommand

java.lang.Object
org.glassfish.config.support.GenericCrudCommand
org.glassfish.config.support.GenericDeleteCommand
All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.AccessCheckProvider, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization, org.glassfish.api.admin.CommandModelProvider, org.glassfish.hk2.api.PostConstruct

@PerLookup public class GenericDeleteCommand extends GenericCrudCommand implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.AccessCheckProvider
Implementation of the generic delete command
Author:
Jerome Dochez
  • Constructor Details

    • GenericDeleteCommand

      public GenericDeleteCommand()
  • Method Details

    • getModel

      public org.glassfish.api.admin.CommandModel getModel()
      Specified by:
      getModel in interface org.glassfish.api.admin.CommandModelProvider
    • postConstruct

      public void postConstruct()
      Specified by:
      postConstruct in interface org.glassfish.hk2.api.PostConstruct
      Overrides:
      postConstruct in class GenericCrudCommand
    • getAccessChecks

      public Collection<? extends org.glassfish.api.admin.AccessRequired.AccessCheck> getAccessChecks()
      Specified by:
      getAccessChecks in interface org.glassfish.api.admin.AdminCommandSecurity.AccessCheckProvider
    • execute

      public void execute(org.glassfish.api.admin.AdminCommandContext context)
      Specified by:
      execute in interface org.glassfish.api.admin.AdminCommand
    • getDecoratorClass

      public Class getDecoratorClass()
      Description copied from class: GenericCrudCommand
      Decorator class if particular command
      Specified by:
      getDecoratorClass in class GenericCrudCommand