public class VirtualNavigationUtils extends Object
Virtual Path are composed of /navigation_path/_vid_[WEBID] The resulting virtual path is playable as a CMSCommand Path.
Manage virtual staple paths
| Constructor and Description |
|---|
VirtualNavigationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
adaptPath(String navigationPath,
String webId)
Adapt path.
|
static String |
getStapleId(String virtualPath)
Gets the virtual staple id if exists.
|
static String |
getWebId(String virtualPath)
Gets the content id.
|
public static String adaptPath(String navigationPath, String webId)
navigationPath - the navigation pathwebId - the web idpublic static String getWebId(String virtualPath)
virtualPath - the virtual pathCopyright © 2020. All rights reserved.