Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.uidgen
Interface UIDSequencer

All Known Subinterfaces:
UIDSequencerManager
All Known Implementing Classes:
UIDSequencerImpl

public interface UIDSequencer

UID Sequencer interface defines a method to retrieve next ids based on a given key.

Author:
Method Summary
 int getNext(String key)
          For the given key returns the incremented UID which is also stored in the same sequence entry.
 

Method Detail

getNext

int getNext(String key)
For the given key returns the incremented UID which is also stored in the same sequence entry. This is a "one time use" function for a document.

Parameters:
key -
Returns:

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.