source: tapas/common/implementation/com/ether/annotation/ControllerMethod.java @ 440

Last change on this file since 440 was 440, checked in by rboipsl, 12 years ago

ajout anotations
usermandatory

File size: 742 bytes
Line 
1package com.ether.annotation;
2
3import org.jetbrains.annotations.NotNull;
4import org.jetbrains.annotations.Nullable;
5
6import java.lang.annotation.ElementType;
7import java.lang.annotation.Retention;
8import java.lang.annotation.RetentionPolicy;
9import java.lang.annotation.Target;
10
11@Retention(RetentionPolicy.RUNTIME)
12@Target(ElementType.METHOD)
13public @interface ControllerMethod
14{
15    @NotNull String view() default "";
16
17    boolean jsonResult() default false;
18
19    boolean loginMandatory() default false;
20
21    boolean requestMandatory() default false;
22
23    boolean userMandatory() default false;
24
25    boolean backofficeMethod() default false;
26
27    @Nullable String defaultView() default "";
28
29    @Nullable String downloadFile() default "";
30}
Note: See TracBrowser for help on using the repository browser.