Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

edm.edom3

Interface EDMAccess

  • All Superinterfaces:EDMContextDependent



    public interface EDMAccess
    extends EDMContextDependent

    This interface represents access rights to an object for a specific role.

    Author:aet

    • 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

  • No labels