Package org.alfresco.service.cmr.view
Class ExporterCrawlerParameters
java.lang.Object
org.alfresco.service.cmr.view.ExporterCrawlerParameters
Exporter Crawler Configuration.
This class is used to specify which Repository items are exported.
- Author:
- David Caruana
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionQName[]Gets the list of Aspects to exclude from the ExportQName[]Gets the list of Child Associations to exclude from the ExportString[]Gets the list of namespace URIs to exlude from the ExportGets the path to export fromString[]Gets the list of included paths to explicitly include in the ExportGets the format of exported referencesbooleanCrawl and export associationsbooleanCrawl and export child nodesbooleanCrawl and export content propertiesbooleanCrawl and export null propertiesbooleanCrawl and export node at export pathvoidsetCrawlAssociations(boolean crawlAssociations) Sets whether to crawl associationsvoidsetCrawlChildNodes(boolean crawlChildNodes) Sets whether to crawl child nodesvoidsetCrawlContent(boolean crawlContent) Sets whether to crawl contentvoidsetCrawlNullProperties(boolean crawlNullProperties) Sets whether to crawl null propertiesvoidsetCrawlSelf(boolean crawlSelf) Sets whether to crawl and export node at export pathvoidsetExcludeAspects(QName[] excludeAspects) Sets the list of Aspects to exclude from the ExportvoidsetExcludeChildAssocs(QName[] excludeChildAssocs) Sets the list of Child Associations to exclude from the ExportvoidsetExcludeNamespaceURIs(String[] excludeNamespaceURIs) Sets the list of namespace URIs to exclude from the ExportvoidsetExportFrom(Location exportFrom) Sets the path to export fromvoidsetIncludedPaths(String[] includedPaths) Sets the list of included paths to explicitly include in the ExportvoidsetReferenceType(ReferenceType referenceType) Sets the format of exported references (child and association references)
-
Constructor Details
-
ExporterCrawlerParameters
public ExporterCrawlerParameters()
-
-
Method Details
-
isCrawlChildNodes
public boolean isCrawlChildNodes()Crawl and export child nodes- Returns:
- true => crawl child nodes
-
setCrawlChildNodes
public void setCrawlChildNodes(boolean crawlChildNodes) Sets whether to crawl child nodes- Parameters:
crawlChildNodes- boolean
-
isCrawlAssociations
public boolean isCrawlAssociations()Crawl and export associations- Returns:
- true => crawl associations
-
setCrawlAssociations
public void setCrawlAssociations(boolean crawlAssociations) Sets whether to crawl associations- Parameters:
crawlAssociations- boolean
-
isCrawlContent
public boolean isCrawlContent()Crawl and export content properties- Returns:
- true => crawl content
-
setCrawlContent
public void setCrawlContent(boolean crawlContent) Sets whether to crawl content- Parameters:
crawlContent- boolean
-
isCrawlSelf
public boolean isCrawlSelf()Crawl and export node at export path- Returns:
- true => crawl node at export path
-
setCrawlSelf
public void setCrawlSelf(boolean crawlSelf) Sets whether to crawl and export node at export path- Parameters:
crawlSelf- boolean
-
isCrawlNullProperties
public boolean isCrawlNullProperties()Crawl and export null properties- Returns:
- true => export null properties
-
setCrawlNullProperties
public void setCrawlNullProperties(boolean crawlNullProperties) Sets whether to crawl null properties- Parameters:
crawlNullProperties- boolean
-
getExcludeNamespaceURIs
Gets the list of namespace URIs to exlude from the Export- Returns:
- the list of namespace URIs
-
setExcludeNamespaceURIs
Sets the list of namespace URIs to exclude from the Export- Parameters:
excludeNamespaceURIs- String[]
-
getExcludeAspects
Gets the list of Aspects to exclude from the Export- Returns:
- the list of Aspects
-
setExcludeAspects
Sets the list of Aspects to exclude from the Export- Parameters:
excludeAspects- QName[]
-
getExcludeChildAssocs
Gets the list of Child Associations to exclude from the Export- Returns:
- the list of child assocs
-
setExcludeChildAssocs
Sets the list of Child Associations to exclude from the Export- Parameters:
excludeChildAssocs- QName[]
-
getIncludedPaths
Gets the list of included paths to explicitly include in the Export- Returns:
- the list of included paths
-
setIncludedPaths
Sets the list of included paths to explicitly include in the Export- Parameters:
includedPaths- String[]
-
getExportFrom
Gets the path to export from- Returns:
- the path to export from
-
setExportFrom
Sets the path to export from- Parameters:
exportFrom- Location
-
getReferenceType
Gets the format of exported references- Returns:
- reference type
-
setReferenceType
Sets the format of exported references (child and association references)- Parameters:
referenceType- type
-