Methods' Details |
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
Copyright © 2003 Sun Microsystems, Inc.