com.bea.content.spi
Interface ExtendedRepository

All Superinterfaces
Repository, Serializable

public interface ExtendedRepository
extends Repository

The Extended Repository interface allows users to use the extended functionality present In the content management system.


Method Summary
 void createRepository(RepositoryConfig config)
          A method called when a new repository is created.
 void removeRepository(String name)
          A method called when a repository is removed.
 void updateRepository(RepositoryConfig config)
          A method called when a repository is configuration is updated.
 
Methods inherited from interface com.bea.content.spi.Repository
connect, connect, getName, getProperties, setName, setProperties
 

Method Detail

createRepository

void createRepository(RepositoryConfig config)
                      throws RepositoryException
A method called when a new repository is created. This method takes the RepositoryConfig object and allows custom actions to be performed at create time.

Parameters
config - The repository configuration
Throws
RepositoryException - if the creation operation fails.

updateRepository

void updateRepository(RepositoryConfig config)
                      throws RepositoryException
A method called when a repository is configuration is updated. This method taks the RepositoryConfig object and allows custom actions to be performed at update time.

Parameters
config - The repository configuration
Throws
RepositoryException - if the update operation fails.

removeRepository

void removeRepository(String name)
                      throws RepositoryException
A method called when a repository is removed. This method takes the name of hte repostiroy and allows custom actions to be performed at removal time.

Parameters
name - The name of the repository
Throws
RepositoryException - If the removal operation fails.


Copyright © 2006 BEA Systems, Inc. All Rights Reserved