Class 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 Detail

      • GenericDeleteCommand

        public GenericDeleteCommand()
    • Method Detail

      • 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