org.objectweb.dsrg.sofa.repository
Class RepositoryDeleter

java.lang.Object
  extended by org.objectweb.dsrg.sofa.repository.RepositoryDeleter

public class RepositoryDeleter
extends java.lang.Object

This class is responsible for deleting any data from the repository.


Constructor Summary
RepositoryDeleter(org.eclipse.emf.ecore.resource.ResourceSet rs, RepositoryConfiguration configuration)
          This constructor should not be used by public.
 
Method Summary
 void delete(VersionedEntity entity)
          Main method of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryDeleter

public RepositoryDeleter(org.eclipse.emf.ecore.resource.ResourceSet rs,
                         RepositoryConfiguration configuration)
This constructor should not be used by public. It is used by RepositoryAgent.

Parameters:
rs - RepositoryAgent's ResourceSet
Method Detail

delete

public void delete(VersionedEntity entity)
            throws java.io.IOException
Main method of this class. Deletes specified entity from repository.

Parameters:
entity - VersionedEntity to be deleted from Repository
Throws:
java.io.IOException