mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Short URL format for common Alfresco servlets - for internal use
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -93,9 +93,9 @@ public class Node implements Serializable, Scopeable
|
|||||||
|
|
||||||
private final static String NAMESPACE_BEGIN = "" + QName.NAMESPACE_BEGIN;
|
private final static String NAMESPACE_BEGIN = "" + QName.NAMESPACE_BEGIN;
|
||||||
|
|
||||||
private final static String CONTENT_DEFAULT_URL = "/download/direct/{0}/{1}/{2}/{3}";
|
private final static String CONTENT_DEFAULT_URL = "/d/d/{0}/{1}/{2}/{3}";
|
||||||
private final static String CONTENT_PROP_URL = "/download/direct/{0}/{1}/{2}/{3}?property={4}";
|
private final static String CONTENT_PROP_URL = "/d/d/{0}/{1}/{2}/{3}?property={4}";
|
||||||
private final static String FOLDER_BROWSE_URL = "/navigate/browse/{0}/{1}/{2}";
|
private final static String FOLDER_BROWSE_URL = "/n/browse/{0}/{1}/{2}";
|
||||||
|
|
||||||
/** Root scope for this object */
|
/** Root scope for this object */
|
||||||
protected Scriptable scope;
|
protected Scriptable scope;
|
||||||
|
@@ -55,9 +55,9 @@ import org.springframework.util.StringUtils;
|
|||||||
*/
|
*/
|
||||||
public abstract class BaseContentNode implements TemplateContent
|
public abstract class BaseContentNode implements TemplateContent
|
||||||
{
|
{
|
||||||
protected final static String CONTENT_DEFAULT_URL = "/download/direct/{0}/{1}/{2}/{3}";
|
protected final static String CONTENT_DEFAULT_URL = "/d/d/{0}/{1}/{2}/{3}";
|
||||||
protected final static String CONTENT_PROP_URL = "/download/direct/{0}/{1}/{2}/{3}?property={4}";
|
protected final static String CONTENT_PROP_URL = "/d/d/{0}/{1}/{2}/{3}?property={4}";
|
||||||
protected final static String FOLDER_BROWSE_URL = "/navigate/browse/{0}/{1}/{2}";
|
protected final static String FOLDER_BROWSE_URL = "/n/browse/{0}/{1}/{2}";
|
||||||
|
|
||||||
protected final static String NAMESPACE_BEGIN = "" + QName.NAMESPACE_BEGIN;
|
protected final static String NAMESPACE_BEGIN = "" + QName.NAMESPACE_BEGIN;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user