@PerLookup public class GenericCreateCommand extends GenericCrudCommand implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
Param annotation to property function.commandName, level, localStrings, logger, parentType, targetMethod, targetType| Constructor and Description |
|---|
GenericCreateCommand() |
| 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
AccessChecks 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() |
boolean |
preAuthorization(AdminCommandContext adminCommandContext) |
convertStringToProperties, elementName, getAnnotation, getInjectionResolver, loadClass, setInjectionResolverpublic void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpostConstruct in class GenericCrudCommandpublic Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProviderAccessChecks 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.AccessCheckProviderAccessCheckspublic boolean preAuthorization(AdminCommandContext adminCommandContext)
preAuthorization in interface AdminCommandSecurity.PreauthorizationpreAuthorization in class GenericCrudCommandpublic void execute(AdminCommandContext context)
AdminCommandexecute in interface AdminCommandcontext - informationpublic CommandModel getModel()
getModel in interface CommandModelProviderpublic Class getDecoratorClass()
GenericCrudCommandgetDecoratorClass in class GenericCrudCommandCopyright © 2017. All rights reserved.