20 #ifndef _com_sun_star_deployment_XExtensionManager_idl
21 #define _com_sun_star_deployment_XExtensionManager_idl
34 module
com { module sun { module star { module deployment {
89 [in] sequence<com::sun::star::beans::NamedValue> properties,
90 [in]
string repository,
113 [in]
string identifier,
114 [in]
string fileName,
115 [in]
string repository,
182 [in]
string repository,
205 [in]
string repository,
206 [in]
string identifier,
207 [in]
string fileName,
222 [in]
string identifier,
223 [in]
string fileName,
266 [in]
string repository,
314 [in]
string repository,
A DeploymentException reflects a deployment error.
Definition: DeploymentException.idl:33
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception is thrown to indicate that a command was aborted.
Definition: CommandAbortedException.idl:34
This exception is thrown if an exception situation occurred during the processing of a command and an...
Definition: CommandFailedException.idl:40
The XExtensionManager interface is used to manage extensions in the user, shared and bundled reposito...
Definition: XExtensionManager.idl:43
void removeExtension([in] string identifier, [in] string fileName, [in] string repository, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
removes an extension.
XPackage addExtension([in] string url, [in] sequence< com::sun::star::beans::NamedValue > properties, [in] string repository, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
adds an extension.
sequence< XPackage > getDeployedExtensions([in] string repository, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
gets all currently installed extensions, including disabled user extensions.
boolean isReadOnlyRepository([in] string repository)
determines if the current user has write access to the extensions folder of the repository.
sequence< XPackage > getExtensionsWithSameIdentifier([in] string identifier, [in] string fileName, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
gets all extensions with the same identifier from all repositories.
sequence< XPackage > getExtensionsWithUnacceptedLicenses([in] string repository, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
returns all extensions which are currently not in use because the user did not accept the license.
void enableExtension([in] XPackage extension, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
enable an extension.
long checkPrerequisitesAndEnable([in] XPackage extension, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
check if all prerequisites for the extension are fulfilled and activates it, if possible.
void disableExtension([in] XPackage extension, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
disable an extension.
XPackage getDeployedExtension([in] string repository, [in] string identifier, [in] string fileName, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
gets an installed extensions.
sequence< XPackageTypeInfo > getSupportedPackageTypes()
gets the supported XPackageTypeInfos.
sequence< sequence< XPackage > > getAllExtensions([in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
returns a sequence containing all installed extensions.
com::sun::star::task::XAbortChannel createAbortChannel()
creates a command channel to be used to asynchronously abort a command.
void reinstallDeployedExtensions([in] boolean force, [in] string repository, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
Expert feature: erases the underlying registry cache and reinstalls all previously added extensions.
boolean synchronize([in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv)
synchronizes the extension database with the contents of the extensions folder of shared and bundled ...
Objects of this interface reflect a bound package and are issued by a PackageRegistryBackend.
Definition: XPackage.idl:47
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
Use this interface to abort a command asynchronously.
Definition: XAbortChannel.idl:31
defines the environment for a command.
Definition: XCommandEnvironment.idl:36
broadcasts each modification made on the date data of the object which supports this interface.
Definition: XModifyBroadcaster.idl:38
Definition: Ambiguous.idl:22