org.nuxeo.ecm.core.api.pathsegment
Interface PathSegmentService
- All Known Implementing Classes:
- PathSegmentComponent, PathSegmentServiceCompat, PathSegmentServiceDefault
public interface PathSegmentService
Service with a method generating a path segment (name) given a
DocumentModel
about to be created. Usually the title is used to
derive the path segment.
generatePathSegment
String generatePathSegment(DocumentModel doc)
throws ClientException
- Generate the path segment to use for a
DocumentModel
that's about
to be created.
- Parameters:
doc
- the document
- Returns:
- the path segment, which must not contain any
/
character
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.