Class LivelinkConnector.SystemMetadataDescription
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.livelink.LivelinkConnector.SystemMetadataDescription
-
- Enclosing class:
- LivelinkConnector
protected class LivelinkConnector.SystemMetadataDescription extends java.lang.ObjectClass that tracks paths associated with nodes, and also keeps track of the name of the metadata attribute to use for the path.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>aclMapprotected java.lang.StringfilterStringprotected java.util.Set<java.lang.String>holderprotected booleanincludeAllMetadataprotected LivelinkConnector.LivelinkContextllcprotected MatchMapmatchMapprotected java.lang.StringpathAttributeNameprotected java.util.Map<java.lang.String,java.lang.String>pathMapprotected java.lang.StringpathSeparatorprotected booleansecurityOn
-
Constructor Summary
Constructors Constructor Description SystemMetadataDescription(LivelinkConnector.LivelinkContext llc, org.apache.manifoldcf.core.interfaces.Specification spec)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getAcls()java.lang.StringgetFilterString()java.lang.StringgetMatchMapString()Get the matchmap string.java.lang.String[]getMetadataAttributes()java.lang.StringgetNodePathString(java.lang.String documentIdentifier)For a given node, get its path.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.StringgetPathSeparator()Get the path separator.booleanincludeAllMetadata()
-
-
-
Field Detail
-
llc
protected final LivelinkConnector.LivelinkContext llc
-
pathAttributeName
protected final java.lang.String pathAttributeName
-
pathSeparator
protected final java.lang.String pathSeparator
-
pathMap
protected final java.util.Map<java.lang.String,java.lang.String> pathMap
-
matchMap
protected final MatchMap matchMap
-
aclMap
protected final java.util.Set<java.lang.String> aclMap
-
securityOn
protected final boolean securityOn
-
filterString
protected final java.lang.String filterString
-
holder
protected final java.util.Set<java.lang.String> holder
-
includeAllMetadata
protected final boolean includeAllMetadata
-
-
Constructor Detail
-
SystemMetadataDescription
public SystemMetadataDescription(LivelinkConnector.LivelinkContext llc, org.apache.manifoldcf.core.interfaces.Specification spec) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption
Constructor- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
-
Method Detail
-
includeAllMetadata
public boolean includeAllMetadata()
-
getMetadataAttributes
public java.lang.String[] getMetadataAttributes()
-
getFilterString
public java.lang.String getFilterString()
-
getAcls
public java.lang.String[] getAcls()
-
getPathAttributeName
public java.lang.String getPathAttributeName()
Get the path attribute name.- Returns:
- the path attribute name, or null if none specified.
-
getPathSeparator
public java.lang.String getPathSeparator()
Get the path separator.
-
getPathAttributeValue
public java.lang.String getPathAttributeValue(java.lang.String documentIdentifier) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruptionGiven an identifier, get the translated string that goes into the metadata.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
getMatchMapString
public java.lang.String getMatchMapString()
Get the matchmap string.
-
getNodePathString
public java.lang.String getNodePathString(java.lang.String documentIdentifier) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruptionFor a given node, get its path.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
-