public interface PathSegmentService
DocumentModel about to be created. Usually the
title is used to derive the path segment.| Modifier and Type | Field and Description |
|---|---|
static String |
NUXEO_MAX_SEGMENT_SIZE_PROPERTY |
| 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
|
static final String NUXEO_MAX_SEGMENT_SIZE_PROPERTY
String generatePathSegment(DocumentModel doc)
DocumentModel that's about to be created.doc - the document/ characterString generatePathSegment(String s)
s - the string/ characterint getMaxSize()
Copyright © 2019 Nuxeo. All rights reserved.