mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AR-380 - Export/Import of Forums/Discussions failed.
AR-395 - Provide abstract bean definition for DictionaryBootstrap Fix build issue; JCR Import failed due to recent extension config changes Fix issue in ISO9075 encoder; failed to encode colon properly meaning that Discussion Posts (with have colon seperated dates in their name) were not importing/exporting. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -67,6 +67,20 @@ public interface Exporter
|
||||
*/
|
||||
public void endNode(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Start export of node reference
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
*/
|
||||
public void startReference(NodeRef nodeRef, QName childName);
|
||||
|
||||
/**
|
||||
* End export of node reference
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
*/
|
||||
public void endReference(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Start export of aspects
|
||||
*
|
||||
@@ -97,15 +111,28 @@ public interface Exporter
|
||||
*/
|
||||
public void endAspects(NodeRef nodeRef);
|
||||
|
||||
|
||||
/**
|
||||
* Start export of ACL
|
||||
*
|
||||
* @param nodeRef for node reference
|
||||
*/
|
||||
public void startACL(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Export permission
|
||||
*
|
||||
* @param nodeRef for node reference
|
||||
* @param permission the permission
|
||||
*/
|
||||
public void permission(NodeRef nodeRef, AccessPermission permission);
|
||||
|
||||
/**
|
||||
* End export of ACL
|
||||
*
|
||||
* @param nodeRef for node reference
|
||||
*/
|
||||
public void endACL(NodeRef nodeRef);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Start export of properties
|
||||
*
|
||||
|
@@ -15,4 +15,6 @@ public interface ExporterContext
|
||||
|
||||
public NodeRef getExportOf();
|
||||
|
||||
public NodeRef getExportParent();
|
||||
|
||||
}
|
||||
|
@@ -32,6 +32,7 @@ public class ExporterCrawlerParameters
|
||||
private Location exportFrom = null;
|
||||
private boolean crawlSelf = false;
|
||||
private boolean crawlChildNodes = true;
|
||||
private boolean crawlAssociations = true;
|
||||
private boolean crawlContent = true;
|
||||
private boolean crawlNullProperties = true;
|
||||
private String[] excludeNamespaceURIs = new String[] { NamespaceService.REPOSITORY_VIEW_1_0_URI };
|
||||
@@ -57,6 +58,26 @@ public class ExporterCrawlerParameters
|
||||
this.crawlChildNodes = crawlChildNodes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Crawl and export associations
|
||||
*
|
||||
* @return true => crawl associations
|
||||
*/
|
||||
public boolean isCrawlAssociations()
|
||||
{
|
||||
return crawlAssociations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether to crawl associations
|
||||
*
|
||||
* @param crawlAssociations
|
||||
*/
|
||||
public void setCrawlAssociations(boolean crawlAssociations)
|
||||
{
|
||||
this.crawlAssociations = crawlAssociations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Crawl and export content properties
|
||||
*
|
||||
|
Reference in New Issue
Block a user