Data Service
1.1.0
|
00001 #ifndef __TECGRAF_OPENBUS_DATA_SERVICE_PROJECT_IDL__ 00002 #define __TECGRAF_OPENBUS_DATA_SERVICE_PROJECT_IDL__ 00003 00004 #include "data_service.idl" 00005 #include "hierarchical_data_service.idl" 00006 00007 module tecgraf { 00008 00009 module openbus { 00010 00014 module data_service { 00015 00024 module project { 00025 00029 module v1_01 { 00030 00037 const string PATH_SEPARATOR = "/"; 00038 00039 00041 exception InvalidOwner {}; 00042 00044 typedef sequence<string> StringSeq; 00045 typedef tecgraf::openbus::data_service::core::v1_01::DataKeySeq DataKeySeq; 00046 00055 valuetype ProjectItemDataView : 00056 tecgraf::openbus::data_service::core::v1_01::ValueTypeDataView { 00063 public string fOwner; 00069 public string fDescription; 00079 public string fPath; 00086 public string fType; 00093 public long long fSize; 00097 public boolean fIsContainer; 00101 public boolean fCanRead; 00105 public boolean fCanWrite; 00109 public tecgraf::openbus::data_service::core::v1_01::TimeStamp fCreationDate; 00113 public tecgraf::openbus::data_service::core::v1_01::TimeStamp 00114 fModificationDate; 00115 }; 00116 00122 valuetype ProjectDataView : 00123 tecgraf::openbus::data_service::core::v1_01::ValueTypeDataView { 00130 public string fOwner; 00134 public string fDescription; 00144 public string fPath; 00148 public string fSoftware; 00152 public long long fSize; 00156 public StringSeq fReadingUsers; 00160 public StringSeq fWritingUsers; 00164 public tecgraf::openbus::data_service::core::v1_01::TimeStamp fCreationDate; 00168 public tecgraf::openbus::data_service::core::v1_01::TimeStamp 00169 fModificationDate; 00170 }; 00171 typedef sequence<ProjectDataView> ProjectDataViewSeq; 00172 00176 interface ProjectReferencesDataView : 00177 tecgraf::openbus::data_service::core::v1_01::DataView { 00178 00188 DataKeySeq getReferences(); 00189 }; 00190 00194 interface IProjectNavigationDataService : 00195 tecgraf::openbus::data_service::hierarchical::v1_01::IHierarchicalNavigationDataService { 00196 00207 ProjectDataViewSeq getProject( in string fOwner ) raises( 00208 tecgraf::openbus::data_service::core::v1_01::ServiceFailure, InvalidOwner); 00209 }; 00210 00211 }; // version 00212 00213 }; // project 00214 00215 }; // data_service 00216 00217 }; // openbus 00218 00219 }; // tecgraf 00220 00221 #endif