Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

:: drafts :: com :: sun :: star :: configuration :: backend ::

interface XImportLayer
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XImportLayer
Description
allows importing a layer into a Backend

Methods' Summary
getTargetBackend gets the target backend for importing.
setTargetBackend sets the target backend for importing.
importLayer Imports the layer given into the backend.
importLayerForEntity Imports the layer given into the backend for a given entity.
Methods' Details
getTargetBackend
XBackend
getTargetBackend();
 
 

Description
gets the target backend for importing.
Returns
the Backend into which layers are imported by XImportLayer::importLayer() .
setTargetBackend
void
setTargetBackend(
 
[in] XBackend 

raises(

 
aBackend ) 
::com::sun::star::lang::NullPointerException );

Description
sets the target backend for importing.
Parameter aBackend
a Backend into which layers should be imported by XImportLayer::importLayer() .
Throws
com::sun::star::lang::NullPointerException if the backend passed is NULL .
importLayer
void
importLayer(
 
[in] XLayer 

raises(

 
aLayer ) 
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::lang::NullPointerException );

Description
Imports the layer given into the backend.

This method imports data for the current entity of the backend.

Parameter aLayer
a layer whose data will be imported into the backend
Throws
com::sun::star::lang::NullPointerException if the layer passed is NULL .
Throws
com::sun::star::lang::IllegalArgumentException if the layer passed is invalid or is for a component that doesn't exist in the backend.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the backend or source layer.
See also
com::sun::star::configuration::backend::XBackend::getOwnUpdateHandler()
importLayerForEntity
void
importLayerForEntity(
 
[in] XLayer
[in] string 

raises(

 
aLayer,
aEntity ) 
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::lang::NullPointerException );

Description
Imports the layer given into the backend for a given entity.

This method imports data for the current entity of the backend.

Parameter aLayer
a layer whose data will be imported into the backend
Parameter aEntity
a entity into whose data the layer will be imported
Throws
com::sun::star::lang::NullPointerException if the layer passed is NULL .
Throws
com::sun::star::lang::IllegalArgumentException if the layer passed is invalid or is for a component that doesn't exist in the backend or if the entity doesn't exist in the backend.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs in the backend or source layer.
See also
com::sun::star::configuration::backend::XBackend::getUpdateHandler()
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.