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

unpublished interface XUpdateInformationProvider
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
OpenOffice 2.2

Methods' Summary
getUpdateInformation get update information for a specific extension or all available information from a repository.  
hasPredeterminedUpdateURL returns whether or not the office installation has an update URL, which can also be queried for extension updates.  
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. If the list is empty, the update URL of the office installation is used.
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.
hasPredeterminedUpdateURL
boolean
hasPredeterminedUpdateURL();

Description
returns whether or not the office installation has an update URL, which can also be queried for extension updates.
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. If the list is empty, the update URL of the office installation is used.
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