com.abiquo.api.services.FileSystemService Class Reference

This class is used to deploy and retrieve files on remote machines. More...

Inherits IFileSystemService.

List of all members.

Public Member Functions

 FileSystemService (IGridAccess access)
 Instantiates a new file system service based on the IGridAccess passed by parameter.
InstanceName deploy (String nodeName, Data data)
 Sets data.localId as the file name, blocking until ends transaction.
InstanceName deploy (String nodeName, String filePath)
 Sets data.localId as the file name, blocking until ends transaction.
InstanceName getFileSystem (String node)
 This method recover the instanceName of a node.
Map< String, FileSystemResourcegetFileSystems ()
 Gets the file systems.
String getStatus (InstanceName in)
 Consult the state of a given FileResource.
List
< FileSystemResourceListResult > 
list (String nodeName)
 Returns a description list formed by.
void remove (InstanceName in)
 Removes the file resource on argument.
Data retrieve (InstanceName fileInsName)
 Obtains the data associated to a file resource referenced, blocking until ends transaction.
void setFileSystems (Hashtable< String, FileSystemResource > fileSystems)
 Sets the file systems.


Detailed Description

This class is used to deploy and retrieve files on remote machines.

Constructor & Destructor Documentation

com.abiquo.api.services.FileSystemService.FileSystemService ( IGridAccess  access  ) 

Instantiates a new file system service based on the IGridAccess passed by parameter.

Parameters:
access The IGridAccess from the user Grid


Member Function Documentation

InstanceName com.abiquo.api.services.FileSystemService.deploy ( String  nodeName,
Data  data 
)

Sets data.localId as the file name, blocking until ends transaction.

Parameters:
nodeName The node name
data The deployed data
Returns:
The instance name associated to file resource

InstanceName com.abiquo.api.services.FileSystemService.deploy ( String  nodeName,
String  filePath 
)

Sets data.localId as the file name, blocking until ends transaction.

Parameters:
nodeName the node name
filePath the file from the Data is constructed
Returns:
the instance name associated to file resource

InstanceName com.abiquo.api.services.FileSystemService.getFileSystem ( String  node  ) 

This method recover the instanceName of a node.

Parameters:
node the node
Returns:
the instanaceName object of the resource

Map<String, FileSystemResource> com.abiquo.api.services.FileSystemService.getFileSystems (  ) 

Gets the file systems.

Returns:
the file systems

String com.abiquo.api.services.FileSystemService.getStatus ( InstanceName  in  ) 

Consult the state of a given FileResource.

Parameters:
in the file resource instance name
Returns:
its status

List<FileSystemResourceListResult> com.abiquo.api.services.FileSystemService.list ( String  nodeName  ) 

Returns a description list formed by.

..

See also:
FSRListResult with information about all file resources maintained by the FileSystemResource on this node
Parameters:
nodeName the node name to consult
Returns:
the list< file system resource list result> with file resources

void com.abiquo.api.services.FileSystemService.remove ( InstanceName  in  ) 

Removes the file resource on argument.

Parameters:
in the instance name used to access this data

Data com.abiquo.api.services.FileSystemService.retrieve ( InstanceName  fileInsName  ) 

Obtains the data associated to a file resource referenced, blocking until ends transaction.

Parameters:
fileInsName the instance name used to access this data
Returns:
the Data contained on file resource

void com.abiquo.api.services.FileSystemService.setFileSystems ( Hashtable< String, FileSystemResource fileSystems  ) 

Sets the file systems.

Parameters:
fileSystems the file systems


The documentation for this class was generated from the following file:

Generated on Mon Sep 15 20:13:10 2008 for FrameworkAPI by  doxygen 1.5.5