LibreOffice
LibreOffice 24.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 
21 module com { module sun { module star { module deployment {
22 
52 interface XPackageManager
53 {
57 
62 
69  string getContext();
70 
76  sequence<XPackageTypeInfo> getSupportedPackageTypes();
77 
83  com::sun::star::task::XAbortChannel createAbortChannel();
84 
106  XPackage addPackage( [in] string url,
107  [in] sequence<com::sun::star::beans::NamedValue> properties,
108  [in] string mediaType,
109  [in] com::sun::star::task::XAbortChannel xAbortChannel,
111  raises (DeploymentException,
115 
132  XPackage importExtension( [in] XPackage extension,
133  [in] com::sun::star::task::XAbortChannel xAbortChannel,
135  raises (DeploymentException,
139 
152  void removePackage( [in] string identifier,
153  [in] string fileName,
154  [in] com::sun::star::task::XAbortChannel xAbortChannel,
156  raises (DeploymentException,
160 
172  XPackage getDeployedPackage(
173  [in] string identifier,
174  [in] string fileName,
176  raises (DeploymentException,
179 
190  sequence<XPackage> getDeployedPackages(
191  [in] com::sun::star::task::XAbortChannel xAbortChannel,
193  raises (DeploymentException,
197 
213  void reinstallDeployedPackages(
214  [in] boolean force,
215  [in] com::sun::star::task::XAbortChannel xAbortChannel,
217  raises (DeploymentException,
221 
235  boolean isReadOnly();
236 
252  boolean synchronize([in] com::sun::star::task::XAbortChannel xAbortChannel,
254  raises (DeploymentException,
258 
259 
272  sequence<XPackage> getExtensionsWithUnacceptedLicenses(
274  raises (DeploymentException);
275 
284  long checkPrerequisites(
285  [in] XPackage extension,
286  [in] com::sun::star::task::XAbortChannel xAbortChannel,
288  raises (DeploymentException,
292 
293 };
294 
295 }; }; }; };
296 
297 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
A DeploymentException reflects a deployment error.
Definition: DeploymentException.idl:27
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:38
Definition: Ambiguous.idl:20
This exception is thrown to indicate that the creation of a UCB content failed.
Definition: ContentCreationException.idl:28
defines the environment for a command.
Definition: XCommandEnvironment.idl:28
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:25
broadcasts each modification made on the date data of the object which supports this interface...
Definition: XModifyBroadcaster.idl:31
This exception is thrown if an exception situation occurred during the processing of a command and an...
Definition: CommandFailedException.idl:34
Objects of this interface reflect a bound package and are issued by a PackageRegistryBackend.
Definition: XPackage.idl:28
The XPackageManager interface is used to add or remove packages to a specific repository.
Definition: XPackageManager.idl:52
This exception is thrown to indicate that a command was aborted.
Definition: CommandAbortedException.idl:29
Use this interface to abort a command asynchronously.
Definition: XAbortChannel.idl:26