Data Service
1.2.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_02 { 00030 00037 const string PATH_SEPARATOR = "/"; 00038 00039 00041 exception InvalidOwner { 00042 string fMessage; 00043 }; 00044 00046 typedef sequence<string> StringSeq; 00047 typedef tecgraf::openbus::data_service::core::v1_02::DataKeySeq DataKeySeq; 00048 00057 valuetype ProjectItemDataView : 00058 tecgraf::openbus::data_service::core::v1_02::ValueTypeDataView { 00065 public string fOwner; 00071 public string fDescription; 00081 public string fPath; 00088 public string fType; 00095 public long long fSize; 00099 public boolean fIsContainer; 00103 public boolean fCanRead; 00107 public boolean fCanWrite; 00111 public tecgraf::openbus::data_service::core::v1_02::TimeStamp fCreationDate; 00115 public tecgraf::openbus::data_service::core::v1_02::TimeStamp 00116 fModificationDate; 00117 }; 00118 00124 valuetype ProjectDataView : 00125 tecgraf::openbus::data_service::core::v1_02::ValueTypeDataView { 00132 public string fOwner; 00136 public string fDescription; 00146 public string fPath; 00150 public string fSoftware; 00154 public long long fSize; 00158 public StringSeq fReadingUsers; 00162 public StringSeq fWritingUsers; 00166 public tecgraf::openbus::data_service::core::v1_02::TimeStamp fCreationDate; 00170 public tecgraf::openbus::data_service::core::v1_02::TimeStamp 00171 fModificationDate; 00172 }; 00173 typedef sequence<ProjectDataView> ProjectDataViewSeq; 00174 00178 interface ProjectReferencesDataView : 00179 tecgraf::openbus::data_service::core::v1_02::DataView { 00180 00190 DataKeySeq getReferences(); 00191 }; 00192 00196 interface IProjectNavigationDataService : 00197 tecgraf::openbus::data_service::hierarchical::v1_02::IHierarchicalNavigationDataService { 00198 00210 ProjectDataViewSeq getProject( in string fOwner ) raises( 00211 tecgraf::openbus::data_service::core::v1_02::DataAccessDenied, 00212 tecgraf::openbus::data_service::core::v1_02::ServiceFailure, 00213 InvalidOwner); 00214 }; 00215 00216 }; // version 00217 00218 }; // project 00219 00220 }; // data_service 00221 00222 }; // openbus 00223 00224 }; // tecgraf 00225 00226 #endif