Class PageAwareHelper
- java.lang.Object
-
- com.atlassian.confluence.impl.pages.actions.PageAwareHelper
-
public class PageAwareHelper extends Object
Encapsulates all the complicated "how are the many ways I can look up a page so the action knows about it?" stuff. An action just needs to implement PageAware, and this class will give it a page if it needs one.- Since:
- 5.9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PageAwareHelper.ParameterSource
static class
PageAwareHelper.Result
-
Constructor Summary
Constructors Constructor Description PageAwareHelper(PageManager pageManager, ContentEntityManager contentEntityManager, PermissionManager permissionManager, SpaceManager spaceManager, ConfluenceWebResourceManager webResourceManager, CollaborativeEditingHelper collaborativeEditingHelper, AccessModeService accessModeService, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull PageAwareHelper.Result
configure(PageAware pageAware, javax.servlet.http.HttpServletRequest servletRequest)
@NonNull PageAwareHelper.Result
configure(PageAware pageAware, javax.servlet.http.HttpServletRequest servletRequest, PageAwareHelper.ParameterSource parameterSource)
-
-
-
Constructor Detail
-
PageAwareHelper
public PageAwareHelper(PageManager pageManager, ContentEntityManager contentEntityManager, PermissionManager permissionManager, SpaceManager spaceManager, ConfluenceWebResourceManager webResourceManager, CollaborativeEditingHelper collaborativeEditingHelper, AccessModeService accessModeService, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
configure
public @NonNull PageAwareHelper.Result configure(PageAware pageAware, javax.servlet.http.HttpServletRequest servletRequest)
-
configure
public @NonNull PageAwareHelper.Result configure(PageAware pageAware, javax.servlet.http.HttpServletRequest servletRequest, PageAwareHelper.ParameterSource parameterSource)
-
-