Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.uidgen.generators
Class UIDGenerator1

java.lang.Object
  extended by org.nuxeo.ecm.platform.uidgen.AbstractUIDGenerator
      extended by org.nuxeo.ecm.platform.uidgen.generators.UIDGenerator1
All Implemented Interfaces:
UIDGenerator

public class UIDGenerator1
extends AbstractUIDGenerator


Constructor Summary
UIDGenerator1()
           
 
Method Summary
 java.lang.String createUID(DocumentModel doc)
          Returns a new UID for the given doc.
 java.lang.String getSequenceKey(DocumentModel doc)
           
 
Methods inherited from class org.nuxeo.ecm.platform.uidgen.AbstractUIDGenerator
getPropertyName, getPropertyNames, setPropertyName, setPropertyNames, setSequencer, setUID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDGenerator1

public UIDGenerator1()
Method Detail

getSequenceKey

public java.lang.String getSequenceKey(DocumentModel doc)
                                throws DocumentException
Throws:
DocumentException

createUID

public java.lang.String createUID(DocumentModel doc)
                           throws DocumentException
Description copied from interface: UIDGenerator
Returns a new UID for the given doc.

Throws:
DocumentException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.