Interface RightAssignmentContext

    • Method Detail

      • isPrivate

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

        Object convertJSContext​(Object jsContext)
        From a JavaScript context object, converts it into a Java object
        Parameters:
        jsContext - the JS context object
        Returns:
        the Java object
      • getContextIdentifier

        String getContextIdentifier​(Object context)
        Gets the identifier of the object context
        Parameters:
        context - The object context
        Returns:
        the identifier of the object context
      • getParentContexts

        Set<ObjectgetParentContexts​(Object context)
        Get the parent contexts of the object context
        Parameters:
        context - The object context
        Returns:
        The parents if exist or null otherwise
      • getRootContexts

        List<ObjectgetRootContexts​(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