Annotation Interface Callable


Mark the annotated method as callable by a client-side component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Indicate how to check multiple rights
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The ids of rights to be checked
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Determines if the method can be accessed by a anonymous user
    The context to check the right.
    int
    The index of method's argument holding the context value to be converted by RightAssignmentContext
    The id of a type of the RightAssignmentContext to use to convert JS object into into a Java object
    The mode to use to check multiple rights
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant to use to ask explicitly the system to not check rights, as they will be checked by the method itself
    static final String
    Constant to use to explicitly indicate that this method could be called by anyone (anonymous users included or not depending on allowAnonymous())
    static final String
    Constant to check read access