usr/src/apis/file.xml
author David Powell <David.Powell@sun.com>
Wed, 16 Dec 2009 19:06:12 -0800
changeset 401 fc1223edbd8d
parent 391 71abce159a62
child 545 7a29a25b92e2
permissions -rw-r--r--
13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave 13426 TLS transport auto-generates readable private keys 13429 file browsing API hard codes incorrect attributes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
391
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     2
<!--
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     3
 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     4
 Use is subject to license terms.
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     5
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     6
 CDDL HEADER START
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     7
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     8
  The contents of this file are subject to the terms of the
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
     9
  Common Development and Distribution License (the "License").
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    10
  You may not use this file except in compliance with the License.
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    11
 
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    12
  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    13
  or http://www.opensolaris.org/os/licensing.
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    14
  See the License for the specific language governing permissions
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    15
  and limitations under the License.
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    16
 
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    17
  When distributing Covered Code, include this CDDL HEADER in each
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    18
  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    19
  If applicable, add the following below this CDDL HEADER, with the
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    20
  fields enclosed by brackets "[]" replaced with your own identifying
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    21
  information: Portions Copyright [yyyy] [name of copyright owner]
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    22
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    23
 CDDL HEADER END
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    24
-->
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    25
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    26
<interface xmlns="http://www.opensolaris.org/ns/adr" name="files">
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    27
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    28
	<pragma domain="java" name="package"
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    29
	    value="org.opensolaris.os.vp.common.remotefile" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    30
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    31
	<type name="FileSnapshot">
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    32
		<field type="string" name="path" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    33
		<field type="string" name="absolutePath" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    34
		<field type="string" name="baseName" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    35
		<field type="string" name="canonicalPath" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    36
		<field type="boolean" name="absolute" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    37
		<field type="boolean" name="canonical" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    38
		<field type="boolean" name="exists" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    39
		<field type="boolean" name="readable" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    40
		<field type="boolean" name="writable" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    41
		<field type="boolean" name="directory" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    42
		<field type="boolean" name="file" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    43
		<field type="boolean" name="hidden" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    44
		<field type="time" name="lastModified" />
401
fc1223edbd8d 13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents: 391
diff changeset
    45
		<field type="long" name="length" />
fc1223edbd8d 13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents: 391
diff changeset
    46
		<field type="long" name="freeSpace" />
fc1223edbd8d 13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents: 391
diff changeset
    47
		<field type="long" name="totalSpace" />
fc1223edbd8d 13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents: 391
diff changeset
    48
		<field type="long" name="usableSpace" />
391
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    49
	</type>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    50
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    51
	<api name="fileBrowser">
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    52
		<version major="0" minor="1" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    53
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    54
		<property name="Roots" access="ro">
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    55
			<list typeref="FileSnapshot" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    56
		</property>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    57
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    58
		<method name="getFile">
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    59
			<result typeref="FileSnapshot" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    60
			<error />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    61
			<argument type="string" name="name" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    62
		</method>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    63
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    64
		<method name="getFiles">
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    65
			<result>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    66
				<list typeref="FileSnapshot" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    67
			</result>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    68
			<error />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    69
			<argument type="string" name="directory" />
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    70
		</method>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    71
	</api>
71abce159a62 13357 rad
David Powell <David.Powell@sun.com>
parents:
diff changeset
    72
</interface>