|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspcp7.imagegallery.impl.alfresco.utils.AlfrescoUtils
public class AlfrescoUtils
| Constructor Summary | |
|---|---|
AlfrescoUtils()
|
|
| Method Summary | |
|---|---|
java.lang.String |
encodeAlfrescoAbbreviatedPathISO9075(java.lang.String path)
This method encodes the elements of an alfresco path conforming to ISO9075.encode(String). |
java.lang.String |
normalizePathNamespace(java.lang.String inputPath,
java.util.Map<java.lang.String,PropertyModelFace> properties)
This method replaces the full path of alfresco to the short one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlfrescoUtils()
| Method Detail |
|---|
public java.lang.String normalizePathNamespace(java.lang.String inputPath,
java.util.Map<java.lang.String,PropertyModelFace> properties)
AlfrescoDefaultProperties.ALFRESCO_FULL_APP_NAMESPACE_REPLACEMENT
and
AlfrescoDefaultProperties.ALFRESCO_FULL_CM_NAMESPACE_REPLACEMENT.
The regex replace pattern is defined in
AlfrescoDefaultProperties.ALFRESCO_SHORTEN_APP_NAMESPACE_REGEX
and AlfrescoDefaultProperties.ALFRESCO_SHORTEN_CM_NAMESPACE_REGEX.
inputPath -
public java.lang.String encodeAlfrescoAbbreviatedPathISO9075(java.lang.String path)
ISO9075.encode(String). Elements of a path are only names. That
is no slashes or content prefixes like (app:). Slashes and content
prefixes remain unchanged.
path -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||