Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class UIDGCoreDocument
extends AbstractUIDGenerator


Constructor Summary
UIDGCoreDocument()
           
 
Method Summary
 String createUID(DocumentModel document)
          Returns a new UID for the given doc.
 String getSequenceKey(DocumentModel document)
           
 
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

UIDGCoreDocument

public UIDGCoreDocument()
Method Detail

getSequenceKey

public String getSequenceKey(DocumentModel document)
                      throws DocumentException
Throws:
DocumentException

createUID

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

Throws:
DocumentException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.