@PerLookup public class GenericListCommand extends GenericCrudCommand implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
commandName, level, LOCAL_STRINGS, LOGGER, parentType, targetMethod, targetType
Constructor and Description |
---|
GenericListCommand() |
Modifier and Type | Method and Description |
---|---|
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the parameter names and the values are the parameter values
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessCheck s the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired annotations. |
Class |
getDecoratorClass()
Decorator class if particular command
|
CommandModel |
getModel() |
void |
postConstruct() |
convertStringToProperties, elementName, getAnnotation, getInjectionResolver, loadClass, preAuthorization, setInjectionResolver
public void postConstruct()
postConstruct
in interface org.glassfish.hk2.api.PostConstruct
postConstruct
in class GenericCrudCommand
public Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProvider
AccessCheck
s the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired
annotations.getAccessChecks
in interface AdminCommandSecurity.AccessCheckProvider
AccessCheck
spublic void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationpublic CommandModel getModel()
getModel
in interface CommandModelProvider
public Class getDecoratorClass()
GenericCrudCommand
getDecoratorClass
in class GenericCrudCommand
Copyright © 2019. All rights reserved.