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

com :: sun :: star :: beans ::

interface XPropertyAccess

Base Interface
com::sun::star::uno::XInterface

Description
makes it possible to access all property values and to set them at once.

In most cases this interface will be in addition to XPropertySet . It is especially useful for remote communication because it lessens the number of calls for getting property values; that is especially important because these calls are necessarily synchronous.

Another advantage of this method is that conflicts are avoided if property value restrictions depend on the value of other properties.



Known Services which Export this Interface

com::sun::star::beans::PropertyBag Implementation of this service can keep any properties and is useful when an XPropertySet is to be used, for example, as parameters for a method call.
com::sun::star::beans::PropertySet specifies an abstract service which gives some hints which interfaces belong to a proper property set implementation.
com::sun::star::beans::PropertyBag Implementation of this service can keep any properties and is useful when an XPropertySet is to be used, for example, as parameters for a method call.
com::sun::star::beans::PropertySet specifies an abstract service which gives some hints which interfaces belong to a proper property set implementation.
com::sun::star::ucb::PersistentPropertySet This service containss the interfaces to implement by objects returned by XPropertySetRegistry::openPropertySet .

Methods' Summary

getPropertyValues
setPropertyValues sets the values of given properties.

Methods' Details

getPropertyValues
 
sequence< com::sun::star::beans::PropertyValue >
getPropertyValues();
Returns
a sequence of all property values within the object in a single call.
setPropertyValues
 
void
setPropertyValues(
[ in ] sequence< com::sun::star::beans::PropertyValue > aProps )
raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException );

Description
sets the values of given properties.

All properties which are not contained in the sequence aProps will be left unchanged.


Top of Page