public void writePermissions(Node graphName, GraphPermissions permissions) {
        checkIsOpen();
        client.writeGraphPermissions(graphName.getURI(), permissions);
    }
public void writePermissions(Node graphName, GraphPermissions permissions) {
        checkIsOpen();
        client.writeGraphPermissions(graphName.getURI(), permissions);
    }
public void writePermissions ( Node graphName , GraphPermissions permissions ) { checkIsOpen ( ) ; client . writeGraphPermissions ( graphName . getURI ( ) , permissions ) ; }
Sets the permissions on a graph.

@param graphName
the node with the graph's name.
@param permissions
A {@link com.marklogic.client.semantics.GraphPermissions}
object holding the graph's permissions.
Sets the permissions on a graph .