org.nuxeo.ecm.core.api.pathsegment
Class PathSegmentServiceCompat
java.lang.Object
org.nuxeo.ecm.core.api.pathsegment.PathSegmentServiceCompat
- All Implemented Interfaces:
- PathSegmentService
public class PathSegmentServiceCompat
- extends Object
- implements PathSegmentService
Service generating a path segment from the title by simplifying it to
lowercase and dash-separated words.
PathSegmentServiceCompat
public PathSegmentServiceCompat()
generatePathSegment
public String generatePathSegment(DocumentModel doc)
throws ClientException
- Description copied from interface:
PathSegmentService
- Generate the path segment to use for a
DocumentModel
that's about
to be created.
- Specified by:
generatePathSegment
in interface PathSegmentService
- Parameters:
doc
- the document
- Returns:
- the path segment, which must not contain any
/
character
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.