public class PathSegmentServiceCompat extends Object implements PathSegmentService
NUXEO_MAX_SEGMENT_SIZE_PROPERTY
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.
|
int |
getMaxSize()
Return the path segment max size
|
public PathSegmentServiceCompat()
public String generatePathSegment(DocumentModel doc)
PathSegmentService
DocumentModel
that's about to be created.generatePathSegment
in interface PathSegmentService
doc
- the document/
characterpublic String generatePathSegment(String s)
PathSegmentService
generatePathSegment
in interface PathSegmentService
s
- the string/
characterpublic int getMaxSize()
PathSegmentService
getMaxSize
in interface PathSegmentService
Copyright © 2015 Nuxeo SA. All rights reserved.