Class ContentNodePermission

java.lang.Object
ch.tocco.nice2.dms.api.security.ContentNodePermission

public final class ContentNodePermission extends Object
Note: in ContentNodePermissionService there exist singleton instances of this class for each Node_permissions as stored on the DB, i.e. you can not add a Node_permission entity without adding a contribution to the configuration-point nice2.dms.ContentNodePermissions.
  • Constructor Details

    • ContentNodePermission

      public ContentNodePermission(String name)
  • Method Details

    • getName

      public String getName()
      Returns:
      the name of this permission (corresponds to the unique_id of the entity)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object