org.nuxeo.correspondence.core.generators
Class CorrespondenceUIDGenerator
java.lang.Object
org.nuxeo.ecm.platform.uidgen.AbstractUIDGenerator
org.nuxeo.correspondence.core.generators.CorrespondenceUIDGenerator
- All Implemented Interfaces:
- org.nuxeo.ecm.platform.uidgen.UIDGenerator
public class CorrespondenceUIDGenerator
- extends org.nuxeo.ecm.platform.uidgen.AbstractUIDGenerator
Generates an UID with a specific format for a given document
- Author:
- Mariana Cedica
Methods inherited from class org.nuxeo.ecm.platform.uidgen.AbstractUIDGenerator |
getPropertyName, getPropertyNames, setPropertyName, setPropertyNames, setSequencer, setUID |
NXC_PREFIX
public static final String NXC_PREFIX
- See Also:
- Constant Field Values
NXC_PREFIX_IN
public static final String NXC_PREFIX_IN
- See Also:
- Constant Field Values
NXC_PREFIX_OUT
public static final String NXC_PREFIX_OUT
- See Also:
- Constant Field Values
NFORMAT
public static final String NFORMAT
- See Also:
- Constant Field Values
CorrespondenceUIDGenerator
public CorrespondenceUIDGenerator()
getSequenceKey
public String getSequenceKey(org.nuxeo.ecm.core.api.DocumentModel doc)
throws org.nuxeo.ecm.core.api.DocumentException
- Throws:
org.nuxeo.ecm.core.api.DocumentException
createUID
public String createUID(org.nuxeo.ecm.core.api.DocumentModel doc)
throws org.nuxeo.ecm.core.api.DocumentException
- Throws:
org.nuxeo.ecm.core.api.DocumentException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.