Uses of Class
gate.persist.PersistenceException

Packages that use PersistenceException
gate  
gate.corpora   
gate.creole   
gate.persist   
 

Uses of PersistenceException in gate
 

Methods in gate that throw PersistenceException
static DataStore Factory.openDataStore(String dataStoreClassName, URL storageUrl)
          Open an existing DataStore.
static DataStore Factory.createDataStore(String dataStoreClassName, URL storageUrl)
          Create a new DataStore and open it.
protected static DataStore Factory.instantiateDataStore(String dataStoreClassName, URL storageUrl)
          Instantiate a DataStore (not open or created).
 void DataStore.setStorageUrl(URL storageUrl)
          Set the URL for the underlying storage mechanism.
 void DataStore.create()
          Create a new data store.
 void DataStore.open()
          Open a connection to the data store.
 void DataStore.close()
          Close the data store.
 void DataStore.delete()
          Delete the data store.
 void DataStore.delete(String lrClassName, String lrId)
          Delete a resource from the data store.
 void DataStore.sync(LanguageResource lr)
          Save: synchonise the in-memory image of the LR with the persistent image.
 LanguageResource DataStore.adopt(LanguageResource lr)
          Adopt a resource for persistence.
 LanguageResource DataStore.getLr(String lrClassName, String dataStoreInstanceId)
          Get a resource from the persistent store.
 List DataStore.getLrTypes()
          Get a list of the types of LR that are present in the data store.
 List DataStore.getLrIds(String lrType)
          Get a list of the IDs of LRs of a particular type that are present.
 List DataStore.getLrNames(String lrType)
          Get a list of the names of LRs of a particular type that are present.
 String DataStore.getLrName(String lrId)
          Get the name of an LR from its ID.
 void LanguageResource.setDataStore(DataStore dataStore)
          Set the data store that this LR lives in.
 void LanguageResource.sync()
          Save: synchonise the in-memory image of the LR with the persistent image.
 

Uses of PersistenceException in gate.corpora
 

Methods in gate.corpora that throw PersistenceException
 void CorpusImpl.setDataStore(DataStore dataStore)
          Set the data store that this LR lives in.
 void CorpusImpl.sync()
          Save: synchonise the in-memory image of the corpus with the persistent image.
 

Uses of PersistenceException in gate.creole
 

Methods in gate.creole that throw PersistenceException
 void AbstractLanguageResource.setDataStore(DataStore dataStore)
          Set the data store that this LR lives in.
 void AbstractLanguageResource.sync()
          Save: synchonise the in-memory image of the LR with the persistent image.
 

Uses of PersistenceException in gate.persist
 

Methods in gate.persist that throw PersistenceException
 void SerialDataStore.setStorageUrl(URL storageUrl)
          Set the URL for the underlying storage mechanism.
 void SerialDataStore.create()
          Create a new data store.
 void SerialDataStore.delete()
          Delete the data store.
 void SerialDataStore.delete(String lrClassName, String dataStoreInstanceId)
          Delete a resource from the data store.
 LanguageResource SerialDataStore.adopt(LanguageResource lr)
          Adopt a resource for persistence.
 void SerialDataStore.open()
          Open a connection to the data store.
 void SerialDataStore.close()
          Close the data store.
 void SerialDataStore.sync(LanguageResource lr)
          Save: synchonise the in-memory image of the LR with the persistent image.
 LanguageResource SerialDataStore.getLr(String lrClassName, String dataStoreInstanceId)
          Get a resource from the persistent store.
 List SerialDataStore.getLrTypes()
          Get a list of the types of LR that are present in the data store.
 List SerialDataStore.getLrIds(String lrType)
          Get a list of the IDs of LRs of a particular type that are present.
 List SerialDataStore.getLrNames(String lrType)
          Get a list of the names of LRs of a particular type that are present.
 

Constructors in gate.persist that throw PersistenceException
SerialDataStore(URL storageDirUrl)
          Construction requires a file protocol URL pointing to the storage directory used for the serialised classes.