Uses of Interface
net.sourceforge.floggy.persistence.Persistable

Packages that use Persistable
net.sourceforge.floggy.persistence Provides an API to manage the persistence mechanism of Floggy. 
net.sourceforge.floggy.persistence.migration   
 

Uses of Persistable in net.sourceforge.floggy.persistence
 

Methods in net.sourceforge.floggy.persistence that return Persistable
 Persistable ObjectSet.get(int index)
          Load the object at the specified index.
 Persistable ObjectSet.getSharedInstance(int index)
          Returns the object at the specified index.
 

Methods in net.sourceforge.floggy.persistence with parameters of type Persistable
abstract  int PersistableManager.batchSave(Persistable persistable)
          Store an object in the repository, it will always create a new entry on the repository.
The main use of this method is to import data from a remote source.
Set the property BATCH_MODE to true to improve the performance and create only one object to save the data.
 int Comparator.compare(Persistable o1, Persistable o2)
          Returns Comparator.PRECEDES if o1 precedes o2 in sort order, or Comparator.FOLLOWS if o1 follows o2 in sort order, or Comparator.EQUIVALENT if o1 and o2 are equivalent in terms of sort order.
abstract  void PersistableManager.delete(Persistable persistable)
          Removes an object from the repository.
 void SingleObjectSet.get(int index, Persistable object)
          Deprecated. Use the getSharedInstance instead of it.
abstract  int PersistableManager.getId(Persistable persistable)
          Gets the id under the persistable is stored.
abstract  boolean PersistableManager.isPersisted(Persistable persistable)
          Check if the object is already persisted.
abstract  void PersistableManager.load(Persistable persistable, int id)
          Load an previously stored object from the repository using the object ID.
The object ID is the result of a save operation or you can obtain it executing a search.
abstract  void PersistableManager.load(Persistable persistable, int id, boolean lazy)
          Load an previously stored object from the repository using the object ID.
The object ID is the result of a save operation or you can obtain it executing a search.
 boolean Filter.matches(Persistable o)
          Returns true if the candidate object matches the implemented criterion.
abstract  int PersistableManager.save(Persistable persistable)
          Store an object in the repository.
 

Uses of Persistable in net.sourceforge.floggy.persistence.migration
 

Methods in net.sourceforge.floggy.persistence.migration with parameters of type Persistable
 int Enumeration.update(Persistable persistable)
          Update the current record with the Persistable parameter.
 



Copyright © 2006-2011 Floggy Open Source Group. All Rights Reserved.