Class SharePointRepository.SystemMetadataDescription
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointRepository.SystemMetadataDescription
-
- Enclosing class:
- SharePointRepository
protected class SharePointRepository.SystemMetadataDescription extends java.lang.ObjectClass that tracks paths associated with id's, and the name of the metadata attribute to use for the path.
-
-
Field Summary
Fields Modifier and Type Field Description protected MatchMapmatchMapprotected java.lang.StringpathAttributeName
-
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.StringgetPathAttributeName()Get the path attribute name.java.lang.StringgetPathAttributeValue(java.lang.String documentIdentifier)Given an identifier, get the translated string that goes into the metadata.java.lang.StringgetPathString(java.lang.String documentIdentifier)For a given id, get the portion of its path which the mapping and ingestion should go against.
-
-
-
Field Detail
-
pathAttributeName
protected final java.lang.String pathAttributeName
-
matchMap
protected final MatchMap matchMap
-
-
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.ManifoldCFExceptionGiven 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.ManifoldCFExceptionFor 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
-
-