Package org.alfresco.service.cmr.view
Class ExporterCrawlerParameters
- java.lang.Object
-
- org.alfresco.service.cmr.view.ExporterCrawlerParameters
-
public class ExporterCrawlerParameters extends java.lang.ObjectExporter Crawler Configuration. This class is used to specify which Repository items are exported.- Author:
- David Caruana
-
-
Constructor Summary
Constructors Constructor Description ExporterCrawlerParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.namespace.QName[]getExcludeAspects()Gets the list of Aspects to exclude from the Exportorg.alfresco.service.namespace.QName[]getExcludeChildAssocs()Gets the list of Child Associations to exclude from the Exportjava.lang.String[]getExcludeNamespaceURIs()Gets the list of namespace URIs to exlude from the ExportLocationgetExportFrom()Gets the path to export fromjava.lang.String[]getIncludedPaths()Gets the list of included paths to explicitly include in the ExportReferenceTypegetReferenceType()Gets the format of exported referencesbooleanisCrawlAssociations()Crawl and export associationsbooleanisCrawlChildNodes()Crawl and export child nodesbooleanisCrawlContent()Crawl and export content propertiesbooleanisCrawlNullProperties()Crawl and export null propertiesbooleanisCrawlSelf()Crawl 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(org.alfresco.service.namespace.QName[] excludeAspects)Sets the list of Aspects to exclude from the ExportvoidsetExcludeChildAssocs(org.alfresco.service.namespace.QName[] excludeChildAssocs)Sets the list of Child Associations to exclude from the ExportvoidsetExcludeNamespaceURIs(java.lang.String[] excludeNamespaceURIs)Sets the list of namespace URIs to exclude from the ExportvoidsetExportFrom(Location exportFrom)Sets the path to export fromvoidsetIncludedPaths(java.lang.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)
-
-
-
Method Detail
-
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
public java.lang.String[] getExcludeNamespaceURIs()
Gets the list of namespace URIs to exlude from the Export- Returns:
- the list of namespace URIs
-
setExcludeNamespaceURIs
public void setExcludeNamespaceURIs(java.lang.String[] excludeNamespaceURIs)
Sets the list of namespace URIs to exclude from the Export- Parameters:
excludeNamespaceURIs- String[]
-
getExcludeAspects
public org.alfresco.service.namespace.QName[] getExcludeAspects()
Gets the list of Aspects to exclude from the Export- Returns:
- the list of Aspects
-
setExcludeAspects
public void setExcludeAspects(org.alfresco.service.namespace.QName[] excludeAspects)
Sets the list of Aspects to exclude from the Export- Parameters:
excludeAspects- QName[]
-
getExcludeChildAssocs
public org.alfresco.service.namespace.QName[] getExcludeChildAssocs()
Gets the list of Child Associations to exclude from the Export- Returns:
- the list of child assocs
-
setExcludeChildAssocs
public void setExcludeChildAssocs(org.alfresco.service.namespace.QName[] excludeChildAssocs)
Sets the list of Child Associations to exclude from the Export- Parameters:
excludeChildAssocs- QName[]
-
getIncludedPaths
public java.lang.String[] getIncludedPaths()
Gets the list of included paths to explicitly include in the Export- Returns:
- the list of included paths
-
setIncludedPaths
public void setIncludedPaths(java.lang.String[] includedPaths)
Sets the list of included paths to explicitly include in the Export- Parameters:
includedPaths- String[]
-
getExportFrom
public Location getExportFrom()
Gets the path to export from- Returns:
- the path to export from
-
setExportFrom
public void setExportFrom(Location exportFrom)
Sets the path to export from- Parameters:
exportFrom- Location
-
getReferenceType
public ReferenceType getReferenceType()
Gets the format of exported references- Returns:
- reference type
-
setReferenceType
public void setReferenceType(ReferenceType referenceType)
Sets the format of exported references (child and association references)- Parameters:
referenceType- type
-
-