Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.directory
Interface IdGenerator

All Known Implementing Classes:
SimpleIdGenerator

public interface IdGenerator

The IdGenerator creates new ids needed when creating new entries in a Directory.

Author:
glefter@nuxeo.com

Method Summary
 int nextId()
          Generates a new id which can be used to create a new entry in the directory.
 

Method Detail

nextId

int nextId()
           throws DirectoryException
Generates a new id which can be used to create a new entry in the directory.

Returns:
the next available id
Throws:
DirectoryException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.