Interface Resource

    • Method Detail

      • getIdentifier

        URI getIdentifier()
        Returns:
        resource identifier
      • getType

        int getType()
        Returns:
        resource type
      • getProperty

        org.exoplatform.common.util.HierarchicalProperty getProperty​(QName name)
                                                              throws javax.jcr.PathNotFoundException,
                                                                     javax.jcr.AccessDeniedException,
                                                                     javax.jcr.RepositoryException
        Parameters:
        name - property name
        Returns:
        property by its name
        Throws:
        javax.jcr.PathNotFoundException - PathNotFoundException
        javax.jcr.AccessDeniedException - AccessDeniedException
        javax.jcr.RepositoryException - RepositoryException
      • getProperties

        Set<org.exoplatform.common.util.HierarchicalProperty> getProperties​(boolean namesOnly)
                                                                     throws javax.jcr.RepositoryException
        Parameters:
        namesOnly - - if true "empty" properties will be returned (w/o values inside)
        Returns:
        all properties belonging to this resource
        Throws:
        javax.jcr.RepositoryException - RepositoryException
      • isCollection

        boolean isCollection()
        Returns:
        true if this is collection-able resource - i.e. this resource may contain other resources
      • getNamespaceContext

        WebDavNamespaceContext getNamespaceContext()
        Returns:
        namespace context for this resource