uk.ac.ed.inf.ogsaconfig.garm
Interface PersistenceMechanism

All Known Implementing Classes:
XMLPersistenceMechanism

public interface PersistenceMechanism

A persistence mechanism is a means of storing meta vfiles between GARM invocations.


Method Summary
 VFile[] loadFiles(FileCollection collection)
          Returns the files associated with the given file collection stored in the persistence mechanism
 void saveFiles(FileCollection collection, VFile[] files)
          Associates the given files with the given collection in the persistence mechanism
 

Method Detail

loadFiles

public VFile[] loadFiles(FileCollection collection)
Returns the files associated with the given file collection stored in the persistence mechanism


saveFiles

public void saveFiles(FileCollection collection,
                      VFile[] files)
Associates the given files with the given collection in the persistence mechanism