edu.mit.stellar.api.ecm
Interface NodeFactory

All Known Subinterfaces:
NodeManager

public interface NodeFactory

StellarUserDetailsService Interface to Retrieve Nodes

Version:
$Revision: 29988 $, $Date: 2008-02-09 22:10:42 -0500 (Sat, 09 Feb 2008) $
Author:
MIT Stellar team

Method Summary
 Node getNodeByPath(java.lang.String path)
          Return the node at the specified absolute path, if it exists, null if not, throw Exception if error.
 Node getNodeByUUID(java.lang.String uuid)
          Return the node with the specified UUID, if it exists, null if not, throw Exception if error.
 boolean nodeExistsAtPath(java.lang.String absPath)
          Test to see if node exists at specified absolute path.
 boolean nodeExistsWithUUID(java.lang.String uuid)
          Test to see if specified uuid corresponds to accessable Node.
 

Method Detail

getNodeByUUID

Node getNodeByUUID(java.lang.String uuid)
                   throws java.lang.Exception
Return the node with the specified UUID, if it exists, null if not, throw Exception if error.

Parameters:
uuid -
Returns:
the node with the specified UUID, if it exists, null if not.
Throws:
java.lang.Exception - if error.

nodeExistsWithUUID

boolean nodeExistsWithUUID(java.lang.String uuid)
                           throws java.lang.Exception
Test to see if specified uuid corresponds to accessable Node.

Parameters:
uuid -
Returns:
true if node exists.
Throws:
java.lang.Exception - if error.

getNodeByPath

Node getNodeByPath(java.lang.String path)
                   throws java.lang.Exception
Return the node at the specified absolute path, if it exists, null if not, throw Exception if error.

Parameters:
uuid -
Returns:
the node at the specified absolute path, if it exists, null if not.
Throws:
java.lang.Exception - if error.

nodeExistsAtPath

boolean nodeExistsAtPath(java.lang.String absPath)
                         throws java.lang.Exception
Test to see if node exists at specified absolute path.

Parameters:
absPath -
Returns:
true if node exists.
Throws:
java.lang.Exception - if error.


Copyright © 2007-2008 MIT IS&T ISDA. All Rights Reserved.