org.ow2.petals.registry.api.repository
Interface Repository
- All Superinterfaces:
- CoreRepository, LifeCycle, Operations
public interface Repository
- extends CoreRepository
The repository interface to be implemented to really store the resource
- Author:
- Christophe HAMERLING - eBM WebSourcing
|
Method Summary |
int |
clean()
Clean the repository ie delete all the entries |
long |
size()
Get the repository size ie the number of entries |
long |
size(java.lang.String path)
Get the number of entries under the given path |
size
long size()
throws RegistryException
- Get the repository size ie the number of entries
- Throws:
RegistryException
size
long size(java.lang.String path)
throws RegistryException
- Get the number of entries under the given path
- Parameters:
path -
- Returns:
-
- Throws:
RegistryException
clean
int clean()
throws RegistryException
- Clean the repository ie delete all the entries
- Returns:
- the number of deleted entries
- Throws:
RegistryException
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.