Examples of CommandRequest


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

    }

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

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

    }

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

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

    }

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

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

    }

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

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

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

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

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

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

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

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

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

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

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

    }

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

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

                    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

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

                new Object[] {aName, aValue}));
    }

    public void removeProperty(String aName) throws IOException {
        client.sendGFileRequest(this,
            new CommandRequest("removeProperty",
                new Object[] {aName}));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.