Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.uidgen
Interface UIDSequencer

All Known Subinterfaces:
UIDSequencerManager, UIDSequencerManagerLocal
All Known Implementing Classes:
UIDSequencerImpl, UIDSequencerManagerBean

public interface UIDSequencer

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

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

Method Detail

getNext

int getNext(java.lang.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.