Interface RightAssignmentContext

All Superinterfaces:
ClientSideElement
All Known Implementing Classes:
AbstractStaticRightAssignmentContext, CartRightAssignmentContext, ContentRightAssignmentContext, ContentTypeRightAssignmentContext, ExtractionRightAssignmentContext, FormsDirectoryRightAssignmentContext, LinkDirectoryRightAssignmentContext, ODFRightAssignmentContext, PageRightAssignmentContext, QueriesDirectoryRightAssignmentContext, ReferenceTableRightAssignmentContext, ResourceRightAssignmentContext, StringRightAssignmentContext, SurveyRightAssignmentContext, SynchronizeContentRightAssignmentContext, UserDirectoryRightAssignmentContext, WebContentTypeRightAssignmentContext, WebReferenceTableRightAssignmentContext, WebStringRightAssignmentContext

public interface RightAssignmentContext extends ClientSideElement
This interface represents a context of right assignment
  • Method Details

    • isPrivate

      boolean isPrivate()
      Determines if this rights assignment context is a private context
      Returns:
      true if is private
    • convertJSContext

      From a JavaScript context object, converts it into a Java object
      Parameters:
      jsContext - the JS context object
      Returns:
      the Java object
    • getContextIdentifier

      Gets the identifier of the object context
      Parameters:
      context - The object context
      Returns:
      the identifier of the object context
    • getParentContexts

      Get the parent contexts of the object context
      Parameters:
      context - The object context
      Returns:
      The parents if exist or null otherwise
    • getRootContexts

      List<Object> getRootContexts(Map<String,Object> contextParameters)
      Get the list of root contexts if the current workspace matches the allowed workspace
      Parameters:
      contextParameters - The contextual parameters
      Returns:
      The root context object in a list