info.magnolia.ui.contentapp.browser
Class BrowserLocation

java.lang.Object
  extended by info.magnolia.ui.api.location.DefaultLocation
      extended by info.magnolia.ui.contentapp.browser.BrowserLocation
All Implemented Interfaces:
Location

public class BrowserLocation
extends DefaultLocation

ContentLocation used in ContentSubApps. Extends the Default Location by adding fields for the nodePath, viewType and query.


Field Summary
 
Fields inherited from interface info.magnolia.ui.api.location.Location
LOCATION_TYPE_APP, LOCATION_TYPE_SHELL_APP, NOWHERE
 
Constructor Summary
BrowserLocation(String appName, String subAppId, String parameter)
           
 
Method Summary
static String extractQuery(String fragment)
           
 String getNodePath()
           
 String getQuery()
           
 String getViewType()
           
 void updateNodePath(String newNodePath)
           
protected  void updateParameter()
           
 void updateQuery(String newQuery)
           
 void updateViewType(String newViewType)
           
static BrowserLocation wrap(Location location)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrowserLocation

public BrowserLocation(String appName,
                       String subAppId,
                       String parameter)
Method Detail

getNodePath

public String getNodePath()

getViewType

public String getViewType()

getQuery

public String getQuery()

extractQuery

public static String extractQuery(String fragment)

updateParameter

protected void updateParameter()

wrap

public static BrowserLocation wrap(Location location)

updateNodePath

public void updateNodePath(String newNodePath)

updateViewType

public void updateViewType(String newViewType)

updateQuery

public void updateQuery(String newQuery)


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.