|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.pathsegment.PathSegmentServiceDefault
public class PathSegmentServiceDefault
Service generating a path segment from the title by just removing slashes and limiting size.
Field Summary | |
---|---|
int |
maxSize
|
java.util.regex.Pattern |
stupidRegexp
|
Constructor Summary | |
---|---|
PathSegmentServiceDefault()
|
Method Summary | |
---|---|
java.lang.String |
generatePathSegment(DocumentModel doc)
Generate the path segment to use for a DocumentModel that's about
to be created. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.regex.Pattern stupidRegexp
public int maxSize
Constructor Detail |
---|
public PathSegmentServiceDefault()
Method Detail |
---|
public java.lang.String generatePathSegment(DocumentModel doc) throws ClientException
PathSegmentService
DocumentModel
that's about
to be created.
generatePathSegment
in interface PathSegmentService
doc
- the document
/
character
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |