org.overlord.sramp.ui.client.services.place
Interface IPlaceService

All Superinterfaces:
IService
All Known Implementing Classes:
PlaceService

public interface IPlaceService
extends IService

The place service is responsible for doing place related stuff. For example, it can provide a place token for a given place.

Author:
eric.wittmann@redhat.com

Method Summary
 String generatePlaceToken(com.google.gwt.place.shared.Place place)
          Generates a place token (suitable for use in hyperlinks, for example).
 com.google.gwt.place.shared.PlaceController getPlaceController()
          Gets the place controller.
 com.google.gwt.place.shared.PlaceHistoryMapper getPlaceHistoryMapper()
          Gets the place history mapper.
 void goTo(com.google.gwt.place.shared.Place place)
          Navigates to the given place.
 
Methods inherited from interface org.overlord.sramp.ui.client.services.IService
start
 

Method Detail

goTo

void goTo(com.google.gwt.place.shared.Place place)
Navigates to the given place.

Parameters:
place -

getPlaceController

com.google.gwt.place.shared.PlaceController getPlaceController()
Gets the place controller.


getPlaceHistoryMapper

com.google.gwt.place.shared.PlaceHistoryMapper getPlaceHistoryMapper()
Gets the place history mapper.


generatePlaceToken

String generatePlaceToken(com.google.gwt.place.shared.Place place)
Generates a place token (suitable for use in hyperlinks, for example).

Parameters:
place - the place to tokenize
Returns:
a place token


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.