Package org.uberfire.mvp.impl
Class ForcedPlaceRequest
- java.lang.Object
-
- org.uberfire.mvp.impl.DefaultPlaceRequest
-
- org.uberfire.mvp.impl.ForcedPlaceRequest
-
- All Implemented Interfaces:
PlaceRequest
@Portable public class ForcedPlaceRequest extends DefaultPlaceRequest
-
-
Field Summary
-
Fields inherited from class org.uberfire.mvp.impl.DefaultPlaceRequest
identifier, parameters
-
Fields inherited from interface org.uberfire.mvp.PlaceRequest
NOWHERE
-
-
Constructor Summary
Constructors Constructor Description ForcedPlaceRequest()ForcedPlaceRequest(String identifier)ForcedPlaceRequest(String identifier, Map<String,String> parameters)ForcedPlaceRequest(String identifier, Map<String,String> parameters, boolean updateLocationBar)Creates a place request for the given place ID, with the given state parameters for that place, and the given preference of whether or not the browser's location bar should be updated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class org.uberfire.mvp.impl.DefaultPlaceRequest
addParameter, clone, equals, getFullIdentifier, getIdentifier, getParameter, getParameterNames, getParameters, hashCode, isUpdateLocationBarAllowed, parse, setIdentifier, setUpdateLocationBar
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.uberfire.mvp.PlaceRequest
asString, getPath
-
-
-
-
Constructor Detail
-
ForcedPlaceRequest
public ForcedPlaceRequest()
-
ForcedPlaceRequest
public ForcedPlaceRequest(String identifier)
-
ForcedPlaceRequest
public ForcedPlaceRequest(String identifier, Map<String,String> parameters, boolean updateLocationBar)
Creates a place request for the given place ID, with the given state parameters for that place, and the given preference of whether or not the browser's location bar should be updated.- Parameters:
identifier- The place ID, or an empty string for the default place.parameters- Place-specific parameters to pass to the place. Must not be null.updateLocationBar- If true, the browser's history will be updated with this place request. If false, the location bar will not be modified as a result of this place request.
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classDefaultPlaceRequest
-
-