Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: deployment ::

unpublished interface XUpdateInformationProvider
Usage Restrictions
not published
Description
Objects implementing this interface provide access to the xml root of one or more update information files for a given set of URLs.
Since
OOo 2.2

Methods' Summary
getUpdateInformation get update information for a specific extension or all available information from a repository.  
cancel interrupts a getUpdateInformation call and let's it return immediatly.  
setInteractionHandler Sets an interaction handler to be used for further operations.  
getUpdateInformationEnumeration get update information for a specific extension or all available information from a repository.  
Methods' Details
getUpdateInformation
sequence< ::com::sun::star::xml::dom::XElement >
getUpdateInformation( [in] sequence< string >  repositories,
[in] string  extensionId )
raises( ::com::sun::star::uno::Exception );

Description
get update information for a specific extension or all available information from a repository.
Parameter repositories
a repository and its mirrors.
Parameter extensionId
the unique identifier of an extension. If it is not empty and the update document is an atom feed, only items whose 'term' attribute of the atom:category tag matches extensionId are returned.
cancel
void
cancel();

Description
interrupts a getUpdateInformation call and let's it return immediatly.
setInteractionHandler
void
setInteractionHandler( [in] ::com::sun::star::task::XInteractionHandler  handler );

Description
Sets an interaction handler to be used for further operations.

A default interaction handler is available as service ::com::sun::star::task::InteractionHandler. The documentation of this service also contains further information about the interaction handler concept.

Parameter handler
The interaction handler to be set
See also
::com::sun::star::task::InteractionHandler
getUpdateInformationEnumeration
::com::sun::star::container::XEnumeration
getUpdateInformationEnumeration( [in] sequence< string >  repositories,
[in] string  extensionId )
raises( ::com::sun::star::uno::Exception );

Description
get update information for a specific extension or all available information from a repository.
Parameter repositories
a repository and its mirrors.
Parameter extensionId
the unique identifier of an extension. If it is not empty and the update document is an atom feed, only items whose 'term' attribute of the atom:category tag matches extensionId are returned.
Returns
an enumeration of UpdateInformationEntry.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.