Class PageAwareHelper
java.lang.Object
com.atlassian.confluence.impl.pages.actions.PageAwareHelper
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
Modifier and TypeClassDescriptionstatic interface
static enum
-
Constructor Summary
ConstructorDescriptionPageAwareHelper
(PageManager pageManager, ContentEntityManager contentEntityManager, PermissionManager permissionManager, SpaceManager spaceManager, ConfluenceWebResourceManager webResourceManager, CollaborativeEditingHelper collaborativeEditingHelper, AccessModeService accessModeService, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescription@NonNull PageAwareHelper.Result
@NonNull PageAwareHelper.Result
configure
(PageAware pageAware, javax.servlet.http.HttpServletRequest servletRequest, PageAwareHelper.ParameterSource parameterSource)
-
Constructor Details
-
PageAwareHelper
public PageAwareHelper(PageManager pageManager, ContentEntityManager contentEntityManager, PermissionManager permissionManager, SpaceManager spaceManager, ConfluenceWebResourceManager webResourceManager, CollaborativeEditingHelper collaborativeEditingHelper, AccessModeService accessModeService, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
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)
-