org.wso2.registry.jdbc
Class VersionRepository

java.lang.Object
  extended by org.wso2.registry.jdbc.VersionRepository

public class VersionRepository
extends java.lang.Object


Constructor Summary
VersionRepository(javax.sql.DataSource dataSource)
           
 
Method Summary
 void createSnapshot(ResourcePath resourcePath)
           
 Resource get(VersionedPath versionedPath)
           
 Collection get(VersionedPath versionedPath, int start, int pageLen)
           
 java.lang.String[] getVersions(java.lang.String resourcePath)
           
 void restoreVersion(ResourcePath resourcePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionRepository

public VersionRepository(javax.sql.DataSource dataSource)
Method Detail

createSnapshot

public void createSnapshot(ResourcePath resourcePath)
                    throws RegistryException
Throws:
RegistryException

getVersions

public java.lang.String[] getVersions(java.lang.String resourcePath)
                               throws RegistryException
Throws:
RegistryException

get

public Resource get(VersionedPath versionedPath)
             throws RegistryException
Throws:
RegistryException

get

public Collection get(VersionedPath versionedPath,
                      int start,
                      int pageLen)
               throws RegistryException
Throws:
RegistryException

restoreVersion

public void restoreVersion(ResourcePath resourcePath)
                    throws RegistryException
Throws:
RegistryException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.