Package omero.model

Interface _PermissionsOperationsNC

  • All Known Implementing Classes:
    _PermissionsTie, Permissions, PermissionsI

    public interface _PermissionsOperationsNC
    Row-level permissions definition available on every OMERO.blitz type. Represents a similar logic to the Unix filesystem.
    • Method Detail

      • getPerm1

        long getPerm1()
        Do not use!
      • setPerm1

        void setPerm1​(long value)
        Do not use! Throws ClientError if mutation not allowed.
      • isDisallow

        boolean isDisallow​(int restriction)
        The basis for the other canX() methods. If the restriction at the given offset in the restriction array is true, then this method returns true (otherwise false) and the canX() methods return the opposite, i.e. isDisallow(ANNOTATERESTRICTION) == ! canAnnotate()
      • isRestricted

        boolean isRestricted​(java.lang.String restriction)
        Returns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.
      • canAnnotate

        boolean canAnnotate()
        Whether the current user has permissions for annotating this object. The fact that the user has this object in hand already identifies that it's readable.
      • canEdit

        boolean canEdit()
        Whether the current user has the ""edit"" permissions for this object. This includes changing the values of the object. The fact that the user has this object in hand already identifies that it's readable.
      • canLink

        boolean canLink()
        Whether the current user has the ""link"" permissions for this object. This includes adding it to data graphs. The fact that the user has this object in hand already identifies that it's readable.
      • canDelete

        boolean canDelete()
        Whether the current user has the ""delete"" permissions for this object. The fact that the user has this object in hand already identifies that it's readable.
      • canChgrp

        boolean canChgrp()
        Whether the current user has the ""chgrp"" permissions for this object. This allows them to move it to a different group. The fact that the user has this object in hand already identifies that it's readable.
      • canChown

        boolean canChown()
        Whether the current user has the ""chown"" permissions for this object. This allows them to give it to a different user. The fact that the user has this object in hand already identifies that it's readable.
      • isUserRead

        boolean isUserRead()
      • isUserAnnotate

        boolean isUserAnnotate()
      • isUserWrite

        boolean isUserWrite()
      • isGroupRead

        boolean isGroupRead()
      • isGroupAnnotate

        boolean isGroupAnnotate()
      • isGroupWrite

        boolean isGroupWrite()
      • isWorldRead

        boolean isWorldRead()
      • isWorldAnnotate

        boolean isWorldAnnotate()
      • isWorldWrite

        boolean isWorldWrite()
      • setUserRead

        void setUserRead​(boolean value)
        Throws ClientError if mutation not allowed.
      • setUserAnnotate

        void setUserAnnotate​(boolean value)
        Throws ClientError if mutation not allowed.
      • setUserWrite

        void setUserWrite​(boolean value)
        Throws ClientError if mutation not allowed.
      • setGroupRead

        void setGroupRead​(boolean value)
        Throws ClientError if mutation not allowed.
      • setGroupAnnotate

        void setGroupAnnotate​(boolean value)
        Throws ClientError if mutation not allowed.
      • setGroupWrite

        void setGroupWrite​(boolean value)
        Throws ClientError if mutation not allowed.
      • setWorldRead

        void setWorldRead​(boolean value)
        Throws ClientError if mutation not allowed.
      • setWorldAnnotate

        void setWorldAnnotate​(boolean value)
        Throws ClientError if mutation not allowed.
      • setWorldWrite

        void setWorldWrite​(boolean value)
        Throws ClientError if mutation not allowed.