(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.