Uses of Class
com.vaadin.copilot.AccessRequirement
Packages that use AccessRequirement
-
Uses of AccessRequirement in com.vaadin.copilot
Methods in com.vaadin.copilot that return AccessRequirementModifier and TypeMethodDescriptionNewRouteTemplateHandler.FlowTemplateRequest.accessRequirement()Returns the value of theaccessRequirementrecord component.NewRouteTemplateHandler.HillaTemplateRequest.accessRequirement()Returns the value of theaccessRequirementrecord component.static AccessRequirementAccessRequirementUtil.getAccessRequirement(AnnotatedElement annotatedClassOrMethod, AnnotatedElement fallback) Get the access requirement for the given annotated class or method based on its annotations.Methods in com.vaadin.copilot with parameters of type AccessRequirementModifier and TypeMethodDescriptionstatic voidProjectModifier.addSpringSecurity(com.vaadin.flow.server.VaadinServletContext context, Path fileInModule, AccessRequirement defaultViewAndLayoutAccess, Framework loginViewType, List<ProjectModifier.RouteAndPath> serverRoutes, List<ProjectModifier.RouteAndPath> layouts) voidRouteCreator.createFlowView(String title, String route, Path qualifiedClassNamePath, AccessRequirement accessRequirement, Class<?> layoutClass, String templateFileName, String templateData, Boolean addToMenu) Creates a Flow view for the given route using the given access requirement.voidRouteCreator.createHillaView(String title, String route, Path filePath, AccessRequirement accessRequirement, String templateFileName, String templateData, boolean addToMenu) Creates a Hilla view for the given route using the given access requirement.static voidAccessRequirementUtil.setAccessAnnotation(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration routeClass, AccessRequirement accessRequirement) Sets the access control annotation for the given class.Constructors in com.vaadin.copilot with parameters of type AccessRequirementModifierConstructorDescriptionFlowTemplateRequest(String packageName, String route, String title, String className, AccessRequirement accessRequirement, Class<?> layoutClass, String templateName, String templateData, boolean addToMenu) Creates an instance of aFlowTemplateRequestrecord class.HillaTemplateRequest(String routeName, String title, AccessRequirement accessRequirement, String templateName, String templateData, boolean addToMenu) Creates an instance of aHillaTemplateRequestrecord class.