Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ensembl.driver
Interface LockableGeneAdaptor

All Superinterfaces:
  Adaptor, FeatureAdaptor, GeneAdaptor, java.rmi.Remote

public interface LockableGeneAdaptor
extends GeneAdaptor

When the implementing class overrides store() the intention is that it will succeed only if the gene is locked by the 'current' user and that the lock is released before any other user can modify the gene.

Field Summary

Fields inherited from interface org.ensembl.driver.GeneAdaptor
`TYPE`

Method Summary
`void` | `lock(Gene gene)`
`void` | `release(Gene gene)`

Methods inherited from interface org.ensembl.driver.GeneAdaptor
`delete, delete, fetch, fetch, fetch, fetchAccessionID, fetchByInterproID, fetchBySynonym, store`

Methods inherited from interface org.ensembl.driver.FeatureAdaptor
`convertLocations, fetch, fetch, fetch, fetch, fetchAll, fetchAll, fetchCount, fetchInternalIDs, fetchInternalIDs, fetchIterator, fetchIterator, fetchIterator, fetchIterator, fetchIterator, fetchIterator, fetchIterator, fetchIterator, fetchIterator`

Methods inherited from interface org.ensembl.driver.Adaptor
`clearCache, closeAllConnections, getType`

Method Detail

### lock

    public void lock(Gene gene)
              throws AdaptorException

  Throws:
    `AdaptorException`

### release

    public void release(Gene gene)
                 throws AdaptorException

  Throws:
    `AdaptorException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD