Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: container ::

interface XIdentifierReplace

Base Interface
com::sun::star::container::XIdentifierAccess

Description
This is the generic interface for supporting the replacement of elements with unique identifiers.


Methods' Summary

replaceByIdentifer replaces the element with the specified identifier.

Methods' Details

replaceByIdentifer
 
void
replaceByIdentifer(
[ in ] long Identifier,
[ in ] any aElement )
raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException );

Description
replaces the element with the specified identifier.
Parameter Identifier
specifies the identifier of the element that should be retrieved.
Parameter aElement
the new element that replaces the old element for the specified identifier.
Throws
com::sun::star::lang::IllegalArgumentException If the argument is not valid for this container.
Throws
com::sun::star::lang::NoSuchElementException If the identifier is not existing.
Throws
com::sun::star::lang::WrappedTargetException If the implementation has internal reasons for exceptions, then wrap these in a WrappedTargetException exception.

Top of Page