Package org.jboss.hal.core.mvp
Class Places
- java.lang.Object
-
- org.jboss.hal.core.mvp.Places
-
public class Places extends Object
Factory methods for place requests.
-
-
Field Summary
Fields Modifier and Type Field Description static StringADDRESS_PARAMstatic StringEXTERNAL_PARAM
-
Constructor Summary
Constructors Constructor Description Places(Environment environment, StatementContext statementContext, Finder finder, com.gwtplatform.mvp.shared.proxy.TokenFormatter tokenFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.gwtplatform.mvp.shared.proxy.PlaceRequestexternal(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)com.gwtplatform.mvp.shared.proxy.PlaceRequest.BuilderfinderPlace(String token, FinderPath path)com.gwtplatform.mvp.shared.proxy.PlaceRequestgenericSubsystem(ResourceAddress address)StringhistoryToken(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)booleanisExternal(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)com.gwtplatform.mvp.shared.proxy.PlaceRequestmodelBrowser(ResourceAddress address)com.gwtplatform.mvp.shared.proxy.PlaceRequest.BuilderreplaceParameter(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest, String parameter, String newValue)Returns a new place request with the a new value for the specified parameter.com.gwtplatform.mvp.shared.proxy.PlaceRequest.BuilderselectedProfile(String token)Returns a place request builder for the specified token with parameters for the selected profile (when running domain mode).com.gwtplatform.mvp.shared.proxy.PlaceRequest.BuilderselectedServer(String token)Returns a place request builder for the specified token with parameters for the selected host and server (when running domain mode).
-
-
-
Field Detail
-
ADDRESS_PARAM
public static final String ADDRESS_PARAM
- See Also:
- Constant Field Values
-
EXTERNAL_PARAM
public static final String EXTERNAL_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Places
@Inject public Places(Environment environment, StatementContext statementContext, Finder finder, com.gwtplatform.mvp.shared.proxy.TokenFormatter tokenFormatter)
-
-
Method Detail
-
finderPlace
public com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder finderPlace(String token, FinderPath path)
-
selectedProfile
public com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder selectedProfile(String token) throws IllegalStateException
Returns a place request builder for the specified token with parameters for the selected profile (when running domain mode).- Throws:
IllegalStateException
-
selectedServer
public com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder selectedServer(String token) throws IllegalStateException
Returns a place request builder for the specified token with parameters for the selected host and server (when running domain mode).- Throws:
IllegalStateException
-
genericSubsystem
public com.gwtplatform.mvp.shared.proxy.PlaceRequest genericSubsystem(ResourceAddress address)
-
modelBrowser
public com.gwtplatform.mvp.shared.proxy.PlaceRequest modelBrowser(ResourceAddress address)
-
external
public com.gwtplatform.mvp.shared.proxy.PlaceRequest external(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)
-
isExternal
public boolean isExternal(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)
-
replaceParameter
public com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder replaceParameter(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest, String parameter, String newValue)Returns a new place request with the a new value for the specified parameter.
-
historyToken
public String historyToken(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)
-
-