org.cumulus4j.store.model
Class Sequence2DAO
java.lang.Object
   org.cumulus4j.store.model.AbstractDAO
org.cumulus4j.store.model.AbstractDAO
       org.cumulus4j.store.model.Sequence2DAO
org.cumulus4j.store.model.Sequence2DAO
- public class Sequence2DAO 
- extends AbstractDAO
 
| Fields inherited from class org.cumulus4j.store.model.AbstractDAO | 
| pm | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Sequence2DAO
public Sequence2DAO()
Sequence2DAO
public Sequence2DAO(PersistenceManager pmData,
                    int keyStoreRefID)
- Parameters:
- pmData- the backend-- PersistenceManagerused to access the underlying datastore; must not be- null.
 If there are multiple datastores (data + index), then this is the one used for data.
- keyStoreRefID- the key-store-reference-ID obtained usually from- CryptoContext.getKeyStoreRefID().
getSequence2
public Sequence2 getSequence2(String sequenceName)
- Get the Sequenceidentified by the givensequenceName.
 If no suchSequenceexists, this method returnsnull.
 
- 
- Parameters:
- sequenceName- the name of the sequence; must not be- null.
- Returns:
- the Sequenceidentified by the givensequenceNameornull, if no suchSequenceexists.
 
createSequence2
public Sequence2 createSequence2(String sequenceName)
- Get the Sequenceidentified by the givensequenceName.
 If no suchSequenceexists, this method creates & persists one.
 
- 
- Parameters:
- sequenceName- the name of the sequence; must not be- null.
- Returns:
- the Sequenceidentified by the givensequenceName; nevernull.
 
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.