LibreOffice
LibreOffice 5.0 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
deployment
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
23
#include <
com/sun/star/lang/XComponent.idl
>
24
#include <
com/sun/star/task/XAbortChannel.idl
>
25
#include <
com/sun/star/util/XModifyBroadcaster.idl
>
26
#include <
com/sun/star/deployment/XPackage.idl
>
27
#include <
com/sun/star/deployment/XPackageTypeInfo.idl
>
28
#include <
com/sun/star/ucb/XCommandEnvironment.idl
>
29
#include <
com/sun/star/deployment/DeploymentException.idl
>
30
#include <
com/sun/star/container/NoSuchElementException.idl
>
31
#include <
com/sun/star/lang/IllegalArgumentException.idl
>
32
#include <
com/sun/star/beans/NamedValue.idl
>
33
34
35
module com { module sun { module star { module deployment {
36
66
interface
XPackageManager
67
{
70
interface
com::sun::star::lang::XComponent
;
71
75
interface
com::sun::star::util::XModifyBroadcaster
;
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,
124
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
125
raises (
DeploymentException
,
126
com::sun::star::ucb::CommandFailedException
,
127
com::sun::star::ucb::CommandAbortedException
,
128
com::sun::star::lang::IllegalArgumentException
);
129
146
XPackage
importExtension( [in]
XPackage
extension,
147
[in]
com::sun::star::task::XAbortChannel
xAbortChannel,
148
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
149
raises (
DeploymentException
,
150
com::sun::star::ucb::CommandFailedException
,
151
com::sun::star::ucb::CommandAbortedException
,
152
com::sun::star::lang::IllegalArgumentException
);
153
166
void
removePackage( [in]
string
identifier,
167
[in]
string
fileName,
168
[in]
com::sun::star::task::XAbortChannel
xAbortChannel,
169
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
170
raises (
DeploymentException
,
171
com::sun::star::ucb::CommandFailedException
,
172
com::sun::star::ucb::CommandAbortedException
,
173
com::sun::star::lang::IllegalArgumentException
);
174
186
XPackage
getDeployedPackage(
187
[in]
string
identifier,
188
[in]
string
fileName,
189
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
190
raises (
DeploymentException
,
191
com::sun::star::ucb::CommandFailedException
,
192
com::sun::star::lang::IllegalArgumentException
);
193
204
sequence<XPackage> getDeployedPackages(
205
[in]
com::sun::star::task::XAbortChannel
xAbortChannel,
206
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
207
raises (
DeploymentException
,
208
com::sun::star::ucb::CommandFailedException
,
209
com::sun::star::ucb::CommandAbortedException
,
210
com::sun::star::lang::IllegalArgumentException
);
211
227
void
reinstallDeployedPackages(
228
[in]
boolean
force,
229
[in]
com::sun::star::task::XAbortChannel
xAbortChannel,
230
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
231
raises (
DeploymentException
,
232
com::sun::star::ucb::CommandFailedException
,
233
com::sun::star::ucb::CommandAbortedException
,
234
com::sun::star::lang::IllegalArgumentException
);
235
249
boolean
isReadOnly();
250
266
boolean
synchronize([in]
com::sun::star::task::XAbortChannel
xAbortChannel,
267
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
268
raises (
DeploymentException
,
269
com::sun::star::ucb::ContentCreationException
,
270
com::sun::star::ucb::CommandFailedException
,
271
com::sun::star::ucb::CommandAbortedException
);
272
273
286
sequence<XPackage> getExtensionsWithUnacceptedLicenses(
287
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
288
raises (
DeploymentException
);
289
298
long
checkPrerequisites(
299
[in]
XPackage
extension,
300
[in]
com::sun::star::task::XAbortChannel
xAbortChannel,
301
[in]
com::sun::star::ucb::XCommandEnvironment
xCmdEnv )
302
raises (
DeploymentException
,
303
com::sun::star::ucb::CommandFailedException
,
304
com::sun::star::ucb::CommandAbortedException
,
305
com::sun::star::lang::IllegalArgumentException
);
306
307
};
308
309
}; }; }; };
310
311
#endif
312
313
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4