|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.cms.publication.IdentityDocumentIdToPathMapper
public class IdentityDocumentIdToPathMapper
Identity Document Id to path mapper
| Constructor Summary | |
|---|---|
IdentityDocumentIdToPathMapper()
|
|
| Method Summary | |
|---|---|
java.io.File |
getFile(Publication publication,
java.lang.String area,
java.lang.String documentId,
java.lang.String language)
Compute the document-path for a given publication, area, document-uuid and language |
java.lang.String |
getPath(java.lang.String documentId,
java.lang.String language)
Compute the document-path for a given publication, area and document-uuid. |
protected java.lang.String |
getSuffix(java.lang.String language)
Constructs the filename for a given language. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityDocumentIdToPathMapper()
| Method Detail |
|---|
public java.io.File getFile(Publication publication,
java.lang.String area,
java.lang.String documentId,
java.lang.String language)
DocumentIdToPathMapper
getFile in interface DocumentIdToPathMapperpublication - the publication of the documentarea - the area of the documentdocumentId - the uuid of the documentlanguage - the language of the document
DocumentIdToPathMapper.getFile(org.apache.lenya.cms.publication.Publication,
java.lang.String, java.lang.String, java.lang.String)
public java.lang.String getPath(java.lang.String documentId,
java.lang.String language)
DocumentIdToPathMapper
getPath in interface DocumentIdToPathMapperdocumentId - the UUID of the documentlanguage - the language of the document
DocumentIdToPathMapper.getPath(java.lang.String,
java.lang.String)protected java.lang.String getSuffix(java.lang.String language)
language - The language.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||