Changeset 440 for tapas/common


Ignore:
Timestamp:
03/26/12 17:00:15 (12 years ago)
Author:
rboipsl
Message:

ajout anotations
usermandatory

Location:
tapas/common/implementation/com/ether
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • tapas/common/implementation/com/ether/MethodDescription.java

    r416 r440  
    1919        _isLoginMandatory = annotation.loginMandatory(); 
    2020        _isRequestMandatory = annotation.requestMandatory(); 
     21        _isUserMandatory = annotation.userMandatory(); 
    2122        _isBackofficeMethod = annotation.backofficeMethod(); 
    2223        _params = new ArrayList<ParamDescription>(); 
     
    99100    } 
    100101 
     102 
    101103    public void setRequestMandatory( final Boolean requestMandatory ) 
    102104    { 
    103105        _isRequestMandatory = requestMandatory; 
     106    } 
     107 
     108    public Boolean isUserMandatory() 
     109    { 
     110        return _isUserMandatory; 
     111    } 
     112 
     113    public void setUserMandatory( final Boolean userMandatory ) 
     114    { 
     115        _isUserMandatory = userMandatory; 
    104116    } 
    105117 
     
    136148    private Boolean _isLoginMandatory; 
    137149    private Boolean _isRequestMandatory; 
     150    private Boolean _isUserMandatory; 
    138151    private Boolean _isBackofficeMethod; 
    139152    @Nullable 
  • tapas/common/implementation/com/ether/annotation/ControllerMethod.java

    r416 r440  
    2121    boolean requestMandatory() default false; 
    2222 
     23    boolean userMandatory() default false; 
     24 
    2325    boolean backofficeMethod() default false; 
    2426 
  • tapas/common/implementation/com/ether/annotation/UserMandatory.java

    r434 r440  
    88@Retention(RetentionPolicy.RUNTIME) 
    99@Target(ElementType.PARAMETER) 
    10 public @interface RequestMandatory 
     10public @interface UserMandatory 
    1111{ 
    1212} 
Note: See TracChangeset for help on using the changeset viewer.