public static class ContentDetailSubApp.DetailLocation extends DefaultLocation
ContentDetailSubApp
.
Extends the Default Location by adding fields for:
appType:appName:subAppId;some/node/path:viewType:version
LOCATION_TYPE_APP, LOCATION_TYPE_SHELL_APP, NOWHERE
Constructor and Description |
---|
DetailLocation(String appName,
String subAppId,
String parameter) |
DetailLocation(String appName,
String subAppId,
String viewType,
String nodePath,
String version) |
Modifier and Type | Method and Description |
---|---|
String |
getNodePath() |
protected String |
getParameter(String parameter,
int position) |
String |
getVersion() |
String |
getViewType() |
boolean |
hasVersion() |
void |
setVersion(String version) |
void |
setViewType(String viewType) |
void |
updateNodePath(String newNodePath) |
protected void |
updateParameter() |
void |
updateVersion(String newVersion) |
void |
updateViewtype(String newViewType) |
static ContentDetailSubApp.DetailLocation |
wrap(Location location) |
decodeFragment, decodeFragment, equals, escapeSpecialCharacters, extractAppName, extractAppType, extractParameter, extractSubAppId, getAppName, getAppType, getParameter, getSubAppId, hashCode, setAppName, setAppType, setParameter, setSubAppId, toString, unescapeSpecialCharacters
public String getNodePath()
public String getViewType()
public void setViewType(String viewType)
public String getVersion()
public void setVersion(String version)
public boolean hasVersion()
protected void updateParameter()
public static ContentDetailSubApp.DetailLocation wrap(Location location)
public void updateNodePath(String newNodePath)
public void updateViewtype(String newViewType)
public void updateVersion(String newVersion)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.