pathMappings;
@XmlAttribute(required = true)
protected String name;
+ /**
+ * Gets the value of the pathMappings property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set
method for the pathMappings property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getPathMappings().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link PathMappings }
+ *
+ *
+ */
+ public List getPathMappings() {
+ if (pathMappings == null) {
+ pathMappings = new ArrayList();
+ }
+ return this.pathMappings;
+ }
+
/**
* Gets the value of the name property.
*
diff --git a/source/java/org/alfresco/repo/audit/model/_3/Audit.java b/source/java/org/alfresco/repo/audit/model/_3/Audit.java
index 4d45ea6ba3..2b97166c07 100644
--- a/source/java/org/alfresco/repo/audit/model/_3/Audit.java
+++ b/source/java/org/alfresco/repo/audit/model/_3/Audit.java
@@ -21,6 +21,7 @@ import javax.xml.bind.annotation.XmlType;
* <sequence>
* <element name="DataExtractors" type="{http://www.alfresco.org/repo/audit/model/3.2}DataExtractors" minOccurs="0"/>
* <element name="DataGenerators" type="{http://www.alfresco.org/repo/audit/model/3.2}DataGenerators" minOccurs="0"/>
+ * <element name="PathMappings" type="{http://www.alfresco.org/repo/audit/model/3.2}PathMappings" minOccurs="0"/>
* <element name="Application" type="{http://www.alfresco.org/repo/audit/model/3.2}Application" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
@@ -34,6 +35,7 @@ import javax.xml.bind.annotation.XmlType;
@XmlType(name = "Audit", propOrder = {
"dataExtractors",
"dataGenerators",
+ "pathMappings",
"application"
})
public class Audit {
@@ -42,6 +44,8 @@ public class Audit {
protected DataExtractors dataExtractors;
@XmlElement(name = "DataGenerators")
protected DataGenerators dataGenerators;
+ @XmlElement(name = "PathMappings")
+ protected PathMappings pathMappings;
@XmlElement(name = "Application")
protected List application;
@@ -93,6 +97,30 @@ public class Audit {
this.dataGenerators = value;
}
+ /**
+ * Gets the value of the pathMappings property.
+ *
+ * @return
+ * possible object is
+ * {@link PathMappings }
+ *
+ */
+ public PathMappings getPathMappings() {
+ return pathMappings;
+ }
+
+ /**
+ * Sets the value of the pathMappings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PathMappings }
+ *
+ */
+ public void setPathMappings(PathMappings value) {
+ this.pathMappings = value;
+ }
+
/**
* Gets the value of the application property.
*
diff --git a/source/java/org/alfresco/repo/audit/model/_3/ObjectFactory.java b/source/java/org/alfresco/repo/audit/model/_3/ObjectFactory.java
index 72c534043c..e5d10ed115 100644
--- a/source/java/org/alfresco/repo/audit/model/_3/ObjectFactory.java
+++ b/source/java/org/alfresco/repo/audit/model/_3/ObjectFactory.java
@@ -33,14 +33,6 @@ public class ObjectFactory {
public ObjectFactory() {
}
- /**
- * Create an instance of {@link RecordValue }
- *
- */
- public RecordValue createRecordValue() {
- return new RecordValue();
- }
-
/**
* Create an instance of {@link DataExtractor }
*
@@ -57,6 +49,14 @@ public class ObjectFactory {
return new Audit();
}
+ /**
+ * Create an instance of {@link DataExtractors }
+ *
+ */
+ public DataExtractors createDataExtractors() {
+ return new DataExtractors();
+ }
+
/**
* Create an instance of {@link AuditPath }
*
@@ -66,19 +66,11 @@ public class ObjectFactory {
}
/**
- * Create an instance of {@link DataGenerator }
+ * Create an instance of {@link PathMap }
*
*/
- public DataGenerator createDataGenerator() {
- return new DataGenerator();
- }
-
- /**
- * Create an instance of {@link DataGenerators }
- *
- */
- public DataGenerators createDataGenerators() {
- return new DataGenerators();
+ public PathMap createPathMap() {
+ return new PathMap();
}
/**
@@ -89,6 +81,22 @@ public class ObjectFactory {
return new KeyedAuditDefinition();
}
+ /**
+ * Create an instance of {@link PathMappings }
+ *
+ */
+ public PathMappings createPathMappings() {
+ return new PathMappings();
+ }
+
+ /**
+ * Create an instance of {@link DataGenerator }
+ *
+ */
+ public DataGenerator createDataGenerator() {
+ return new DataGenerator();
+ }
+
/**
* Create an instance of {@link Application }
*
@@ -97,6 +105,14 @@ public class ObjectFactory {
return new Application();
}
+ /**
+ * Create an instance of {@link DataGenerators }
+ *
+ */
+ public DataGenerators createDataGenerators() {
+ return new DataGenerators();
+ }
+
/**
* Create an instance of {@link GenerateValue }
*
@@ -106,11 +122,11 @@ public class ObjectFactory {
}
/**
- * Create an instance of {@link DataExtractors }
+ * Create an instance of {@link RecordValue }
*
*/
- public DataExtractors createDataExtractors() {
- return new DataExtractors();
+ public RecordValue createRecordValue() {
+ return new RecordValue();
}
/**
diff --git a/source/java/org/alfresco/repo/audit/model/_3/PathMap.java b/source/java/org/alfresco/repo/audit/model/_3/PathMap.java
new file mode 100644
index 0000000000..483dcb5928
--- /dev/null
+++ b/source/java/org/alfresco/repo/audit/model/_3/PathMap.java
@@ -0,0 +1,85 @@
+
+package org.alfresco.repo.audit.model._3;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Java class for PathMap complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="PathMap">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="source" use="required" type="{http://www.alfresco.org/repo/audit/model/3.2}PathAttribute" />
+ * <attribute name="target" use="required" type="{http://www.alfresco.org/repo/audit/model/3.2}PathAttribute" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PathMap")
+public class PathMap {
+
+ @XmlAttribute(required = true)
+ protected String source;
+ @XmlAttribute(required = true)
+ protected String target;
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+}
diff --git a/source/java/org/alfresco/repo/audit/model/_3/PathMappings.java b/source/java/org/alfresco/repo/audit/model/_3/PathMappings.java
new file mode 100644
index 0000000000..155b22eee0
--- /dev/null
+++ b/source/java/org/alfresco/repo/audit/model/_3/PathMappings.java
@@ -0,0 +1,69 @@
+
+package org.alfresco.repo.audit.model._3;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Java class for PathMappings complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="PathMappings">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="PathMap" type="{http://www.alfresco.org/repo/audit/model/3.2}PathMap" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PathMappings", propOrder = {
+ "pathMap"
+})
+public class PathMappings {
+
+ @XmlElement(name = "PathMap")
+ protected List pathMap;
+
+ /**
+ * Gets the value of the pathMap property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set
method for the pathMap property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getPathMap().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link PathMap }
+ *
+ *
+ */
+ public List getPathMap() {
+ if (pathMap == null) {
+ pathMap = new ArrayList();
+ }
+ return this.pathMap;
+ }
+
+}
diff --git a/source/test-resources/alfresco/audit/alfresco-audit-test.xml b/source/test-resources/alfresco/audit/alfresco-audit-test.xml
index ac19fc5be1..4fee4a1ce7 100644
--- a/source/test-resources/alfresco/audit/alfresco-audit-test.xml
+++ b/source/test-resources/alfresco/audit/alfresco-audit-test.xml
@@ -19,6 +19,13 @@
+
+
+
+
+
+
+