© 2005 BEA Systems, Inc.

com.bea.content.manager
Interface RepositoryOps

All Superinterfaces:
EJBLocalObject

public interface RepositoryOps
extends EJBLocalObject


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.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

createRepositoryConfig

public 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.

createRepositoryConfig

public 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.

getRepositoryConfig

public 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.

getRepositoryConfigMap

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


removeRepositoryConfig

public 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.

updateRepositoryConfig

public 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.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved