Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • Method Summary

      All Methods Instance Methods Abstract Methods 

      Modifier and TypeMethod and Description
      EDMAccessManagergetAccessManager()
      Get the access manager for this access
      longgetAccessRights()
      Get access rights bitmask for this access
      longgetRole()
      Get the role for this access
      EDMUserOrGroupgetUserOrGroup()
      return the user or group for this access
      booleanisAccessFor()
      Check if this access is a special granted access
      voidsetAccessRights(long rights)
      Set access rights bitmask for this access


    • Method Detail

      • getAccessManager

        EDMAccessManager getAccessManager()
                                   throws EdmiException

        Get the access manager for this access

        Returns:access manager objectThrows:EdmiException - If the method fails

      • isAccessFor

        boolean isAccessFor()
                     throws EdmiException

        Check if this access is a special granted access

        Returns:true if role is ROLE_ACCESS_FOR_USER or ROLE_ACCESS_FOR_GROUP.Throws:EdmiException - If the method fails

      • getRole

        long getRole()
              throws EdmiException

        Get the role for this access

        Returns:role enumeration codeThrows:EdmiException - If the method failsSee Also:EDMConstants.AccessCodes

      • getUserOrGroup

        EDMUserOrGroup getUserOrGroup()
                               throws EdmiException

        return the user or group for this access

        Returns:user/group if dedicated, null of no dedicated (role != ACCESS_FOR_xxx)Throws:EdmiException - If the method fails

      • getAccessRights

        long getAccessRights()
                      throws EdmiException

        Get access rights bitmask for this access

        Returns:access rights bitmask for this accessThrows:EdmiException - If the method failsSee Also:EDMConstants.AccessCodes

      • setAccessRights

        void setAccessRights(long rights)
                      throws EdmiException

        Set access rights bitmask for this access

        Parameters:rights - Acces rights bitmaskThrows:EdmiException - if the method failsSee Also:EDMConstants.AccessCodes