Class SharePointRepository.SystemMetadataDescription

  • Enclosing class:
    SharePointRepository

    protected class SharePointRepository.SystemMetadataDescription
    extends java.lang.Object
    Class that tracks paths associated with id's, and the name of the metadata attribute to use for the path.
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemMetadataDescription​(org.apache.manifoldcf.core.interfaces.Specification spec)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPathAttributeName()
      Get the path attribute name.
      java.lang.String getPathAttributeValue​(java.lang.String documentIdentifier)
      Given an identifier, get the translated string that goes into the metadata.
      java.lang.String getPathString​(java.lang.String documentIdentifier)
      For a given id, get the portion of its path which the mapping and ingestion should go against.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pathAttributeName

        protected final java.lang.String pathAttributeName
      • matchMap

        protected final MatchMap matchMap
    • Constructor Detail

      • SystemMetadataDescription

        public SystemMetadataDescription​(org.apache.manifoldcf.core.interfaces.Specification spec)
                                  throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Constructor
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
    • Method Detail

      • getPathAttributeName

        public java.lang.String getPathAttributeName()
        Get the path attribute name.
        Returns:
        the path attribute name, or null if none specified.
      • getPathAttributeValue

        public java.lang.String getPathAttributeValue​(java.lang.String documentIdentifier)
                                               throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Given an identifier, get the translated string that goes into the metadata.
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getPathString

        public java.lang.String getPathString​(java.lang.String documentIdentifier)
                                       throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        For a given id, get the portion of its path which the mapping and ingestion should go against. Effectively this should include the whole identifer, so this is easy to calculate.
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException