Class ODFRightHelper.ContextualizedPermissionContext

java.lang.Object
org.ametys.odf.rights.ODFRightHelper.ContextualizedPermissionContext
Enclosing class:
ODFRightHelper

Class representing the permission context for parents computation for a contextualized content. The permission context is composed by the initial content and a EducationalPath
  • Constructor Details

  • Method Details

    • getInitialContent

      Get the initial content
      Returns:
      the initial content
    • getEducationalPath

      Get the educational path in permission context
      Returns:
      the educational path
    • withEducationalPath

      public void withEducationalPath(EducationalPath educationalPath)
      Set an educational path. Only parent that part of this educational will be returned.
      Parameters:
      educationalPath - the educationa path