Changeset 416 for tapas/common


Ignore:
Timestamp:
03/15/12 18:54:48 (12 years ago)
Author:
vmipsl
Message:

User : ajout laboratoire & pays
BO : idem
Création compte : idem
DataProtocole?
Clean accent properties
Language

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

Legend:

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

    r406 r416  
    2121        _isBackofficeMethod = annotation.backofficeMethod(); 
    2222        _params = new ArrayList<ParamDescription>(); 
     23        _downloadFile = annotation.downloadFile(); 
    2324    } 
    2425 
     
    113114    } 
    114115 
     116    @Nullable 
     117    public String getDownloadFile() 
     118    { 
     119        return _downloadFile; 
     120    } 
     121 
     122    public void setDownloadFile( @Nullable final String downloadFile ) 
     123    { 
     124        _downloadFile = downloadFile; 
     125    } 
     126 
    115127    @NotNull 
    116128    private Method _method; 
     
    125137    private Boolean _isRequestMandatory; 
    126138    private Boolean _isBackofficeMethod; 
     139    @Nullable 
     140    private String _downloadFile; 
    127141} 
  • tapas/common/implementation/com/ether/ParameterConstants.java

    r409 r416  
    44{ 
    55    public static final String PARAMETER_ID = "id"; 
    6     public static final String PARAMETER_DATE = "date"; 
    7     public static final String PARAMETER_CODE = "code"; 
    86    public static final String PARAMETER_NAME = "name"; 
    9     public static final String PARAMETER_DATE_BEGIN = "dateBegin"; 
    10     public static final String PARAMETER_DATE_END = "dateEnd"; 
    117    public static final String PARAMETER_LOGIN = "login"; 
    128    public static final String PARAMETER_PWD = "pwd"; 
     
    1410    public static final String PARAMETER_EMAIL = "email"; 
    1511    public static final String PARAMETER_ROLE = "role"; 
    16     public static final String PARAMETER_STATE = "state"; 
     12    public static final String PARAMETER_LABORATORY = "laboratory"; 
     13    public static final String PARAMETER_COUNTRY = "country"; 
    1714    public static final String PARAMETER_HAS_ACCESS = "hasAccess"; 
    1815    public static final String PARAMETER_KEEP_SAME_PASSWORD = "keepSamePassword"; 
  • tapas/common/implementation/com/ether/annotation/ControllerMethod.java

    r406 r416  
    2424 
    2525    @Nullable String defaultView() default ""; 
     26 
     27    @Nullable String downloadFile() default ""; 
    2628} 
  • tapas/common/implementation/com/ether/annotation/DownloadFile.java

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