com.bea.content.spi.flexspi.repository
Interface RepositoryConfigOpsV2

All Superinterfaces
ISPIMarker, ISPIRepositoryMarker, Serializable

public interface RepositoryConfigOpsV2
extends Serializable, ISPIRepositoryMarker

RepositoryConfigOps is a Repository interface (as opposed to a Ticket interface) which allows the repository to get callbacks when various operations are performed on RepositoryConfig objects.


Nested Class Summary
static class RepositoryConfigOpsV2.MethodName
           
 
Method Summary
 void createRepository(IRepositoryConfig config)
          This method is called immediately after a new repository config is created in the VCR, but before is used.
 void removeRepository(String repoConfigName)
          This method is called immediately after a repository config is removed by the VCR.
 void updateRepository(IRepositoryConfig config)
          This method is called immediately after a repository config is updated in the VCR, but before the updated repository config is used.
 

Method Detail

createRepository

void createRepository(IRepositoryConfig config)
                      throws RepositoryException
This method is called immediately after a new repository config is created in the VCR, but before is used.

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(IRepositoryConfig config)
                      throws RepositoryException
This method is called immediately after a repository config is updated in the VCR, but before the updated repository config is used.

This method takes 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 repoConfigName)
                      throws RepositoryException
This method is called immediately after a repository config is removed by the VCR.

This method takes the String repository name and allows custom actions to be performed at removal time.

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


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.