public class SiteWithUserStep extends AbstractWelcomeStep implements Serviceable, Contextualizable, LogEnabled
Modifier and Type | Field and Description |
---|---|
private Context |
_context |
private Logger |
_logger |
private ServiceManager |
_manager |
private PopulationContextHelper |
_populationContextHelper |
private RightManager |
_rightManager |
private SiteConfigurationExtensionPoint |
_siteConfiguration |
private SiteManager |
_siteManager |
_actions, _description, _images, _order, _pluginName, _targetIds, _title
Constructor and Description |
---|
SiteWithUserStep() |
Modifier and Type | Method and Description |
---|---|
private SiteConfigurationExtensionPoint |
_getSiteConfiguration() |
private SiteManager |
_getSiteManager() |
private boolean |
_hasOneCorrectUser(String siteName,
Set<UserIdentity> resolveAllowedUsers) |
void |
contextualize(Context context) |
private Logger |
getLogger() |
private PopulationContextHelper |
getPopulationContextHelper() |
boolean |
isPerformed()
Checks if the step is performed.
|
void |
service(ServiceManager manager) |
void |
setLogger(Logger logger)
Called at creation time to provide a
Logger . |
configure, getActions, getDescription, getImages, getListenedTargetIds, getOrder, getTitle, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toMap
private ServiceManager _manager
private SiteManager _siteManager
private SiteConfigurationExtensionPoint _siteConfiguration
private RightManager _rightManager
private PopulationContextHelper _populationContextHelper
public SiteWithUserStep()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void setLogger(Logger logger)
LogEnabled
Logger
.setLogger
in interface LogEnabled
logger
- a Logger
for messages.private SiteManager _getSiteManager()
private SiteConfigurationExtensionPoint _getSiteConfiguration()
private PopulationContextHelper getPopulationContextHelper()
public boolean isPerformed()
WelcomeStep
isPerformed
in interface WelcomeStep
private boolean _hasOneCorrectUser(String siteName, Set<UserIdentity> resolveAllowedUsers)