LibreOffice
LibreOffice 6.2 SDK API Reference
XPackageManager.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef _com_sun_star_deployment_XPackageManager_idl
21 #define _com_sun_star_deployment_XPackageManager_idl
22 
33 
34 
35 module com { module sun { module star { module deployment {
36 
66 interface XPackageManager
67 {
71 
76 
83  string getContext();
84 
90  sequence<XPackageTypeInfo> getSupportedPackageTypes();
91 
97  com::sun::star::task::XAbortChannel createAbortChannel();
98 
120  XPackage addPackage( [in] string url,
121  [in] sequence<com::sun::star::beans::NamedValue> properties,
122  [in] string mediaType,
123  [in] com::sun::star::task::XAbortChannel xAbortChannel,
125  raises (DeploymentException,
129 
146  XPackage importExtension( [in] XPackage extension,
147  [in] com::sun::star::task::XAbortChannel xAbortChannel,
149  raises (DeploymentException,
153 
166  void removePackage( [in] string identifier,
167  [in] string fileName,
168  [in] com::sun::star::task::XAbortChannel xAbortChannel,
170  raises (DeploymentException,
174 
186  XPackage getDeployedPackage(
187  [in] string identifier,
188  [in] string fileName,
190  raises (DeploymentException,
193 
204  sequence<XPackage> getDeployedPackages(
205  [in] com::sun::star::task::XAbortChannel xAbortChannel,
207  raises (DeploymentException,
211 
227  void reinstallDeployedPackages(
228  [in] boolean force,
229  [in] com::sun::star::task::XAbortChannel xAbortChannel,
231  raises (DeploymentException,
235 
249  boolean isReadOnly();
250 
266  boolean synchronize([in] com::sun::star::task::XAbortChannel xAbortChannel,
268  raises (DeploymentException,
272 
273 
286  sequence<XPackage> getExtensionsWithUnacceptedLicenses(
288  raises (DeploymentException);
289 
298  long checkPrerequisites(
299  [in] XPackage extension,
300  [in] com::sun::star::task::XAbortChannel xAbortChannel,
302  raises (DeploymentException,
306 
307 };
308 
309 }; }; }; };
310 
311 #endif
312 
313 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
A DeploymentException reflects a deployment error.
Definition: DeploymentException.idl:32
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:42
Definition: Ambiguous.idl:22
This exception is thrown to indicate that the creation of a UCB content failed.
Definition: ContentCreationException.idl:34
defines the environment for a command.
Definition: XCommandEnvironment.idl:36
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
broadcasts each modification made on the date data of the object which supports this interface...
Definition: XModifyBroadcaster.idl:37
This exception is thrown if an exception situation occurred during the processing of a command and an...
Definition: CommandFailedException.idl:40
Objects of this interface reflect a bound package and are issued by a PackageRegistryBackend.
Definition: XPackage.idl:46
The XPackageManager interface is used to add or remove packages to a specific repository.
Definition: XPackageManager.idl:66
This exception is thrown to indicate that a command was aborted.
Definition: CommandAbortedException.idl:34
Use this interface to abort a command asynchronously.
Definition: XAbortChannel.idl:30