Constructor and Description |
---|
PlaceWithGatekeeper(String nameToken,
Gatekeeper gatekeeper) |
Modifier and Type | Method and Description |
---|---|
boolean |
canReveal()
Checks if the associated presenter can be revealed.
|
equals, getNameToken, hashCode, matchesRequest, toString
public PlaceWithGatekeeper(String nameToken, Gatekeeper gatekeeper)
public boolean canReveal()
Place
true
,
but subclasses should override this and check to make sure the current user
has the privileges to see the place. Make sure the places you request in
PlaceManager.revealDefaultPlace()
and
PlaceManager.revealErrorPlace(String)
can reveal themselves,
otherwise your application could get into an infinite loop.Copyright © 2010-2014 ArcBees. All Rights Reserved.