org.ow2.petals.registry.api.repository
Interface Operations

All Superinterfaces:
Operations
All Known Subinterfaces:
CoreRepository, Repository

public interface Operations
extends Operations

The repository operations

Author:
Christophe HAMERLING - eBM WebSourcing

Method Summary
 int deleteDataFromRegistry(java.lang.String registryName)
          Delete the data of the specified registry from the repository.
 int keepOnly(java.lang.String registryName)
          Delete all the data which are not the ones from the given registry name
 
Methods inherited from interface org.ow2.petals.registry.api.Operations
delete, get, getAll, put, query
 

Method Detail

deleteDataFromRegistry

int deleteDataFromRegistry(java.lang.String registryName)
                           throws RegistryException
Delete the data of the specified registry from the repository. The registry name is defined in the Resource rootRegistry field.

Parameters:
registryName -
Returns:
Throws:
RegistryException

keepOnly

int keepOnly(java.lang.String registryName)
             throws RegistryException
Delete all the data which are not the ones from the given registry name

Returns:
Throws:
RegistryException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.