//File: DAISNode.idl // Change history // DAIS RTF 1.1 6064 2004-10-01 CORBA 3 TypeID key word collision // DAIS RTF 1.1 6320 2004-10-01 CORBA 3 Home key word collision // DAIS RTF 1.1 7078 2004-09-09 Improved error reporting #ifndef _DAIS_NODE_IDL #define _DAIS_NODE_IDL #pragma prefix "omg.org" #include module DAIS { module Node { struct Description { ResourceID id; ResourceID parent; string label; string descrip; ResourceID type; //6064 boolean is_leaf; }; typedef sequence< Description > Descriptions; interface Iterator { boolean next_n ( in unsigned long n, out Descriptions nodes ); void reset(); Iterator clone(); void destroy(); }; interface IHome //6320 { exception UnknownResourceID {string reason;}; exception InvalidFilter {string reason;}; //7078 exception UnkownTypeID {string reason;}; //7078 Description find ( in ResourceID node ) raises (UnknownResourceID); Descriptions find_each ( in ResourceIDs nodes ) raises (UnknownResourceID); Iterator find_by_parent ( in ResourceID node, in string filter_criteria ) raises (UnknownResourceID, InvalidFilter); //7078 Iterator find_by_type ( in ResourceID node, in string filter_criteria, in ResourceIDs type_filter //6064 ) raises (UnknownResourceID, InvalidFilter, UnkownTypeID);//7078 Strings get_pathnames ( in ResourceIDs nodes ); ResourceIDs get_ids ( in Strings pathnames ); };};}; #endif // _DAIS_NODE_IDL