Interface ResourceHeaders


  • public interface ResourceHeaders
    Header information for fedora resources.
    Author:
    bbpennel
    • Method Detail

      • getId

        FedoraId getId()
        Get the identifier for the described resource.
        Returns:
        identifier for the resource.
      • getParent

        FedoraId getParent()
        Get the identifier of the parent of the resource
        Returns:
        identifier of the parent
      • getStateToken

        String getStateToken()
        Get the State Token value for the resource.
        Returns:
        state-token value
      • getInteractionModel

        String getInteractionModel()
        Get the interaction model for the resource
        Returns:
        interaction model URI
      • getMimeType

        String getMimeType()
        Get the mimetype describing the content contained by this resource
        Returns:
        mimetype
      • getFilename

        String getFilename()
        Get the filename for the content of this resource
        Returns:
        filename
      • getContentSize

        long getContentSize()
        Get the size in bytes of the content of this resource. May be -1 if the size is unknown or there is no content.
        Returns:
        size
      • getDigests

        Collection<URIgetDigests()
        Get the list of all digest URIs recorded for this resource
        Returns:
        digest URIs
      • getExternalUrl

        String getExternalUrl()
        Get the url of external content associated with this resource.
        Returns:
        external url
      • getExternalHandling

        String getExternalHandling()
        Get the handling type for external content associated with this resource.
        Returns:
        external handling value
      • getCreatedBy

        String getCreatedBy()
        Get the created by for the resource
        Returns:
        created by
      • getLastModifiedBy

        String getLastModifiedBy()
        Get the last modified by value for the resource
        Returns:
        last modified by
      • isArchivalGroup

        boolean isArchivalGroup()
        Determine whether a resource is an Archival Group
        Returns:
        Archival Group status
      • isObjectRoot

        boolean isObjectRoot()
        Determine whether a resource is the object root
        Returns:
      • isDeleted

        boolean isDeleted()
        Determine if the resource is now a tombstone.
        Returns:
        Deleted status.
      • getContentPath

        String getContentPath()
        Returns the path to the content file the resource headers are associated with
        Returns:
        path the content file