public void chown( User u, String group ) throws XMLDBException { try { Vector params = new Vector(); params.addElement( parent.getPath() ); params.addElement( u.getName() ); params.addElement( group ); params.addElement( new Integer( -1 ) ); parent.getClient().execute( "setPermissions", params ); } catch ( XmlRpcException e ) { throw new XMLDBException( ErrorCodes.VENDOR_ERROR, e.getMessage() ); } catch ( IOException e ) { throw new XMLDBException( ErrorCodes.VENDOR_ERROR, e.getMessage() ); } }
public void chown(User u, String group) throws XMLDBException { try { Vector params = new Vector(); params.addElement(parent.getPath()); params.addElement(u.getName()); params.addElement(group); params.addElement(""); parent.getClient().execute("setPermissions", params); } catch (XmlRpcException e) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage()); } catch (IOException e) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage()); } }
    public void chown( User u, String group ) throws XMLDBException {        try {            Vector params = new Vector();            params.addElement( parent.getPath() );            params.addElement( u.getName() );            params.addElement( group );            params.addElement( new Integer( -1 ) );            parent.getClient().execute( "setPermissions", params );        } catch ( XmlRpcException e ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                e.getMessage() );        } catch ( IOException e ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                e.getMessage() );        }    }