summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Deployment_RepositoryManager.idl
blob: 6dc073ed38133494b1c88a66f99b62c79ea16fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// $Id$
#ifndef REPOSITORY_MANAGER_IDL
#define REPOSITORY_MANAGER_IDL

#include "Deployment_Packaging_Data.idl"
#include "Deployment.idl"

module Deployment {

  exception NameExists {
  };

  exception PackageError {
    string source;
    string reason;
  };

  interface RepositoryManager {
    void installPackage (in string installationName,
                         in string location,
                         in boolean replace)
      raises (NameExists, PackageError);
    void createPackage (in string installationName,
                        in PackageConfiguration package,
                        in string baseLocation,
                        in boolean replace)
      raises (NameExists, PackageError);
    PackageConfiguration findPackageByName (in string name)
      raises (NoSuchName);
    PackageConfiguration findPackageByUUID (in string UUID)
      raises (NoSuchName);
    ::CORBA::StringSeq findNamesByType (in string type);
    ::CORBA::StringSeq getAllNames ();
    ::CORBA::StringSeq getAllTypes ();
    void deletePackage (in string installationName)
      raises (NoSuchName);
  };
};

#endif /* REPOSITOR_MANAGER_IDL */