Class SecurityDimension

java.lang.Object
io.vertigo.account.authorization.definitions.SecurityDimension

public final class SecurityDimension extends Object
Secured data dimension.
Author:
jgarnier, npiedeloup
  • Constructor Details

    • SecurityDimension

      public SecurityDimension(String name, SecurityDimensionType type, List<io.vertigo.datamodel.data.definitions.DataField> fields, List<String> values)
      Construct an instance of SecurityDimension.
      Parameters:
      name - name.
      type - type.
      fields - Ordered list of fields (multiple for TREE, empty for ENUM).
      values - Ordered list of values (empty for TREE, multiple for ENUM).
  • Method Details

    • getName

      public String getName()
      Give the name of this dimension.
      Returns:
      the name of this dimension.
    • getType

      public SecurityDimensionType getType()
      Give the value of type.
      Returns:
      the value of type.
    • getFields

      public List<io.vertigo.datamodel.data.definitions.DataField> getFields()
      Give the ordered list of fields (multiple for TREE, empty for ENUM)
      Returns:
      the ordered list of fields.
    • getValues

      public List<String> getValues()
      Give the ordered list of values (empty for TREE, multiple for ENUM).
      Returns:
      the ordered list of values.