Interface IShareInfo


public interface IShareInfo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Disables all rights to the workspace
    static final int
    Grants full control of the workspace.
    static final int
    Grants rights to modify the workspace.
    static final int
    Enables view rights but denies modification rights to the workspace
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ID of the user or role that is granted rights by the share.
    int
    Gets the privilege level granted by this share, see Rights Levels.
    void
    setPrincipalID(String principalID)
    Sets the ID of the user or role that is granted rights by the share.
    void
    setPrivilege(int privilege)
    Sets the privilege level granted by this share, see Rights Levels.
  • Field Details

    • DENY_ALL

      static final int DENY_ALL
      Disables all rights to the workspace
      See Also:
    • VIEW_ONLY

      static final int VIEW_ONLY
      Enables view rights but denies modification rights to the workspace
      See Also:
    • MODIFY

      static final int MODIFY
      Grants rights to modify the workspace.
      See Also:
    • FULL_CONTROL

      static final int FULL_CONTROL
      Grants full control of the workspace.
      See Also:
  • Method Details

    • getPrincipalID

      String getPrincipalID()
      Gets the ID of the user or role that is granted rights by the share.
      Returns:
      The principal ID as String.
    • setPrincipalID

      void setPrincipalID(String principalID)
      Sets the ID of the user or role that is granted rights by the share.
      Parameters:
      principalID - the principal ID as String.
    • getPrivilege

      int getPrivilege()
      Gets the privilege level granted by this share, see Rights Levels.
      Returns:
      The privilege level as integer.
    • setPrivilege

      void setPrivilege(int privilege)
      Sets the privilege level granted by this share, see Rights Levels.
      Parameters:
      privilege - The privilege level to grant for this share.