public class PathSegmentServiceCompat extends Object implements PathSegmentService
Constructor and Description |
---|
PathSegmentServiceCompat() |
Modifier and Type | Method and Description |
---|---|
String |
generatePathSegment(DocumentModel doc)
Generate the path segment to use for a
DocumentModel that's about to be created. |
String |
generatePathSegment(String s)
Generate the path segment to use from a string.
|
public String generatePathSegment(DocumentModel doc) throws ClientException
PathSegmentService
DocumentModel
that's about to be created.generatePathSegment
in interface PathSegmentService
doc
- the document/
characterClientException
public String generatePathSegment(String s) throws ClientException
PathSegmentService
generatePathSegment
in interface PathSegmentService
s
- the string/
characterClientException
Copyright © 2015 Nuxeo SA. All rights reserved.