com.bea.content.manager
Interface RepositoryOps


public interface RepositoryOps

Interface describing repository operations.


Method Summary
 void createRepositoryConfig(RepositoryConfig repositoryConfig)
          Creates a RepositoryConfig.
 void createRepositoryConfig(String name)
          Creates a Default BEA RepositoryConfig.
 RepositoryConfig getRepositoryConfig(String name)
          Gets a RepositoryConfig including it's Properties.
 Map getRepositoryConfigMap()
          Gets a Map of the all the RepositoryConfigs.
 void removeRepositoryConfig(String name)
          Removes a RepositoryConfig including it's Properties.
 void updateRepositoryConfig(RepositoryConfig repositoryConfig)
          Updates a RepositoryConfig, including it's Properties.
 

Method Detail

getRepositoryConfigMap

Map getRepositoryConfigMap()
Gets a Map of the all the RepositoryConfigs.


createRepositoryConfig

void createRepositoryConfig(String name)
                            throws RepositoryConfigExistsException,
                                   RepositoryException
Creates a Default BEA RepositoryConfig.

Parameters
name - - the name of the Repository to create.
Throws
RepositoryConfigExistsException - - if the name of the RepositoryConfig is already in use.
RepositoryException - - if a system error occurs.

createRepositoryConfig

void createRepositoryConfig(RepositoryConfig repositoryConfig)
                            throws RepositoryConfigExistsException,
                                   RepositoryException
Creates a RepositoryConfig.

Parameters
repositoryConfig - - the RepositoryConfig to create.
Throws
RepositoryConfigExistsException - - if the name of the RepositoryConfig is already in use.
RepositoryException - - if a system error occurs.

getRepositoryConfig

RepositoryConfig getRepositoryConfig(String name)
                                     throws NoSuchRepositoryConfigException,
                                            RepositoryException
Gets a RepositoryConfig including it's Properties.

Parameters
name - - the name of the RepositoryConfig to get.
Throws
NoSuchRepositoryConfigException - - if the RepositoryConfig to get does not exist.
RepositoryException - - if a system error occurs.

updateRepositoryConfig

void updateRepositoryConfig(RepositoryConfig repositoryConfig)
                            throws NoSuchRepositoryConfigException,
                                   RepositoryException
Updates a RepositoryConfig, including it's Properties.

Parameters
repositoryConfig - - the RepositoryConfig to update.
Throws
NoSuchRepositoryConfigException - - if the RepositoryConfig to update does not exist.
RepositoryException - - if a system error occurs.

removeRepositoryConfig

void removeRepositoryConfig(String name)
                            throws NoSuchRepositoryConfigException,
                                   RepositoryException
Removes a RepositoryConfig including it's Properties.

Parameters
name - - the name of the RepositoryConfig to remove.
Throws
NoSuchRepositoryConfigException - - if the RepositoryConfig to remove does not exist.
RepositoryException - - if a system error occurs.


Copyright © 2006 BEA Systems, Inc. All Rights Reserved