Package jetbrains.buildServer.web.impl
Class PagePlacesRegistry
- java.lang.Object
-
- jetbrains.buildServer.web.impl.PagePlacesRegistry
-
- All Implemented Interfaces:
PagePlaces,PagePlacesEx
public class PagePlacesRegistry extends Object implements PagePlacesEx
- Author:
- Pavel.Sher Date: 25.12.2007
-
-
Constructor Summary
Constructors Constructor Description PagePlacesRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PagePlace>getPagePlaces(javax.servlet.http.HttpServletRequest request)PagePlacegetPlaceById(PlaceId pagePlaceId)Returns page place having the specified idList<PlaceId>getRegisteredPlaceIds()voidregisterPlaceId(PlaceId placeId)Registers a new place id so thatPagePlacesEx.getRegisteredPlaceIds()could return it.
-
-
-
Method Detail
-
getPlaceById
@NotNull public PagePlace getPlaceById(@NotNull PlaceId pagePlaceId)
Description copied from interface:PagePlacesReturns page place having the specified id- Specified by:
getPlaceByIdin interfacePagePlaces- Parameters:
pagePlaceId- id of the page place- Returns:
- page place with the specified id
-
getPagePlaces
@NotNull public List<PagePlace> getPagePlaces(@NotNull javax.servlet.http.HttpServletRequest request)
- Specified by:
getPagePlacesin interfacePagePlacesEx
-
getRegisteredPlaceIds
@NotNull public List<PlaceId> getRegisteredPlaceIds()
- Specified by:
getRegisteredPlaceIdsin interfacePagePlacesEx- Returns:
- all known Place ids:
- all PlaceId constants from
PlaceId - all registered place ids via
PagePlacesEx.registerPlaceId(PlaceId) - all registered place ids via
PagePlaces.getPlaceById(PlaceId)
- all PlaceId constants from
-
registerPlaceId
public void registerPlaceId(@NotNull PlaceId placeId)Description copied from interface:PagePlacesExRegisters a new place id so thatPagePlacesEx.getRegisteredPlaceIds()could return it. Has the same effect asPagePlaces.getPlaceById(PlaceId).- Specified by:
registerPlaceIdin interfacePagePlacesEx- Parameters:
placeId- place id to register
-
-