info.magnolia.ui.contentapp.detail
Class DetailLocation
java.lang.Object
info.magnolia.ui.api.location.DefaultLocation
info.magnolia.ui.contentapp.detail.DetailLocation
- All Implemented Interfaces:
- Location
public class DetailLocation
- extends DefaultLocation
ItemLocation used in implementers of DetailSubApp
.
Extends the Default Location by adding fields for :
appType:appName:subAppId;some/node/path:viewType:version
Methods inherited from class info.magnolia.ui.api.location.DefaultLocation |
decodeFragment, decodeFragment, equals, extractAppName, extractAppType, extractParameter, extractSubAppId, getAppName, getAppType, getParameter, getSubAppId, hashCode, setAppName, setAppType, setParameter, setSubAppId, toString |
DetailLocation
public DetailLocation(String appName,
String subAppId,
String parameter)
DetailLocation
public DetailLocation(String appName,
String subAppId,
DetailView.ViewType viewType,
String nodePath,
String version)
getNodePath
public String getNodePath()
getViewType
public DetailView.ViewType getViewType()
setViewType
public void setViewType(DetailView.ViewType viewType)
getVersion
public String getVersion()
setVersion
public void setVersion(String version)
hasVersion
public boolean hasVersion()
updateParameter
protected void updateParameter()
wrap
public static DetailLocation wrap(Location location)
updateNodePath
public void updateNodePath(String newNodePath)
updateViewtype
public void updateViewtype(DetailView.ViewType newViewType)
updateVersion
public void updateVersion(String newVersion)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.