Annotation Interface AccessRequired.NewChild

Enclosing class:
AccessRequired

@Target(FIELD) @Retention(RUNTIME) public static @interface AccessRequired.NewChild
Declares access control for creating a new child ConfigBean in a collection on an existing ConfigBean.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Declares multiple authorization checks for creating the same single new ConfigBean.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Type of the new ConfigBean to be created.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Action(s) to be authorized, defaulted to "create."
    Name of the collection on the owner that will contain the new child.
  • Element Details

    • type

      Class type
      Type of the new ConfigBean to be created.
    • collection

      String collection
      Name of the collection on the owner that will contain the new child.
      Default:
      ""
    • action

      String[] action
      Action(s) to be authorized, defaulted to "create."
      Default:
      {"create"}