Package org.apache.geronimo.datastore.impl.remote.messaging

Examples of org.apache.geronimo.datastore.impl.remote.messaging.CommandRequest


    }

    public boolean exists() throws IOException {
        return ((Boolean)
            client.sendGFileRequest(this,
                new CommandRequest("exists", null))).booleanValue();
    }
View Full Code Here


    }

    public boolean isDirectory() throws IOException {
        return ((Boolean)
            client.sendGFileRequest(this,
                new CommandRequest("isDirectory", null))).booleanValue();
    }
View Full Code Here

    }

    public boolean isFile() throws IOException {
        return ((Boolean)
            client.sendGFileRequest(this,
                new CommandRequest("isFile", null))).booleanValue();
    }
View Full Code Here

    }

    public String[] listFiles() throws IOException {
        return (String[])
            client.sendGFileRequest(this,
                new CommandRequest("listFiles", null));
    }
View Full Code Here

    }

    public Map getProperties() throws IOException {
        return (Map)
            client.sendGFileRequest(this,
                new CommandRequest("getProperties", null));
    }
View Full Code Here

                new CommandRequest("getProperties", null));
    }

    public void setContent(InputStream anIn) {
        client.sendGFileRequest(this,
                new CommandRequest("setContent", new Object[]{anIn}));
    }
View Full Code Here

                new CommandRequest("setContent", new Object[]{anIn}));
    }

    public InputStream getContent() {
        return (InputStream) client.sendGFileRequest(this,
                new CommandRequest("getContent", null));
    }
View Full Code Here

                new CommandRequest("getContent", null));
    }

    public InputStream getInputStream() throws IOException {
        return (InputStream) client.sendGFileRequest(this,
                new CommandRequest("getInputStream", null));
    }
View Full Code Here

    }

    public Map getPropertiesByName(Collection aCollOfNames) throws IOException {
        return (Map)
            client.sendGFileRequest(this,
                new CommandRequest("getPropertiesByName",
                    new Object[] {aCollOfNames}));
    }
View Full Code Here

                    new Object[] {aCollOfNames}));
    }

    public void addProperty(String aName, String aValue) throws IOException {
        client.sendGFileRequest(this,
            new CommandRequest("addProperty",
                new Object[] {aName, aValue}));
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.datastore.impl.remote.messaging.CommandRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.