erged conflicts
This commit is contained in:
@ -26,9 +26,3 @@ public class PortInformation {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* History:
|
||||
*
|
||||
* $$Log$$
|
||||
*
|
||||
*/
|
||||
|
||||
@ -1,317 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>de.muehlencord.shared</groupId>
|
||||
<artifactId>shared-sharepoint</artifactId>
|
||||
<version>1.2-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>de.muehlencord.shared.sharepoint</groupId>
|
||||
<artifactId>sharepoint-api</artifactId>
|
||||
|
||||
|
||||
<name>shared-sharepoint-api</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- convert wsdl to object -->
|
||||
<plugin>
|
||||
<groupId>com.helger.maven</groupId>
|
||||
<artifactId>jaxws-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>authentication2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.authentication</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>authentication.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>alerts2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.alerts</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>alerts.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>sites2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.sites</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>sites.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>webs2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.webs</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>webs.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>lists2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.lists</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>lists.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>search2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.search</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>search.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>usergroup2010</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wsimport</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<packageName>com.microsoft.schemas.sharepoint.soap.usergroup</packageName>
|
||||
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
||||
<wsdlFiles>
|
||||
<wsdlFile>usergroup.wsdl</wsdlFile>
|
||||
</wsdlFiles>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
<extension>true</extension>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>javax.annotation-api</artifactId>
|
||||
<version>1.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.ws</groupId>
|
||||
<artifactId>jaxws-api</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.jws</groupId>
|
||||
<artifactId>javax.jws-api</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
|
||||
<!-- Maven jaxb2 plugin - invoke the xjc compiler to compile XML schema into Java classes. -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>jaxb2-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<quiet>false</quiet>
|
||||
<verbose>true</verbose>
|
||||
<clearOutputDir>false</clearOutputDir> <!-- do not set to true, multiple executions into same dir -->
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<!-- sharepoint batch definition for updating lists etc. -->
|
||||
<execution>
|
||||
<id>batch</id>
|
||||
<goals>
|
||||
<goal>xjc</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- The package in which the source files will be generated. -->
|
||||
<packageName>de.muehlencord.shared.sharepoint.api.batch</packageName>
|
||||
<!-- The working directory to create the generated java source files. -->
|
||||
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
|
||||
<removeOldOutput>true</removeOldOutput>
|
||||
<sources>
|
||||
<source>src/main/resources/xsd/dummy.xsd</source>
|
||||
<source>src/main/resources/xsd/batch.xsd</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<!-- lists definition, returned by sharepoint when execute a query on a lists -->
|
||||
<execution>
|
||||
<id>lists</id>
|
||||
<goals>
|
||||
<goal>xjc</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- The package in which the source files will be generated. -->
|
||||
<packageName>de.muehlencord.shared.sharepoint.api.lists</packageName>
|
||||
<!-- The working directory to create the generated java source files. -->
|
||||
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
|
||||
<removeOldOutput>true</removeOldOutput>
|
||||
<sources>
|
||||
<source>${basedir}/src/main/resources/xsd/lists.xsd</source>
|
||||
</sources>
|
||||
<clearOutputDir>false</clearOutputDir>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<!-- user/group definition, returned by sharepoint when calling usergroup service -->
|
||||
<execution>
|
||||
<id>usergroup2010</id>
|
||||
<goals>
|
||||
<goal>xjc</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- The package in which the source files will be generated. -->
|
||||
<packageName>de.muehlencord.shared.sharepoint.api.usergroup</packageName>
|
||||
<!-- The working directory to create the generated java source files. -->
|
||||
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
|
||||
<removeOldOutput>true</removeOldOutput>
|
||||
<extension>true</extension>
|
||||
<sources>
|
||||
<source>${basedir}/src/main/resources/xsd/usergroup.xsd</source>
|
||||
</sources>
|
||||
<clearOutputDir>false</clearOutputDir>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.glassfish.jaxb</groupId>
|
||||
<artifactId>jaxb-xjc</artifactId>
|
||||
<version>2.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.activation</groupId>
|
||||
<artifactId>jakarta.activation</artifactId>
|
||||
<version>1.2.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.muehlencord.shared</groupId>
|
||||
<artifactId>shared-util</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- javax libraries removed from JDK9 and later -->
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.xml.bind</groupId>
|
||||
<artifactId>jaxb-core</artifactId>
|
||||
<version>2.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.xml.bind</groupId>
|
||||
<artifactId>jaxb-impl</artifactId>
|
||||
<version>2.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.activation</groupId>
|
||||
<artifactId>jakarta.activation</artifactId>
|
||||
<version>1.2.1</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -1,49 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.net.Authenticator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class AbstractAuthenticator extends Authenticator {
|
||||
|
||||
String domain;
|
||||
String user;
|
||||
String password;
|
||||
|
||||
public AbstractAuthenticator(String user, String password) {
|
||||
super();
|
||||
this.domain = null;
|
||||
this.user = user;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public AbstractAuthenticator(String domain, String user, String password) {
|
||||
super();
|
||||
this.domain = domain;
|
||||
this.user = user;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getDomain() {
|
||||
return domain;
|
||||
}
|
||||
|
||||
public String getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
String userName = user;
|
||||
if (domain != null && !domain.isEmpty()) {
|
||||
userName = domain + "\\" + user;
|
||||
}
|
||||
return userName;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,40 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.StringReader;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.parsers.DocumentBuilder;
|
||||
import javax.xml.parsers.DocumentBuilderFactory;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Node;
|
||||
import org.xml.sax.InputSource;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public abstract class AbstractSpJaxbObject extends SPObject {
|
||||
|
||||
public AbstractSpJaxbObject(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public static Node createSharePointCAMLNode(String xmlString) throws ParserConfigurationException, SAXException, IOException, JAXBException {
|
||||
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
|
||||
documentBuilderFactory.setValidating(false);
|
||||
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
|
||||
Document document = documentBuilder.parse(new InputSource(new StringReader(xmlString)));
|
||||
Node node = document.getDocumentElement();
|
||||
return node;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* History:
|
||||
*
|
||||
* $$Log$$
|
||||
*
|
||||
*/
|
||||
@ -1,24 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.net.PasswordAuthentication;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class NtlmAuthenticator extends AbstractAuthenticator {
|
||||
|
||||
public NtlmAuthenticator(String user, String password) {
|
||||
super(user, password);
|
||||
}
|
||||
|
||||
public NtlmAuthenticator(String domain, String user, String password) {
|
||||
super(domain, user, password);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PasswordAuthentication getPasswordAuthentication() {
|
||||
return new PasswordAuthentication(getUserName(), password.toCharArray());
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,82 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.net.Authenticator;
|
||||
import java.net.URL;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.cert.X509Certificate;
|
||||
import javax.net.ssl.HttpsURLConnection;
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.TrustManager;
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPContext {
|
||||
|
||||
private URL siteURL;
|
||||
private AbstractAuthenticator authenticator;
|
||||
private SPVersion spVersion;
|
||||
private boolean trustAllCerts;
|
||||
|
||||
public SPContext(URL siteURL, AbstractAuthenticator authenticator, SPVersion spVersion) throws NoSuchAlgorithmException, KeyManagementException {
|
||||
this.siteURL = siteURL;
|
||||
this.authenticator = authenticator;
|
||||
this.spVersion = spVersion;
|
||||
this.trustAllCerts = false;
|
||||
configure();
|
||||
}
|
||||
|
||||
public SPContext(URL siteURL, AbstractAuthenticator authenticator, SPVersion spVersion, boolean trustAllCerts) throws NoSuchAlgorithmException, KeyManagementException {
|
||||
this.siteURL = siteURL;
|
||||
this.authenticator = authenticator;
|
||||
this.spVersion = spVersion;
|
||||
this.trustAllCerts = trustAllCerts;
|
||||
configure();
|
||||
}
|
||||
|
||||
private void configure() throws NoSuchAlgorithmException, KeyManagementException {
|
||||
Authenticator.setDefault(authenticator);
|
||||
// allow SSL connections, even if SSL chain is not complete
|
||||
// e.g. needed for self signed certificates
|
||||
// TODO create documentation how to install this cert into the java certificate chain.
|
||||
if (trustAllCerts) {
|
||||
// Trust all SSLs, create a trust manager that does not validate certificate chains
|
||||
TrustManager[] trustManager = new TrustManager[]{new X509TrustManager() {
|
||||
@Override
|
||||
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkClientTrusted(X509Certificate[] certs, String authType) {
|
||||
// trust all SSLs, do not check
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkServerTrusted(X509Certificate[] certs, String authType) {
|
||||
// trust all SSLs, do not check
|
||||
}
|
||||
}};
|
||||
// Install the all-trusting trust manager
|
||||
SSLContext sc = SSLContext.getInstance("SSL");
|
||||
sc.init(null, trustManager, new java.security.SecureRandom());
|
||||
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
|
||||
}
|
||||
}
|
||||
|
||||
public URL getSiteURL() {
|
||||
return siteURL;
|
||||
}
|
||||
|
||||
public AbstractAuthenticator getAuthenticator() {
|
||||
return authenticator;
|
||||
}
|
||||
|
||||
public SPVersion getSpVersion() {
|
||||
return spVersion;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPHelper {
|
||||
|
||||
/* -- Format for Date Only Field -- */
|
||||
public static synchronized String toSPDate(Date d) {
|
||||
SimpleDateFormat dateOnlyFormat = new SimpleDateFormat("yyyy-MM-dd");
|
||||
if (d == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
return dateOnlyFormat.format(d);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,140 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.StringReader;
|
||||
import java.io.StringWriter;
|
||||
import java.util.List;
|
||||
import javax.xml.XMLConstants;
|
||||
import javax.xml.bind.JAXBContext;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.bind.Marshaller;
|
||||
import javax.xml.bind.Unmarshaller;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import javax.xml.transform.stream.StreamSource;
|
||||
import javax.xml.validation.Schema;
|
||||
import javax.xml.validation.SchemaFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.w3c.dom.Node;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
* @param <T>
|
||||
*/
|
||||
public abstract class SPJaxbObject<T> extends AbstractSpJaxbObject {
|
||||
|
||||
/** the logging object. */
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(SPJaxbObject.class);
|
||||
|
||||
/**
|
||||
* list of packages to search in
|
||||
*/
|
||||
private final static String packages = "" //
|
||||
+ "de.muehlencord.shared.sharepoint.api.batch" //
|
||||
+ ":de.muehlencord.shared.sharepoint.api.lists" //
|
||||
+ ":de.muehlencord.shared.sharepoint.api.usergroup"; //
|
||||
|
||||
/** the JAX-B context to use */
|
||||
private static volatile JAXBContext jaxbContext = null;
|
||||
|
||||
/** the value object */
|
||||
protected T value;
|
||||
/** the class type of the object */
|
||||
protected Class<T> cl;
|
||||
|
||||
/**
|
||||
* returns the jax-b context.
|
||||
* @return the jax-b context.
|
||||
* @throws JAXBException if the context cannot be obtained.
|
||||
*/
|
||||
public static JAXBContext getJaxbContext() throws JAXBException {
|
||||
if (jaxbContext == null) {
|
||||
jaxbContext = JAXBContext.newInstance(packages);
|
||||
}
|
||||
return jaxbContext;
|
||||
}
|
||||
|
||||
|
||||
public SPJaxbObject(Class<T> cl, SPContext context) throws JAXBException {
|
||||
super(context);
|
||||
this.cl = cl;
|
||||
this.value = null;
|
||||
}
|
||||
|
||||
protected abstract List<String> getSchemaLocation();
|
||||
|
||||
protected Schema getSchema() throws SAXException {
|
||||
List<String> schemaLocations = getSchemaLocation();
|
||||
if ((schemaLocations == null) || (schemaLocations.isEmpty())) {
|
||||
// if instance has no schema available, it is not possible to parse against
|
||||
return null;
|
||||
}
|
||||
|
||||
Schema schema = null;
|
||||
try {
|
||||
SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
|
||||
StreamSource[] streamSources = new StreamSource[schemaLocations.size()];
|
||||
for (int i = 0; i < schemaLocations.size(); i++) {
|
||||
String sourceString = schemaLocations.get(i);
|
||||
InputStream is = SPJaxbObject.class.getResourceAsStream(sourceString);
|
||||
StreamSource streamSource = new StreamSource(is);
|
||||
streamSources[i] = streamSource;
|
||||
}
|
||||
schema = sf.newSchema(streamSources);
|
||||
} catch (Exception ex) {
|
||||
throw new SAXException("Cannot convert to object. Reason: " + ex.getMessage(), ex);
|
||||
}
|
||||
return schema;
|
||||
}
|
||||
|
||||
public void setValue(String valueString) throws JAXBException, SAXException {
|
||||
SPJaxbObject.getJaxbContext();
|
||||
Schema schema = getSchema();
|
||||
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
|
||||
if (schema != null) {
|
||||
unmarshaller.setSchema(schema);
|
||||
unmarshaller.setEventHandler(new SPValidationEventHandler());
|
||||
}
|
||||
StringReader reader = new StringReader(valueString);
|
||||
value = (T) unmarshaller.unmarshal(reader);
|
||||
}
|
||||
|
||||
public void setValue(T value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValueXmlString() throws JAXBException, SAXException {
|
||||
SPJaxbObject.getJaxbContext();
|
||||
Schema schema = getSchema();
|
||||
Marshaller marshaller = jaxbContext.createMarshaller();
|
||||
if (schema != null) {
|
||||
marshaller.setSchema(schema);
|
||||
marshaller.setEventHandler(new SPValidationEventHandler());
|
||||
}
|
||||
StringWriter writer = new StringWriter();
|
||||
marshaller.marshal(getValue(), writer);
|
||||
|
||||
return writer.toString();
|
||||
}
|
||||
|
||||
public Node createSharePointCAMLNode() throws ParserConfigurationException, SAXException, IOException, JAXBException {
|
||||
String xmlString = getValueXmlString();
|
||||
return AbstractSpJaxbObject.createSharePointCAMLNode(xmlString);
|
||||
}
|
||||
|
||||
protected T getValue() {
|
||||
if (value == null) {
|
||||
try {
|
||||
value = cl.newInstance();
|
||||
} catch (InstantiationException | IllegalAccessException ex) {
|
||||
LOGGER.debug (ex.toString(), ex);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,93 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.io.StringWriter;
|
||||
import javax.xml.transform.OutputKeys;
|
||||
import javax.xml.transform.Transformer;
|
||||
import javax.xml.transform.TransformerException;
|
||||
import javax.xml.transform.TransformerFactory;
|
||||
import javax.xml.transform.dom.DOMSource;
|
||||
import javax.xml.transform.stream.StreamResult;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public abstract class SPObject {
|
||||
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(SPObject.class.getName());
|
||||
|
||||
private SPContext context;
|
||||
|
||||
public SPObject(SPContext context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public SPContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a string from an XML file with start and end indicators
|
||||
*
|
||||
* @param docToString document to convert
|
||||
* @return string of the xml document
|
||||
*/
|
||||
public static String xmlToString(Document docToString) {
|
||||
String returnString = "";
|
||||
try {
|
||||
//create string from xml tree
|
||||
//Output the XML
|
||||
//set up a transformer
|
||||
TransformerFactory transfac = TransformerFactory.newInstance();
|
||||
Transformer trans;
|
||||
trans = transfac.newTransformer();
|
||||
trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
|
||||
trans.setOutputProperty(OutputKeys.INDENT, "yes");
|
||||
StringWriter sw = new StringWriter();
|
||||
StreamResult streamResult = new StreamResult(sw);
|
||||
DOMSource source = new DOMSource(docToString);
|
||||
trans.transform(source, streamResult);
|
||||
String xmlString = sw.toString();
|
||||
//print the XML
|
||||
returnString = returnString + xmlString;
|
||||
} catch (TransformerException ex) {
|
||||
LOGGER.error (ex.toString(), ex);
|
||||
}
|
||||
return returnString;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a string from an XML file with start and end indicators
|
||||
*
|
||||
* @param node node to convert
|
||||
* @return string of the xml document
|
||||
*/
|
||||
public static String xmlToString(Node node) {
|
||||
String returnString = "";
|
||||
try {
|
||||
//create string from xml tree
|
||||
//Output the XML
|
||||
//set up a transformer
|
||||
TransformerFactory transfac = TransformerFactory.newInstance();
|
||||
Transformer trans;
|
||||
trans = transfac.newTransformer();
|
||||
trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
|
||||
trans.setOutputProperty(OutputKeys.INDENT, "yes");
|
||||
StringWriter sw = new StringWriter();
|
||||
StreamResult streamResult = new StreamResult(sw);
|
||||
DOMSource source = new DOMSource(node);
|
||||
trans.transform(source, streamResult);
|
||||
String xmlString = sw.toString();
|
||||
//print the XML
|
||||
returnString = returnString + xmlString;
|
||||
} catch (TransformerException ex) {
|
||||
LOGGER.error (ex.toString(), ex);
|
||||
}
|
||||
return returnString;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import javax.xml.bind.ValidationEvent;
|
||||
import javax.xml.bind.ValidationEventHandler;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPValidationEventHandler implements ValidationEventHandler {
|
||||
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(SPValidationEventHandler.class);
|
||||
|
||||
@Override
|
||||
public boolean handleEvent(ValidationEvent event) {
|
||||
|
||||
if (event == null) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
||||
LOGGER.error("\nEVENT");
|
||||
LOGGER.error("SEVERITY: " + event.getSeverity());
|
||||
LOGGER.error("MESSAGE: " + event.getMessage());
|
||||
LOGGER.error("LOCATOR");
|
||||
LOGGER.error(" LINE NUMBER: " + event.getLocator().getLineNumber());
|
||||
LOGGER.error(" COLUMN NUMBER: " + event.getLocator().getColumnNumber());
|
||||
LOGGER.error(" OFFSET: " + event.getLocator().getOffset());
|
||||
LOGGER.error(" OBJECT: " + event.getLocator().getObject());
|
||||
LOGGER.error(" NODE: " + event.getLocator().getNode());
|
||||
LOGGER.error(" URL: " + event.getLocator().getURL());
|
||||
|
||||
switch (event.getSeverity()) {
|
||||
case ValidationEvent.WARNING:
|
||||
return true; // continue after warinings
|
||||
case ValidationEvent.ERROR: // terminate after errors
|
||||
case ValidationEvent.FATAL_ERROR: // terminate after fatal errors
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public enum SPVersion {
|
||||
SP2010;
|
||||
|
||||
}
|
||||
@ -1,72 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.Set;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.soap.SOAPException;
|
||||
import javax.xml.soap.SOAPMessage;
|
||||
import javax.xml.ws.handler.MessageContext;
|
||||
import javax.xml.ws.handler.soap.SOAPHandler;
|
||||
import javax.xml.ws.handler.soap.SOAPMessageContext;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class ServiceLogHandler implements SOAPHandler<SOAPMessageContext> {
|
||||
|
||||
/**
|
||||
* the logging object.
|
||||
*/
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(ServiceLogHandler.class);
|
||||
|
||||
@Override
|
||||
public Set<QName> getHeaders() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close(MessageContext arg0) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handleFault(SOAPMessageContext arg0) {
|
||||
SOAPMessage message = arg0.getMessage();
|
||||
try (ByteArrayOutputStream os = new ByteArrayOutputStream()) {
|
||||
message.writeTo(os);
|
||||
LOGGER.error(os.toString("UTF-8"));
|
||||
} catch (SOAPException | IOException e) {
|
||||
LOGGER.debug(e.toString(), e);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handleMessage(SOAPMessageContext arg0) {
|
||||
SOAPMessage message = arg0.getMessage();
|
||||
boolean isOutboundMessage = (Boolean) arg0.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
|
||||
if (LOGGER.isTraceEnabled()) {
|
||||
if (isOutboundMessage) {
|
||||
LOGGER.trace( "OUTBOUND MESSAGE");
|
||||
} else {
|
||||
LOGGER.trace( "INBOUND MESSAGE");
|
||||
}
|
||||
}
|
||||
try (ByteArrayOutputStream os = new ByteArrayOutputStream()) {
|
||||
message.writeTo(os);
|
||||
LOGGER.trace(os.toString("UTF-8"));
|
||||
} catch (SOAPException | IOException e) {
|
||||
LOGGER.debug(e.toString(), e);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SharepointConfig {
|
||||
|
||||
private Properties properties;
|
||||
|
||||
public void loadFromFile() throws IOException {
|
||||
File configFile = new File(getConfigFile());
|
||||
if (!configFile.exists()) {
|
||||
properties = createDefaultConfig();
|
||||
storeToFile("sample");
|
||||
|
||||
System.out.println(createDefaultConfig());
|
||||
throw new FileNotFoundException("Config file " + configFile.toString() + " not found. Please create it");
|
||||
}
|
||||
|
||||
FileInputStream fin = new FileInputStream(configFile);
|
||||
properties = new Properties();
|
||||
properties.loadFromXML(fin);
|
||||
}
|
||||
|
||||
public void storeToFile() throws IOException {
|
||||
storeToFile(null);
|
||||
}
|
||||
|
||||
public String getProperty(String key) {
|
||||
if (properties.containsKey(key)) {
|
||||
return properties.getProperty(key);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private void storeToFile(String postfix) throws IOException {
|
||||
String configFileName = getConfigFile();
|
||||
if (postfix != null) {
|
||||
configFileName += "." + postfix;
|
||||
}
|
||||
File configFile = new File(configFileName);
|
||||
FileOutputStream fos = new FileOutputStream(configFile);
|
||||
properties.storeToXML(fos, "Example config", "UTF-8");
|
||||
}
|
||||
|
||||
private Properties createDefaultConfig() {
|
||||
Properties p = new Properties();
|
||||
p.put("domainname", "domainname");
|
||||
p.put("username", "username");
|
||||
p.put("password", "password");
|
||||
p.put("sharepointurl", "http://server/path/to/root");
|
||||
p.put("workdir", "workdir");
|
||||
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
private String getConfigFile() {
|
||||
String configPath = System.getProperty("user.home");
|
||||
configPath = (configPath.endsWith(File.separator) ? configPath : configPath + File.separator);
|
||||
configPath += ".sharepointapi/sharepoint.properties";
|
||||
return configPath;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.authentication;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPAuthentication extends SPObject {
|
||||
|
||||
public SPAuthentication(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
/*
|
||||
private AuthenticationSoap getAuthenticationPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
URL wsURL = new URL(getContext().getSiteURL().toString() + "/_vti_bin/Authentication.asmx");
|
||||
URL wsdlURL = new URL(SPContext.class.getResource("/wsdl/authentication.wsdl").toExternalForm());
|
||||
Authentication service = new Authentication(wsdlURL);
|
||||
AuthenticationSoap alertsPort = service.getAuthenticationSoap();
|
||||
((BindingProvider) alertsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
return alertsPort;
|
||||
}
|
||||
*/
|
||||
}
|
||||
@ -1,32 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.camlquery;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPCamlQuery {
|
||||
|
||||
|
||||
/*extends SPJaxbObject<CamlQueryRoot> {
|
||||
|
||||
public SPCamlQuery(SPContext context) throws JAXBException {
|
||||
super(CamlQueryRoot.class, context);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected java.util.List getSchemaLocation() {
|
||||
java.util.List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/camlquery.xsd");
|
||||
schemaList.add("/xsd/coredefinitions.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* History:
|
||||
*
|
||||
* $$Log$$
|
||||
*
|
||||
*/
|
||||
@ -1,39 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.Batch;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.Method;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.JAXBException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPBatch extends SPJaxbObject<Batch> {
|
||||
|
||||
public SPBatch(SPContext context) throws JAXBException {
|
||||
super(Batch.class, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected List getSchemaLocation() {
|
||||
List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/batch.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
|
||||
public void addMethod(Method method) {
|
||||
getValue().getMethod().add(method);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* History:
|
||||
*
|
||||
* $$Log$$
|
||||
*
|
||||
*/
|
||||
@ -1,308 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.GetListItems;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.GetListItems.QueryOptions;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.GetListItemsResponse;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.GetListResponse;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.ListsSoap;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.UpdateListItems;
|
||||
import de.muehlencord.shared.sharepoint.api.AbstractSpJaxbObject;
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
import de.muehlencord.shared.sharepoint.api.ServiceLogHandler;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.Field;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.Method;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.MethodType;
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
import javax.xml.ws.handler.Handler;
|
||||
import org.w3c.dom.Element;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.NodeList;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPList extends SPJaxbObject<List> {
|
||||
|
||||
public SPList(SPContext context, String listName) throws JAXBException {
|
||||
super(List.class, context);
|
||||
getValue().name = listName;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected java.util.List getSchemaLocation() {
|
||||
java.util.List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/lists.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
|
||||
|
||||
/* *** list information *** */
|
||||
public String getListName() {
|
||||
return getValue().name;
|
||||
}
|
||||
|
||||
public String getListTitle() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
|
||||
if (getValue().title == null) {
|
||||
getListFromSharepoint();
|
||||
}
|
||||
return getValue().title;
|
||||
}
|
||||
|
||||
/* *** queries *** */
|
||||
public java.util.List<java.util.List<String>> getListItems(java.util.List<String> listColumnNames, int rowLimit) throws NoSuchAlgorithmException,
|
||||
KeyManagementException, JAXBException, MalformedURLException,
|
||||
SAXException, ParserConfigurationException, IOException {
|
||||
return getListItems(listColumnNames, rowLimit, null);
|
||||
}
|
||||
|
||||
public java.util.List<java.util.List<String>> getListItems(java.util.List<String> listColumnNames, int rowLimit, String queryString) throws
|
||||
NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException,
|
||||
SAXException, ParserConfigurationException, IOException {
|
||||
|
||||
//Here are additional parameters that may be set
|
||||
String viewName = null;
|
||||
GetListItems.ViewFields viewFields = null;
|
||||
|
||||
GetListItems.Query query = null;
|
||||
if (queryString != null) {
|
||||
query = new GetListItems.Query();
|
||||
query.getContent().add(AbstractSpJaxbObject.createSharePointCAMLNode(queryString));
|
||||
}
|
||||
QueryOptions queryOptions = new QueryOptions();
|
||||
String webId = null;
|
||||
String rowLimitString = Integer.toString(rowLimit);
|
||||
|
||||
GetListItemsResponse.GetListItemsResult result = getListsPort().
|
||||
getListItems(getValue().name, viewName, query, viewFields, rowLimitString, queryOptions, webId);
|
||||
|
||||
java.util.List<java.util.List<String>> returnList = new LinkedList<>();
|
||||
if (result != null && result.getContent() != null) {
|
||||
for (Object content : result.getContent()) {
|
||||
// TODO - handdling more than one result / should not occur
|
||||
if (content instanceof Element) {
|
||||
|
||||
// parse XML manually. Attribute list is generated automatically as the columns
|
||||
// are stored as attribute with ows_<columnname>. This makes an easy to use
|
||||
// XSD generated java object unhandy.
|
||||
Element rootElement = (Element) content;
|
||||
|
||||
NodeList list = rootElement.getElementsByTagName("z:row");
|
||||
for (int i = 0; i < list.getLength(); i++) {
|
||||
java.util.List<String> rowList = new LinkedList<>();
|
||||
//Gets the attributes of the current row/element
|
||||
NamedNodeMap attributes = list.item(i).getAttributes();
|
||||
// include all attributes which are requested by the given column names
|
||||
// important - blank codes to _x0020_ as blank is not allowed in XML attribute names
|
||||
|
||||
for (String columnName : listColumnNames) {
|
||||
String internalColumnName = "ows_" + columnName.replace(" ", "_x0020_");
|
||||
if (attributes.getNamedItem(internalColumnName) != null) {
|
||||
rowList.add(attributes.getNamedItem(internalColumnName).getNodeValue());
|
||||
} else {
|
||||
// TODO create better exception handling
|
||||
throw new JAXBException("Couldn't find the '" + columnName + "' column in the '" + getValue().name + "' list in SharePoint.\n");
|
||||
}
|
||||
}
|
||||
returnList.add(rowList);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return returnList; // TODO either return null or return empty lists, currently handled differently
|
||||
}
|
||||
|
||||
|
||||
/* *** manipulating list items *** */
|
||||
public void addListItem(Map<String, String> data) throws NoSuchAlgorithmException, KeyManagementException,
|
||||
JAXBException, MalformedURLException, SAXException, ParserConfigurationException, IOException {
|
||||
java.util.List<Map<String, String>> dataList = new LinkedList<>();
|
||||
dataList.add(data);
|
||||
addListItems(dataList);
|
||||
}
|
||||
|
||||
public void addListItems(java.util.List<Map<String, String>> dataList) throws NoSuchAlgorithmException,
|
||||
KeyManagementException, JAXBException, MalformedURLException, SAXException, ParserConfigurationException, IOException {
|
||||
|
||||
SPBatch batch = new SPBatch(getContext());
|
||||
for (Integer batchId = 1; batchId <= dataList.size(); batchId++) {
|
||||
Method method = new Method();
|
||||
method.setID(batchId);
|
||||
method.setCmd(MethodType.NEW);
|
||||
Map<String, String> data = dataList.get(batchId - 1);
|
||||
data.keySet().stream().
|
||||
map((String key) -> {
|
||||
Field field = new Field();
|
||||
field.setName(key.replace(" ", "_x0020_"));
|
||||
field.setContent(data.get(key));
|
||||
return field;
|
||||
}).
|
||||
forEach((Field field) -> {
|
||||
method.getField().add(field);
|
||||
});
|
||||
batch.addMethod(method);
|
||||
}
|
||||
|
||||
executeUpdate(batch);
|
||||
|
||||
}
|
||||
|
||||
public void updateListItem(Map<String, String> data) throws JAXBException, ParserConfigurationException, NoSuchAlgorithmException,
|
||||
SAXException, KeyManagementException, IOException {
|
||||
java.util.List<Map<String, String>> dataList = new ArrayList<>();
|
||||
dataList.add(data);
|
||||
updateListItems(dataList);
|
||||
}
|
||||
|
||||
public void updateListItems(java.util.List<Map<String, String>> dataList) throws JAXBException, ParserConfigurationException, NoSuchAlgorithmException,
|
||||
SAXException, KeyManagementException, IOException {
|
||||
SPBatch batch = createBatch(dataList, MethodType.UPDATE);
|
||||
executeUpdate(batch);
|
||||
}
|
||||
|
||||
public void removeListItem(Map<String, String> dataMap) throws JAXBException, ParserConfigurationException, NoSuchAlgorithmException,
|
||||
SAXException, KeyManagementException, IOException {
|
||||
java.util.List<Map<String, String>> dataList = new ArrayList<>();
|
||||
dataList.add(dataMap);
|
||||
removeListItems(dataList);
|
||||
}
|
||||
|
||||
public void removeListItems(java.util.List<Map<String, String>> dataList) throws JAXBException, ParserConfigurationException, NoSuchAlgorithmException,
|
||||
SAXException, KeyManagementException, IOException {
|
||||
SPBatch batch = createBatch(dataList, MethodType.DELETE);
|
||||
executeUpdate(batch);
|
||||
}
|
||||
|
||||
/* *** information & tools *** */
|
||||
public Map<String, String> getLookupValueMap(String value, int rowLimit) throws NoSuchAlgorithmException,
|
||||
KeyManagementException, JAXBException, MalformedURLException, SAXException, ParserConfigurationException, IOException {
|
||||
|
||||
// get list values from sharepoint
|
||||
java.util.List<String> listColumnNames = new ArrayList<>();
|
||||
listColumnNames.add("ID");
|
||||
listColumnNames.add(value);
|
||||
java.util.List<java.util.List<String>> listItems = getListItems(listColumnNames, rowLimit);
|
||||
|
||||
// convert to map from value to <ID>;#<value>
|
||||
Map<String, String> returnMap = new ConcurrentHashMap<>();
|
||||
|
||||
for (java.util.List<String> row : listItems) {
|
||||
String rowId = row.get(0);
|
||||
String rowValue = row.get(1);
|
||||
String rowLookupValue = rowId + ";#" + rowValue;
|
||||
if (returnMap.containsKey(rowValue)) {
|
||||
throw new SAXException("Key " + rowValue + " already exists - key values must be unique");
|
||||
} else {
|
||||
returnMap.put(rowValue, rowLookupValue);
|
||||
}
|
||||
}
|
||||
return returnMap;
|
||||
}
|
||||
|
||||
public String getColumnNameByDisplayName(String columnDisplayName) throws NoSuchAlgorithmException,
|
||||
KeyManagementException, JAXBException, MalformedURLException, SAXException {
|
||||
if (getValue().fields == null) {
|
||||
getListFromSharepoint();
|
||||
}
|
||||
|
||||
Fields fields = getValue().fields;
|
||||
for (de.muehlencord.shared.sharepoint.api.lists.Field field : fields.getField()) {
|
||||
if (field.getDisplayName().equals(columnDisplayName)) {
|
||||
return field.getName();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getItemCount() throws NoSuchAlgorithmException,
|
||||
KeyManagementException, JAXBException, MalformedURLException, SAXException {
|
||||
|
||||
// refresh list to have current value
|
||||
getListFromSharepoint();
|
||||
return getValue().itemCount;
|
||||
}
|
||||
/* *** private helper methods *** */
|
||||
|
||||
private ListsSoap getListsPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
java.net.URL contextURL = getContext().getSiteURL();
|
||||
java.net.URL wsURL = new java.net.URL(contextURL.toString() + "/_vti_bin/Lists.asmx");
|
||||
java.net.URL wsdlURL = new java.net.URL(SPContext.class
|
||||
.getResource("/2010/wsdl/lists.wsdl").toExternalForm());
|
||||
com.microsoft.schemas.sharepoint.soap.lists.Lists service = new com.microsoft.schemas.sharepoint.soap.lists.Lists(wsdlURL);
|
||||
ListsSoap listsPort = service.getListsSoap();
|
||||
|
||||
((BindingProvider) listsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
|
||||
// log all incoming and outgoing communication - TODO make this configurable by DEBUG switch
|
||||
java.util.List<Handler> handlers = ((BindingProvider) listsPort).getBinding().getHandlerChain();
|
||||
|
||||
handlers.add(
|
||||
new ServiceLogHandler());
|
||||
((BindingProvider) listsPort).getBinding().setHandlerChain(handlers);
|
||||
|
||||
return listsPort;
|
||||
}
|
||||
|
||||
private void getListFromSharepoint() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException,
|
||||
SAXException {
|
||||
GetListResponse.GetListResult result = getListsPort().getList(getValue().name);
|
||||
if (result.getContent() != null) {
|
||||
for (Object content : result.getContent()) {
|
||||
// TODO - handdling more than one result / should not occur
|
||||
if (content instanceof Element) {
|
||||
// Parse XML file
|
||||
Element rootElement = (Element) content;
|
||||
String listsString = SPObject.xmlToString(rootElement.getOwnerDocument());
|
||||
this.setValue(listsString);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private SPBatch createBatch(java.util.List<Map<String, String>> dataList, MethodType methodType) throws JAXBException {
|
||||
SPBatch batch = new SPBatch(getContext());
|
||||
for (Integer batchId = 1; batchId <= dataList.size(); batchId++) {
|
||||
Method method = new Method();
|
||||
method.setID(batchId);
|
||||
method.setCmd(methodType);
|
||||
Map<String, String> data = dataList.get(batchId - 1);
|
||||
data.keySet().stream().
|
||||
map((String key) -> {
|
||||
Field field = new Field();
|
||||
field.setName(key.replace(" ", "_x0020_"));
|
||||
field.setContent(data.get(key));
|
||||
return field;
|
||||
}).
|
||||
forEach((Field field) -> {
|
||||
method.getField().add(field);
|
||||
});
|
||||
batch.addMethod(method);
|
||||
}
|
||||
return batch;
|
||||
}
|
||||
|
||||
private void executeUpdate(SPBatch batch) throws ParserConfigurationException, NoSuchAlgorithmException, SAXException, KeyManagementException, IOException,
|
||||
JAXBException {
|
||||
UpdateListItems.Updates updates = new UpdateListItems.Updates();
|
||||
Node node = batch.createSharePointCAMLNode();
|
||||
updates.getContent().add(node);
|
||||
|
||||
getListsPort().updateListItems(getValue().name, updates);
|
||||
}
|
||||
|
||||
/* *** unsorted *** */
|
||||
}
|
||||
@ -1,138 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.GetListCollectionResponse;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.Lists;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.ListsSoap;
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
import de.muehlencord.shared.sharepoint.api.ServiceLogHandler;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.text.ParseException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedList;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
import javax.xml.ws.handler.Handler;
|
||||
import org.w3c.dom.Element;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPLists extends SPJaxbObject<de.muehlencord.shared.sharepoint.api.lists.Lists> {
|
||||
|
||||
/* *** constructors & object methods needed *** */
|
||||
public SPLists(SPContext context) throws JAXBException {
|
||||
super(de.muehlencord.shared.sharepoint.api.lists.Lists.class, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected java.util.List getSchemaLocation() {
|
||||
java.util.List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/lists.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
|
||||
/* ** get list objects *** */
|
||||
public SPList getSpListByTitle(String listName) throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
|
||||
if (this.getValue().getList() == null) {
|
||||
getValueFromSharepoint();
|
||||
}
|
||||
List list = getListByTitle(listName); // TODO throw exception if not found
|
||||
SPList returnList = new SPList(getContext(), listName);
|
||||
returnList.setValue(list);
|
||||
|
||||
return returnList;
|
||||
}
|
||||
|
||||
/* *** get lists information *** */
|
||||
public java.util.List<String> getListNames() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, ParseException, JAXBException,
|
||||
SAXException {
|
||||
if (this.getValue().getList() == null) {
|
||||
getValueFromSharepoint();
|
||||
}
|
||||
java.util.List<String> returnList = new LinkedList<>();
|
||||
this.getValue().getList().stream().
|
||||
forEach((currentList) -> {
|
||||
returnList.add(currentList.name);
|
||||
});
|
||||
return returnList;
|
||||
}
|
||||
|
||||
public String getListNameByTitle(String listTitle) throws NoSuchAlgorithmException, KeyManagementException, JAXBException,
|
||||
MalformedURLException, SAXException {
|
||||
|
||||
if (this.getValue().getList() == null) {
|
||||
getValueFromSharepoint();
|
||||
}
|
||||
|
||||
for (List list : getValue().getList()) {
|
||||
if (list.title.equals(listTitle)) {
|
||||
return list.name;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
/* *** private helper methods *** */
|
||||
private ListsSoap getListsPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
|
||||
URL wsURL = new URL(getContext().getSiteURL().toString() + "/_vti_bin/Lists.asmx");
|
||||
URL wsdlURL = new URL(SPContext.class.getResource("/2010/wsdl/lists.wsdl").toExternalForm());
|
||||
Lists service = new Lists(wsdlURL);
|
||||
ListsSoap listsPort = service.getListsSoap();
|
||||
((BindingProvider) listsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
|
||||
// log all incoming and outgoing communication - TODO make this configurable by DEBUG switch
|
||||
java.util.List<Handler> handlers = ((BindingProvider) listsPort).getBinding().getHandlerChain();
|
||||
handlers.add(new ServiceLogHandler());
|
||||
((BindingProvider) listsPort).getBinding().setHandlerChain(handlers);
|
||||
|
||||
return listsPort;
|
||||
}
|
||||
|
||||
private void getValueFromSharepoint() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
|
||||
GetListCollectionResponse.GetListCollectionResult result = getListsPort().getListCollection();
|
||||
|
||||
if (result.getContent() != null) {
|
||||
for (Object content : result.getContent()) {
|
||||
// TODO - handdling more than one result / should not occur
|
||||
if (content instanceof Element) {
|
||||
// Parse XML file
|
||||
Element rootElement = (Element) content;
|
||||
String listsString = SPObject.xmlToString(rootElement.getOwnerDocument());
|
||||
this.setValue(listsString);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private List getListByTitle(String listTitle) {
|
||||
for (List list : this.getValue().getList()) {
|
||||
if (list.getTitle().equals(listTitle)) {
|
||||
return list;
|
||||
}
|
||||
}
|
||||
// return null, if list is not found
|
||||
return null;
|
||||
}
|
||||
|
||||
/*
|
||||
private List getListByName(String listName) {
|
||||
for (List list : this.getValue().lists) {
|
||||
if (list.getName().equals(listName)) {
|
||||
return list;
|
||||
}
|
||||
}
|
||||
// return null, if list is not found
|
||||
return null;
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
@ -1,48 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.Field;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.Method;
|
||||
import de.muehlencord.shared.sharepoint.api.batch.MethodType;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.JAXBException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPMethod extends SPJaxbObject<Method> {
|
||||
|
||||
public SPMethod(SPContext context) throws JAXBException {
|
||||
super(Method.class, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected List getSchemaLocation() {
|
||||
List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/batch.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
|
||||
public void setID(Integer batchId) {
|
||||
getValue().setID(batchId);
|
||||
}
|
||||
|
||||
public void setCmd(MethodType methodType) {
|
||||
getValue().setCmd(methodType);
|
||||
}
|
||||
|
||||
public List<Field> getFields() {
|
||||
return getValue().getField();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* History:
|
||||
*
|
||||
* $$Log$$
|
||||
*
|
||||
*/
|
||||
@ -1,31 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.sites;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPSite extends SPObject {
|
||||
|
||||
public SPSite(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
/*
|
||||
public void getRootWeb() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
String rootWebUrl = StringUtils.removeEndIgnoreCase(getContext().getSiteURL().toString(), "/");
|
||||
GetWebResponse.GetWebResult result = getWebsPort(getContext().getSiteURL()).getWeb(rootWebUrl);
|
||||
}
|
||||
|
||||
private WebsSoap getWebsPort(URL webUrl) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
URL wsURL = new URL(webUrl.toString() + "/_vti_bin/Webs.asmx");
|
||||
URL wsdlURL = new URL(SPSite.class.getResource("/2010/wsdl/webs.wsdl").toExternalForm());
|
||||
Webs service = new Webs(wsdlURL);
|
||||
WebsSoap websPort = service.getWebsSoap();
|
||||
((BindingProvider) websPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
return websPort;
|
||||
}
|
||||
*/
|
||||
}
|
||||
@ -1,71 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.usergroup;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import java.util.ArrayList;
|
||||
import javax.xml.bind.JAXBException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPUser extends SPJaxbObject<User> {
|
||||
|
||||
public SPUser(SPContext context) throws JAXBException {
|
||||
super(User.class, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected java.util.List getSchemaLocation() {
|
||||
java.util.List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/usergroup.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
|
||||
public String getUserID() {
|
||||
return getValue().id.toString();
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return getValue().name;
|
||||
}
|
||||
|
||||
public String getUserLoginName() {
|
||||
String returnValue = null;
|
||||
if (getValue().loginName != null) {
|
||||
returnValue = getValue().loginName;
|
||||
} else if (getValue().login != null) {
|
||||
returnValue = getValue().login;
|
||||
}
|
||||
|
||||
if ((returnValue == null) || (returnValue.equals (""))) {
|
||||
return null;
|
||||
} else {
|
||||
return returnValue.substring(7); // drop [i:0#.w|
|
||||
}
|
||||
}
|
||||
|
||||
public String getUserEmail() {
|
||||
return getValue().email;
|
||||
}
|
||||
|
||||
public String getUserNotes() {
|
||||
return getValue().notes;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
return getValue().displayName;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return getValue().email;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* History:
|
||||
*
|
||||
* $$Log$$
|
||||
*
|
||||
*/
|
||||
@ -1,196 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.usergroup;
|
||||
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.GetUserCollectionFromGroupResponse;
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.GetUserInfoResponse;
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.GetUserLoginFromEmail;
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.GetUserLoginFromEmail.EmailXml;
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.GetUserLoginFromEmailResponse;
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.UserGroup;
|
||||
import com.microsoft.schemas.sharepoint.soap.usergroup.UserGroupSoap;
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
import de.muehlencord.shared.sharepoint.api.ServiceLogHandler;
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
import javax.xml.ws.handler.Handler;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.w3c.dom.Element;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.NodeList;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPUserGroup extends SPObject {
|
||||
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(SPUserGroup.class.getName());
|
||||
|
||||
public SPUserGroup(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public void addUserToGroup(String userLoginName, String groupName) throws JAXBException, SAXException, ParserConfigurationException,
|
||||
NoSuchAlgorithmException, IOException, KeyManagementException {
|
||||
SPUser user = getUser("i:0#.w|", userLoginName);
|
||||
if (user == null) {
|
||||
throw new SAXException("User not found");
|
||||
}
|
||||
getUserGroupPort().addUserToGroup(groupName, user.getUserName(), user.getUserLoginName(), user.getUserEmail(), user.getUserNotes());
|
||||
LOGGER.info("User " + user.getUserName() + " added to group " + groupName);
|
||||
}
|
||||
|
||||
public void removeUserFromGroup(String userLoginName, String groupName) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException,
|
||||
JAXBException, SAXException {
|
||||
SPUser user = getUser("i:0#.w|", userLoginName);
|
||||
if (user == null) {
|
||||
throw new SAXException("User not found");
|
||||
}
|
||||
if (userLoginName.startsWith("i:0#.w|")) {
|
||||
getUserGroupPort().removeUserFromGroup(groupName, user.getUserLoginName());
|
||||
} else {
|
||||
getUserGroupPort().removeUserFromGroup(groupName, "i:0#.w|" + user.getUserLoginName());
|
||||
}
|
||||
LOGGER.info("User " + user.getUserName() + " removed from group " + groupName);
|
||||
}
|
||||
|
||||
public boolean isUserMemberOfGroup(String userLoginName, String groupName) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
GetUserCollectionFromGroupResponse.GetUserCollectionFromGroupResult result = getUserGroupPort().getUserCollectionFromGroup(groupName);
|
||||
|
||||
if ((result != null) && (result.getContent() != null) && (!result.getContent().isEmpty())) {
|
||||
Object value = result.getContent().get(0);
|
||||
if (value instanceof Element) {
|
||||
Element rootElement = (Element) value;
|
||||
Node usersNode = rootElement.getFirstChild(); // users node
|
||||
NodeList userNodeList = usersNode.getChildNodes(); // all user nodes
|
||||
for (int i = 0; i < userNodeList.getLength(); i++) {
|
||||
Node userNode = userNodeList.item(i);
|
||||
NamedNodeMap attributes = userNode.getAttributes();
|
||||
if ((attributes.getNamedItem("LoginName") != null)
|
||||
&& (attributes.getNamedItem("LoginName").getNodeValue().equals("i:0#.w|" + userLoginName))) {
|
||||
if (LOGGER.isDebugEnabled()) {
|
||||
LOGGER.debug("User " + userLoginName + " is member of group " + groupName);
|
||||
}
|
||||
return true; // user found
|
||||
}
|
||||
}
|
||||
}
|
||||
if (LOGGER.isDebugEnabled()) {
|
||||
LOGGER.debug("User " + userLoginName + " is not a member of group " + groupName);
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
if (LOGGER.isDebugEnabled()) {
|
||||
LOGGER.debug("User " + userLoginName + " not found");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public SPUsers getUsersFromGroup(String groupName) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, JAXBException, SAXException {
|
||||
GetUserCollectionFromGroupResponse.GetUserCollectionFromGroupResult result = getUserGroupPort().getUserCollectionFromGroup(groupName);
|
||||
if ((result != null) && (result.getContent() != null) && (!result.getContent().isEmpty())) {
|
||||
Object value = result.getContent().get(0);
|
||||
if (value instanceof Element) {
|
||||
Element rootElement = (Element) value;
|
||||
SPUsers users = new SPUsers(getContext());
|
||||
String usersString = SPUsers.xmlToString(rootElement.getFirstChild());
|
||||
users.setValue(usersString);
|
||||
return users;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
public String getUserId(String userLoginName) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, JAXBException, SAXException {
|
||||
SPUser user = getUser("i:0#.w|", userLoginName);
|
||||
if (user == null) {
|
||||
return null;
|
||||
} else {
|
||||
return user.getUserID();
|
||||
}
|
||||
}
|
||||
|
||||
public String getUserName(String userLoginName) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, JAXBException, SAXException {
|
||||
SPUser user = getUser("i:0#.w|", userLoginName);
|
||||
if (user == null) {
|
||||
return null;
|
||||
} else {
|
||||
return user.getUserName();
|
||||
}
|
||||
}
|
||||
|
||||
// TODO does not return full object, how to refresh the object to get all attributes?
|
||||
public SPUser getUserFromEmail(String emailAddress) throws JAXBException, ParserConfigurationException, SAXException, IOException,
|
||||
NoSuchAlgorithmException, KeyManagementException {
|
||||
|
||||
String xml = "<Users><User Email=\"" + emailAddress + "\"/></Users>";
|
||||
EmailXml emailXml = new GetUserLoginFromEmail.EmailXml();
|
||||
emailXml.getContent().add(SPJaxbObject.createSharePointCAMLNode(xml));
|
||||
// Node userNode = user.createSharePointCAMLNode();
|
||||
GetUserLoginFromEmailResponse.GetUserLoginFromEmailResult result = getUserGroupPort().getUserLoginFromEmail(emailXml);
|
||||
if ((result != null) && (!result.getContent().isEmpty())) {
|
||||
Object content = result.getContent().get(0);
|
||||
if (content instanceof Element) {
|
||||
Element rootElement = (Element) content;
|
||||
SPUser user = new SPUser(getContext());
|
||||
user.setValue(SPJaxbObject.xmlToString(rootElement.getFirstChild()));
|
||||
return user;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public SPUser getUserFromId(String userId) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, JAXBException, SAXException {
|
||||
return getUser ("i:0#.w|", userId);
|
||||
}
|
||||
|
||||
private SPUser getUser(Object prefix, String userLoginName) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, JAXBException, SAXException {
|
||||
GetUserInfoResponse.GetUserInfoResult result = getUserGroupPort().getUserInfo(prefix + userLoginName);
|
||||
// TODO why is i:0#.w| in front?
|
||||
|
||||
if (result.getContent() != null) {
|
||||
for (Object content : result.getContent()) {
|
||||
// TODO - handdling more than one result / should not occur
|
||||
// Parse XML file
|
||||
Element rootElement = (Element) content;
|
||||
String userString = SPObject.xmlToString(rootElement.getFirstChild());
|
||||
SPUser user = new SPUser(getContext());
|
||||
user.setValue(userString);
|
||||
return user;
|
||||
}
|
||||
}
|
||||
return null; // not found, return null
|
||||
}
|
||||
|
||||
private UserGroupSoap getUserGroupPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
java.net.URL contextURL = getContext().getSiteURL();
|
||||
java.net.URL wsURL = new java.net.URL(contextURL.toString() + "_vti_bin/usergroup.asmx");
|
||||
java.net.URL wsdlURL = new java.net.URL(SPContext.class.getResource("/2010/wsdl/usergroup.wsdl").toExternalForm());
|
||||
UserGroup service = new UserGroup(wsdlURL);
|
||||
UserGroupSoap userGroupPort = service.getUserGroupSoap();
|
||||
((BindingProvider) userGroupPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
|
||||
// log all incoming and outgoing communication - TODO make this configurable by DEBUG switch
|
||||
java.util.List<Handler> handlers = ((BindingProvider) userGroupPort).getBinding().getHandlerChain();
|
||||
handlers.add(new ServiceLogHandler());
|
||||
((BindingProvider) userGroupPort).getBinding().setHandlerChain(handlers);
|
||||
|
||||
return userGroupPort;
|
||||
}
|
||||
|
||||
/* *** unsorted *** */
|
||||
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.usergroup;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.JAXBException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPUsers extends SPJaxbObject<Users> {
|
||||
|
||||
public SPUsers(SPContext context) throws JAXBException {
|
||||
super(Users.class, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected java.util.List getSchemaLocation() {
|
||||
java.util.List<String> schemaList = new ArrayList();
|
||||
schemaList.add("/xsd/usergroup.xsd");
|
||||
return schemaList;
|
||||
}
|
||||
|
||||
public List<String> getEmailAddresses() {
|
||||
List<String> returnList = new ArrayList<>();
|
||||
for (User user : getValue().getUser()) {
|
||||
returnList.add (user.email);
|
||||
}
|
||||
|
||||
return returnList;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,172 +0,0 @@
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/">
|
||||
<s:element name="GetAlerts">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetAlertsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetAlertsResult" type="tns:AlertInfo"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="AlertInfo">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="CurrentUser" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertServerName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertServerUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertServerType" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertsManagementUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertWebTitle" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="NewAlertUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertWebId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Alerts" type="tns:ArrayOfAlert"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ArrayOfAlert">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="Alert" type="tns:Alert"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="Alert">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="Active" type="s:boolean"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="EventType" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertForTitle" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertForUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="EditAlertUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="DeliveryChannels" type="tns:ArrayOfDeliveryChannel"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ArrayOfDeliveryChannel">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="DeliveryChannel" nillable="true" type="tns:DeliveryChannel"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="DeliveryChannel" abstract="true"/>
|
||||
<s:complexType name="EmailChannel">
|
||||
<s:complexContent mixed="false">
|
||||
<s:extension base="tns:DeliveryChannel">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Frequency" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:extension>
|
||||
</s:complexContent>
|
||||
</s:complexType>
|
||||
<s:element name="DeleteAlerts">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="IDs" type="tns:ArrayOfString"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfString">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:element name="DeleteAlertsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="DeleteAlertsResult" type="tns:ArrayOfDeleteFailure"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfDeleteFailure">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="DeleteFailure" type="tns:DeleteFailure"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="DeleteFailure">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="Error" type="tns:ErrorType"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:simpleType name="ErrorType">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="None"/>
|
||||
<s:enumeration value="AccessDenied"/>
|
||||
<s:enumeration value="ServerError"/>
|
||||
<s:enumeration value="TooManyErrors"/>
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetAlertsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetAlerts"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAlertsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetAlertsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteAlertsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:DeleteAlerts"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteAlertsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:DeleteAlertsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="AlertsSoap">
|
||||
<wsdl:operation name="GetAlerts">
|
||||
<wsdl:input message="tns:GetAlertsSoapIn"/>
|
||||
<wsdl:output message="tns:GetAlertsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteAlerts">
|
||||
<wsdl:input message="tns:DeleteAlertsSoapIn"/>
|
||||
<wsdl:output message="tns:DeleteAlertsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="AlertsSoap" type="tns:AlertsSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetAlerts">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/GetAlerts" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteAlerts">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/DeleteAlerts" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="AlertsSoap12" type="tns:AlertsSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetAlerts">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/GetAlerts" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteAlerts">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/DeleteAlerts" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="Alerts">
|
||||
<wsdl:port name="AlertsSoap" binding="tns:AlertsSoap">
|
||||
<soap:address location=""/>
|
||||
</wsdl:port>
|
||||
<wsdl:port name="AlertsSoap12" binding="tns:AlertsSoap12">
|
||||
<soap12:address location=""/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
@ -1,126 +0,0 @@
|
||||
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<s:element name="Login">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="username" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="LoginResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="LoginResult" type="tns:LoginResult" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="LoginResult">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="CookieName" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ErrorCode" type="tns:LoginErrorCode" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="TimeoutSeconds" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:simpleType name="LoginErrorCode">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="NoError" />
|
||||
<s:enumeration value="NotInFormsAuthenticationMode" />
|
||||
<s:enumeration value="PasswordNotMatch" />
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
<s:element name="Mode">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="ModeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ModeResult" type="tns:AuthenticationMode" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:simpleType name="AuthenticationMode">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="None" />
|
||||
<s:enumeration value="Windows" />
|
||||
<s:enumeration value="Passport" />
|
||||
<s:enumeration value="Forms" />
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="LoginSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:Login" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="LoginSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:LoginResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ModeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:Mode" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ModeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ModeResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="AuthenticationSoap">
|
||||
<wsdl:operation name="Login">
|
||||
<wsdl:input message="tns:LoginSoapIn" />
|
||||
<wsdl:output message="tns:LoginSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Mode">
|
||||
<wsdl:input message="tns:ModeSoapIn" />
|
||||
<wsdl:output message="tns:ModeSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="AuthenticationSoap" type="tns:AuthenticationSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="Login">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Login" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Mode">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Mode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="AuthenticationSoap12" type="tns:AuthenticationSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="Login">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Login" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Mode">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Mode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="Authentication">
|
||||
<wsdl:port name="AuthenticationSoap" binding="tns:AuthenticationSoap">
|
||||
<soap:address location="" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="AuthenticationSoap12" binding="tns:AuthenticationSoap12">
|
||||
<soap12:address location="" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,366 +0,0 @@
|
||||
|
||||
<wsdl:definitions xmlns:s0="urn:Microsoft.Search" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://microsoft.com/webservices/OfficeServer/QueryService" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://microsoft.com/webservices/OfficeServer/QueryService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Microsoft SharePoint Server 2013 Preview Search Query Web Service</wsdl:documentation>
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="urn:Microsoft.Search">
|
||||
<s:element name="Query">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="queryXml" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="QueryResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="QueryResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="Registration">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="registrationXml" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RegistrationResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="RegistrationResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="Status">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="StatusResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="StatusResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RecordClick">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="clickInfoXml" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RecordClickResponse">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
</s:schema>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/webservices/OfficeServer/QueryService">
|
||||
<s:element name="QueryEx">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="queryXml" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="QueryExResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="QueryExResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<!-- <s:element ref="s:schema" /> -->
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetPortalSearchInfo">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetPortalSearchInfoResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetPortalSearchInfoResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetSearchMetadata">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetSearchMetadataResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetSearchMetadataResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<!-- <s:element ref="s:schema" /> -->
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetQuerySuggestions">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="queryXml" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetQuerySuggestionsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetQuerySuggestionsResult" type="tns:ArrayOfString" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfString">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="QuerySoapIn">
|
||||
<wsdl:part name="parameters" element="s0:Query" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="QuerySoapOut">
|
||||
<wsdl:part name="parameters" element="s0:QueryResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="QueryExSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:QueryEx" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="QueryExSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:QueryExResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RegistrationSoapIn">
|
||||
<wsdl:part name="parameters" element="s0:Registration" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RegistrationSoapOut">
|
||||
<wsdl:part name="parameters" element="s0:RegistrationResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="StatusSoapIn">
|
||||
<wsdl:part name="parameters" element="s0:Status" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="StatusSoapOut">
|
||||
<wsdl:part name="parameters" element="s0:StatusResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetPortalSearchInfoSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetPortalSearchInfo" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetPortalSearchInfoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetPortalSearchInfoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetSearchMetadataSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetSearchMetadata" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetSearchMetadataSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetSearchMetadataResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RecordClickSoapIn">
|
||||
<wsdl:part name="parameters" element="s0:RecordClick" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RecordClickSoapOut">
|
||||
<wsdl:part name="parameters" element="s0:RecordClickResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetQuerySuggestionsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetQuerySuggestions" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetQuerySuggestionsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetQuerySuggestionsResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="QueryServiceSoap">
|
||||
<wsdl:operation name="Query">
|
||||
<wsdl:input message="tns:QuerySoapIn" />
|
||||
<wsdl:output message="tns:QuerySoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="QueryEx">
|
||||
<wsdl:input message="tns:QueryExSoapIn" />
|
||||
<wsdl:output message="tns:QueryExSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Registration">
|
||||
<wsdl:input message="tns:RegistrationSoapIn" />
|
||||
<wsdl:output message="tns:RegistrationSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Status">
|
||||
<wsdl:input message="tns:StatusSoapIn" />
|
||||
<wsdl:output message="tns:StatusSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetPortalSearchInfo">
|
||||
<wsdl:input message="tns:GetPortalSearchInfoSoapIn" />
|
||||
<wsdl:output message="tns:GetPortalSearchInfoSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetSearchMetadata">
|
||||
<wsdl:input message="tns:GetSearchMetadataSoapIn" />
|
||||
<wsdl:output message="tns:GetSearchMetadataSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RecordClick">
|
||||
<wsdl:input message="tns:RecordClickSoapIn" />
|
||||
<wsdl:output message="tns:RecordClickSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetQuerySuggestions">
|
||||
<wsdl:input message="tns:GetQuerySuggestionsSoapIn" />
|
||||
<wsdl:output message="tns:GetQuerySuggestionsSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="QueryServiceSoap" type="tns:QueryServiceSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="Query">
|
||||
<soap:operation soapAction="urn:Microsoft.Search/Query" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="QueryEx">
|
||||
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/QueryEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Registration">
|
||||
<soap:operation soapAction="urn:Microsoft.Search/Registration" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Status">
|
||||
<soap:operation soapAction="urn:Microsoft.Search/Status" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetPortalSearchInfo">
|
||||
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetPortalSearchInfo" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetSearchMetadata">
|
||||
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RecordClick">
|
||||
<soap:operation soapAction="urn:Microsoft.Search/RecordClick" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetQuerySuggestions">
|
||||
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetQuerySuggestions" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="QueryServiceSoap12" type="tns:QueryServiceSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="Query">
|
||||
<soap12:operation soapAction="urn:Microsoft.Search/Query" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="QueryEx">
|
||||
<soap12:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/QueryEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Registration">
|
||||
<soap12:operation soapAction="urn:Microsoft.Search/Registration" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Status">
|
||||
<soap12:operation soapAction="urn:Microsoft.Search/Status" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetPortalSearchInfo">
|
||||
<soap12:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetPortalSearchInfo" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetSearchMetadata">
|
||||
<soap12:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RecordClick">
|
||||
<soap12:operation soapAction="urn:Microsoft.Search/RecordClick" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetQuerySuggestions">
|
||||
<soap:operation soapAction="urn:Microsoft.Search/GetQuerySuggestions" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="QueryService">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Microsoft SharePoint Server 2013 Preview Search Query Web Service</wsdl:documentation>
|
||||
<wsdl:port name="QueryServiceSoap" binding="tns:QueryServiceSoap">
|
||||
<soap:address location="" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="QueryServiceSoap12" binding="tns:QueryServiceSoap12">
|
||||
<soap12:address location="" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
@ -1,223 +0,0 @@
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<s:element name="GetSiteTemplates">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="LCID" type="s:unsignedInt"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetSiteTemplatesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetSiteTemplatesResult" type="s:unsignedInt"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="TemplateList" type="tns:ArrayOfTemplate"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfTemplate">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="Template" nillable="true" type="tns:Template"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="Template">
|
||||
<s:attribute name="ID" type="s:int" use="required"/>
|
||||
<s:attribute name="Title" type="s:string"/>
|
||||
<s:attribute name="Name" type="s:string"/>
|
||||
<s:attribute name="IsUnique" type="s:boolean" use="required"/>
|
||||
<s:attribute name="IsHidden" type="s:boolean" use="required"/>
|
||||
<s:attribute name="Description" type="s:string"/>
|
||||
<s:attribute name="ImageUrl" type="s:string"/>
|
||||
<s:attribute name="IsCustom" type="s:boolean" use="required"/>
|
||||
<s:attribute name="IsSubWebOnly" type="s:boolean" use="required"/>
|
||||
<s:attribute name="IsRootWebOnly" type="s:boolean" use="required"/>
|
||||
<s:attribute name="DisplayCategory" type="s:string"/>
|
||||
<s:attribute name="FilterCategories" type="s:string"/>
|
||||
<s:attribute name="HasProvisionClass" type="s:boolean" use="required"/>
|
||||
</s:complexType>
|
||||
<s:element name="GetUpdatedFormDigest">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetUpdatedFormDigestResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetUpdatedFormDigestResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExportWeb">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="jobName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="webUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="dataPath" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="includeSubwebs" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="includeUserSecurity" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="overWrite" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="cabSize" type="s:int"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExportWebResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ExportWebResult" type="s:int"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ImportWeb">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="jobName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="webUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="dataFiles" type="tns:ArrayOfString"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="logPath" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="includeUserSecurity" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="overWrite" type="s:boolean"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfString">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:element name="ImportWebResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ImportWebResult" type="s:int"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetSiteTemplatesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetSiteTemplates"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetSiteTemplatesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetSiteTemplatesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetUpdatedFormDigestSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetUpdatedFormDigest"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetUpdatedFormDigestSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetUpdatedFormDigestResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExportWebSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ExportWeb"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExportWebSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ExportWebResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ImportWebSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ImportWeb"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ImportWebSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ImportWebResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="SitesSoap">
|
||||
<wsdl:operation name="GetSiteTemplates">
|
||||
<wsdl:input message="tns:GetSiteTemplatesSoapIn"/>
|
||||
<wsdl:output message="tns:GetSiteTemplatesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetUpdatedFormDigest">
|
||||
<wsdl:input message="tns:GetUpdatedFormDigestSoapIn"/>
|
||||
<wsdl:output message="tns:GetUpdatedFormDigestSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExportWeb">
|
||||
<wsdl:input message="tns:ExportWebSoapIn"/>
|
||||
<wsdl:output message="tns:ExportWebSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ImportWeb">
|
||||
<wsdl:input message="tns:ImportWebSoapIn"/>
|
||||
<wsdl:output message="tns:ImportWebSoapOut"/>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="SitesSoap" type="tns:SitesSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetSiteTemplates">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetSiteTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetUpdatedFormDigest">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetUpdatedFormDigest" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExportWeb">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ExportWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ImportWeb">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ImportWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="SitesSoap12" type="tns:SitesSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetSiteTemplates">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetSiteTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetUpdatedFormDigest">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetUpdatedFormDigest" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExportWeb">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ExportWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ImportWeb">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ImportWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="Sites">
|
||||
<wsdl:port name="SitesSoap" binding="tns:SitesSoap">
|
||||
<soap:address location=""/>
|
||||
</wsdl:port>
|
||||
<wsdl:port name="SitesSoap12" binding="tns:SitesSoap12">
|
||||
<soap12:address location=""/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,969 +0,0 @@
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<s:import namespace="http://www.w3.org/2001/XMLSchema"/>
|
||||
<s:element name="GetWebCollection">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetWebCollectionResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetWebCollectionResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetWeb">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="webUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetWebResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetWebResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetListTemplates">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetListTemplatesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetListTemplatesResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetAllSubWebCollection">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetAllSubWebCollectionResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetAllSubWebCollectionResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="WebUrlFromPageUrl">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="pageUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="WebUrlFromPageUrlResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="WebUrlFromPageUrlResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetContentTypes">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetContentTypesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetContentTypesResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetContentTypeResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CreateContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="displayName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="parentType" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeProperties">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CreateContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="CreateContentTypeResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeProperties">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="updateFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="deleteFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="UpdateContentTypeResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DeleteContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DeleteContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="DeleteContentTypeResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentTypeXmlDocument">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newDocument">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentTypeXmlDocumentResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="UpdateContentTypeXmlDocumentResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RemoveContentTypeXmlDocument">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="documentUri" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RemoveContentTypeXmlDocumentResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="RemoveContentTypeXmlDocumentResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetColumns">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetColumnsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetColumnsResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateColumns">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="updateFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="deleteFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateColumnsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="UpdateColumnsResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetCustomizedPageStatus">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="fileUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetCustomizedPageStatusResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetCustomizedPageStatusResult" type="tns:CustomizedPageStatus"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:simpleType name="CustomizedPageStatus">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="None"/>
|
||||
<s:enumeration value="Uncustomized"/>
|
||||
<s:enumeration value="Customized"/>
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
<s:element name="RevertFileContentStream">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="fileUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RevertFileContentStreamResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="RevertAllFileContentStreams">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="RevertAllFileContentStreamsResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="CustomizeCss">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="cssFile" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CustomizeCssResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="RevertCss">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="cssFile" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RevertCssResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetActivatedFeatures">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetActivatedFeaturesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetActivatedFeaturesResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetWebCollectionSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetWebCollection"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetWebCollectionSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetWebCollectionResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetWebSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetWeb"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetWebSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetWebResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetListTemplatesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetListTemplates"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetListTemplatesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetListTemplatesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllSubWebCollectionSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetAllSubWebCollection"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllSubWebCollectionSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetAllSubWebCollectionResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="WebUrlFromPageUrlSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:WebUrlFromPageUrl"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="WebUrlFromPageUrlSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:WebUrlFromPageUrlResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetContentTypes"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetContentTypesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CreateContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CreateContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CreateContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CreateContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:DeleteContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:DeleteContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeXmlDocumentSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentTypeXmlDocument"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeXmlDocumentSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentTypeXmlDocumentResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RemoveContentTypeXmlDocumentSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RemoveContentTypeXmlDocument"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RemoveContentTypeXmlDocumentSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RemoveContentTypeXmlDocumentResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetColumnsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetColumns"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetColumnsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetColumnsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateColumnsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateColumns"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateColumnsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateColumnsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetCustomizedPageStatusSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetCustomizedPageStatus"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetCustomizedPageStatusSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetCustomizedPageStatusResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertFileContentStreamSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RevertFileContentStream"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertFileContentStreamSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RevertFileContentStreamResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertAllFileContentStreamsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RevertAllFileContentStreams"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertAllFileContentStreamsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RevertAllFileContentStreamsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CustomizeCssSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CustomizeCss"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CustomizeCssSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CustomizeCssResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertCssSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RevertCss"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertCssSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RevertCssResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetActivatedFeaturesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetActivatedFeatures"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetActivatedFeaturesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetActivatedFeaturesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="WebsSoap">
|
||||
<wsdl:operation name="GetWebCollection">
|
||||
<wsdl:input message="tns:GetWebCollectionSoapIn"/>
|
||||
<wsdl:output message="tns:GetWebCollectionSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetWeb">
|
||||
<wsdl:input message="tns:GetWebSoapIn"/>
|
||||
<wsdl:output message="tns:GetWebSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetListTemplates">
|
||||
<wsdl:input message="tns:GetListTemplatesSoapIn"/>
|
||||
<wsdl:output message="tns:GetListTemplatesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllSubWebCollection">
|
||||
<wsdl:input message="tns:GetAllSubWebCollectionSoapIn"/>
|
||||
<wsdl:output message="tns:GetAllSubWebCollectionSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WebUrlFromPageUrl">
|
||||
<wsdl:input message="tns:WebUrlFromPageUrlSoapIn"/>
|
||||
<wsdl:output message="tns:WebUrlFromPageUrlSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentTypes">
|
||||
<wsdl:input message="tns:GetContentTypesSoapIn"/>
|
||||
<wsdl:output message="tns:GetContentTypesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentType">
|
||||
<wsdl:input message="tns:GetContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:GetContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CreateContentType">
|
||||
<wsdl:input message="tns:CreateContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:CreateContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentType">
|
||||
<wsdl:input message="tns:UpdateContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:UpdateContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteContentType">
|
||||
<wsdl:input message="tns:DeleteContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:DeleteContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentTypeXmlDocument">
|
||||
<wsdl:input message="tns:UpdateContentTypeXmlDocumentSoapIn"/>
|
||||
<wsdl:output message="tns:UpdateContentTypeXmlDocumentSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RemoveContentTypeXmlDocument">
|
||||
<wsdl:input message="tns:RemoveContentTypeXmlDocumentSoapIn"/>
|
||||
<wsdl:output message="tns:RemoveContentTypeXmlDocumentSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetColumns">
|
||||
<wsdl:input message="tns:GetColumnsSoapIn"/>
|
||||
<wsdl:output message="tns:GetColumnsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateColumns">
|
||||
<wsdl:input message="tns:UpdateColumnsSoapIn"/>
|
||||
<wsdl:output message="tns:UpdateColumnsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCustomizedPageStatus">
|
||||
<wsdl:input message="tns:GetCustomizedPageStatusSoapIn"/>
|
||||
<wsdl:output message="tns:GetCustomizedPageStatusSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertFileContentStream">
|
||||
<wsdl:input message="tns:RevertFileContentStreamSoapIn"/>
|
||||
<wsdl:output message="tns:RevertFileContentStreamSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertAllFileContentStreams">
|
||||
<wsdl:input message="tns:RevertAllFileContentStreamsSoapIn"/>
|
||||
<wsdl:output message="tns:RevertAllFileContentStreamsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CustomizeCss">
|
||||
<wsdl:input message="tns:CustomizeCssSoapIn"/>
|
||||
<wsdl:output message="tns:CustomizeCssSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertCss">
|
||||
<wsdl:input message="tns:RevertCssSoapIn"/>
|
||||
<wsdl:output message="tns:RevertCssSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetActivatedFeatures">
|
||||
<wsdl:input message="tns:GetActivatedFeaturesSoapIn"/>
|
||||
<wsdl:output message="tns:GetActivatedFeaturesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="WebsSoap" type="tns:WebsSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetWebCollection">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetWeb">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetListTemplates">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetListTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllSubWebCollection">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetAllSubWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WebUrlFromPageUrl">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/WebUrlFromPageUrl" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentTypes">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentTypes" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CreateContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CreateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/DeleteContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentTypeXmlDocument">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RemoveContentTypeXmlDocument">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RemoveContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetColumns">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateColumns">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCustomizedPageStatus">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetCustomizedPageStatus" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertFileContentStream">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertFileContentStream" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertAllFileContentStreams">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertAllFileContentStreams" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CustomizeCss">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CustomizeCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertCss">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetActivatedFeatures">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetActivatedFeatures" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="WebsSoap12" type="tns:WebsSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetWebCollection">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetWeb">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetListTemplates">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetListTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllSubWebCollection">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetAllSubWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WebUrlFromPageUrl">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/WebUrlFromPageUrl" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentTypes">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentTypes" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CreateContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CreateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/DeleteContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentTypeXmlDocument">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RemoveContentTypeXmlDocument">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RemoveContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetColumns">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateColumns">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCustomizedPageStatus">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetCustomizedPageStatus" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertFileContentStream">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertFileContentStream" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertAllFileContentStreams">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertAllFileContentStreams" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CustomizeCss">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CustomizeCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertCss">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetActivatedFeatures">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetActivatedFeatures" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="Webs">
|
||||
<wsdl:port name="WebsSoap" binding="tns:WebsSoap">
|
||||
<soap:address location=""/>
|
||||
</wsdl:port>
|
||||
<wsdl:port name="WebsSoap12" binding="tns:WebsSoap12">
|
||||
<soap12:address location=""/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jxb:extensionBindingPrefixes="xjc">
|
||||
<jxb:bindings schemaLocation="../xsd/batch.xsd"
|
||||
node="/xs:schema">
|
||||
<jxb:globalBindings>
|
||||
<xjc:simple />
|
||||
<xjc:serializable uid="100" />
|
||||
</jxb:globalBindings>
|
||||
</jxb:bindings>
|
||||
</jxb:bindings>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jxb:extensionBindingPrefixes="xjc">
|
||||
<jxb:bindings schemaLocation="../xsd/camlquery.xsd"
|
||||
node="/xs:schema">
|
||||
<jxb:globalBindings>
|
||||
<xjc:simple />
|
||||
<xjc:serializable uid="100" />
|
||||
</jxb:globalBindings>
|
||||
</jxb:bindings>
|
||||
</jxb:bindings>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jxb:extensionBindingPrefixes="xjc">
|
||||
<jxb:bindings schemaLocation="../xsd/listitems.xsd"
|
||||
node="/xs:schema">
|
||||
<jxb:globalBindings>
|
||||
<xjc:simple />
|
||||
<xjc:serializable uid="100" />
|
||||
</jxb:globalBindings>
|
||||
</jxb:bindings>
|
||||
</jxb:bindings>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jxb:extensionBindingPrefixes="xjc">
|
||||
<jxb:bindings schemaLocation="../xsd/lists.xsd"
|
||||
node="/xs:schema">
|
||||
<jxb:globalBindings>
|
||||
<xjc:simple />
|
||||
<xjc:serializable uid="100" />
|
||||
</jxb:globalBindings>
|
||||
</jxb:bindings>
|
||||
</jxb:bindings>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jxb:extensionBindingPrefixes="xjc">
|
||||
<jxb:bindings schemaLocation="../xsd/usergroup.xsd"
|
||||
node="/xs:schema">
|
||||
<jxb:globalBindings>
|
||||
<xjc:simple />
|
||||
<xjc:serializable uid="100" />
|
||||
</jxb:globalBindings>
|
||||
</jxb:bindings>
|
||||
</jxb:bindings>
|
||||
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
<xs:element name="Batch">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="Method" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Method">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="Field" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Cmd" use="required" type="MethodType" />
|
||||
<xs:attribute name="ID" use="required" type="xs:int" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Field">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:attribute name="Name" use="required" type="xs:string" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
|
||||
<xs:simpleType name="MethodType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="New" />
|
||||
<xs:enumeration value="Update" />
|
||||
<xs:enumeration value="Move" />
|
||||
<xs:enumeration value="Delete" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@ -1,351 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema id="CamlQuery" targetNamespace="http://schemas.microsoft.com/sharepoint/" elementFormDefault="qualified" xmlns="http://schemas.microsoft.com/sharepoint/" xmlns:mstns="http://schemas.microsoft.com/sharepoint/" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified">
|
||||
|
||||
<!-- <xs:include id="CoreDef" schemaLocation="coredefinitions.xsd"/> -->
|
||||
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element name="Query" type="CamlQueryRoot" minOccurs="0" maxOccurs="1"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
|
||||
<xs:complexType name="CamlQueryRoot" mixed="true">
|
||||
<xs:all>
|
||||
<xs:element name="Where" type="LogicalJoinDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="OrderBy" type="OrderByDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="Eq" type="LogicalTestDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="Field" type="SimpleFieldRef" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="ListProperty" type="ListPropertyDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="LookupColumn" type="LookupColumnDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="Column" type="QueryColumnDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="GetVar" type="QueryGetVarDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="GroupBy" type="GroupByDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="Contains" type="LogicalTestDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="BeginsWith" type="LogicalTestDefinition" minOccurs="0" maxOccurs="1"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="LogicalTestDefinition">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="FieldRef" type="FieldRefDefinition"/>
|
||||
<xs:element name="Value" type="ValueDefinition"/>
|
||||
<xs:element name="XML" type="xs:string"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LogicalMultiTestDefinition">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="FieldRef" type="FieldRefDefinition"/>
|
||||
<xs:element name="Values" type="ValueDefinitions"/>
|
||||
<xs:element name="XML" type="xs:string"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LogicalJoinDefinition">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Eq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Geq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Gt" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Leq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Lt" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Neq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="And" type="ExtendedLogicalJoinDefinition"/>
|
||||
<xs:element name="Or" type="ExtendedLogicalJoinDefinition"/>
|
||||
<xs:element name="Membership" type="MembershipDefinition"/>
|
||||
<xs:element name="IsNull" type="LogicalTestDefinition"/>
|
||||
<xs:element name="IsNotNull" type="LogicalTestDefinition"/>
|
||||
<xs:element name="DateRangesOverlap" type="UnlimitedLogicalTestDefinition"/>
|
||||
<xs:element name="BeginsWith" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Contains" type="LogicalTestDefinition"/>
|
||||
<xs:element name="In" type="LogicalMultiTestDefinition"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="FieldRefDefinition" mixed="true">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Alias" type="xs:string"/>
|
||||
<xs:attribute name="Ascending" type="TRUEFALSE"/>
|
||||
<xs:attribute name="CreateURL" type="xs:string"/>
|
||||
<xs:attribute name="DisplayName" type="xs:string"/>
|
||||
<xs:attribute name="Explicit" type="TRUEFALSE"/>
|
||||
<xs:attribute name="ID" type="xs:string"/>
|
||||
<xs:attribute name="Key" type="xs:string"/>
|
||||
<xs:attribute name="Name" type="xs:string"/>
|
||||
<xs:attribute name="RefType" type="xs:string"/>
|
||||
<xs:attribute name="ShowField" type="xs:string"/>
|
||||
<xs:attribute name="TextOnly" type="TRUEFALSE"/>
|
||||
<xs:attribute name="Type" type="ReferenceType"/>
|
||||
<xs:attribute name="Format" type="xs:string"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="ReferenceType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="AVG"/>
|
||||
<xs:enumeration value="COUNT"/>
|
||||
<xs:enumeration value="MAX"/>
|
||||
<xs:enumeration value="MIN"/>
|
||||
<xs:enumeration value="SUM"/>
|
||||
<xs:enumeration value="STDEV"/>
|
||||
<xs:enumeration value="VAR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="ValueDefinitions">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Value" type="ValueDefinition"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="ValueDefinition" mixed="true">
|
||||
<xs:complexContent>
|
||||
<xs:restriction base="xs:anyType">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Today" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="UserID" type="xs:string" nillable="true"/>
|
||||
<xs:element name="ListProperty" type="QueryListProperty"/>
|
||||
<xs:element name="Now" type="xs:string"/>
|
||||
<xs:element name="Month" type="xs:string"/>
|
||||
<xs:element name="XML" type="xs:string"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Type" type="xs:string"/>
|
||||
</xs:restriction>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LogicalNullDefinition">
|
||||
<xs:sequence>
|
||||
<xs:element name="FieldRef" type="FieldRefDefinition"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="ExtendedLogicalJoinDefinition">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Eq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Geq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Gt" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Leq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Lt" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Neq" type="LogicalTestDefinition"/>
|
||||
<xs:element name="And" type="ExtendedLogicalJoinDefinition"/>
|
||||
<xs:element name="Or" type="ExtendedLogicalJoinDefinition"/>
|
||||
<xs:element name="IsNull" type="LogicalNullDefinition"/>
|
||||
<xs:element name="IsNotNull" type="LogicalNullDefinition"/>
|
||||
<xs:element name="DateRangesOverlap" type="LogicalTestDefinition"/>
|
||||
<xs:element name="BeginsWith" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Contains" type="LogicalTestDefinition"/>
|
||||
<xs:element name="Membership" type="MembershipDefinition"/>
|
||||
<xs:element name="In" type="LogicalMultiTestDefinition"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="FieldRefDefinitions" mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:element name="FieldRef" type="FieldRefDefinition" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="OrderByDefinition" mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:element name="FieldRef" type="FieldRefDefinition" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="UseIndexForOrderBy" type="TRUEFALSE" use="optional"/>
|
||||
<xs:attribute name="Override" type="TRUEFALSE" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="RowDefinition">
|
||||
<xs:sequence>
|
||||
<xs:element name="Field" type="FieldDataDefinition" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="FieldDataDefinition">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Name" type="xs:string"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="RowDefinitions">
|
||||
<xs:sequence>
|
||||
<xs:element name="Row" type="RowDefinition" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="EmptyQueryDefinition">
|
||||
<xs:sequence/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="SimpleFieldRef">
|
||||
<xs:sequence/>
|
||||
<xs:attribute name="Name" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LookupColumnDefinition">
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="HTMLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute name="StripWS" type="TRUEFALSE"/>
|
||||
<xs:attribute name="Name" type="xs:string"/>
|
||||
<xs:attribute name="ShowField" type="xs:string"/>
|
||||
<xs:attribute name="URLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute type="TRUEFALSE" name="URLEncodeAsURL"/>
|
||||
<xs:attribute type="TRUEFALSE" name="IncludeVersions"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="QueryColumnDefinition" mixed="true">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="LookupColumnDefinition">
|
||||
<xs:sequence/>
|
||||
<xs:attribute name="Default" type="xs:string"/>
|
||||
<xs:attribute name="Format" type="xs:string"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="QueryGetVarDefinition">
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="HTMLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute name="Name" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="QueryListProperty">
|
||||
<xs:sequence/>
|
||||
<xs:attribute name="URLEncodeAsURL" type="TRUEFALSE"/>
|
||||
<xs:attribute name="Select" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="MembershipDefinition">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="LogicalTestDefinition">
|
||||
<xs:sequence/>
|
||||
<xs:attribute name="Type" type="xs:string"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="GroupByDefinition">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="LogicalTestDefinition">
|
||||
<xs:sequence/>
|
||||
<xs:attribute name="Collapse" type="TRUEFALSE"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="UnlimitedLogicalTestDefinition">
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="FieldRef" type="FieldRefDefinition"/>
|
||||
<xs:element name="Value" type="ValueDefinition"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="TRUEFALSE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE"/>
|
||||
<xs:enumeration value="FALSE"/>
|
||||
<xs:enumeration value="True"/>
|
||||
<xs:enumeration value="False"/>
|
||||
<xs:enumeration value="true"/>
|
||||
<xs:enumeration value="false"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="UniqueIdentifier">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RelativeFolderPath">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RelativeFilePath">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="LocalizableString">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RelativeUrl">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AssemblyStrongName">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AssemblyClass">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="String255Chars">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="255"/>
|
||||
<xs:minLength value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Int0To1024">
|
||||
<xs:restriction base="xs:long">
|
||||
<xs:minInclusive value="0"/>
|
||||
<xs:maxInclusive value="1024"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="BasicVersion">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AbsoluteOrRelativeUrl">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AbsoluteUrl">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ContentDirection">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="RTL"/>
|
||||
<xs:enumeration value="LTR"/>
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="0"/>
|
||||
<xs:enumeration value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sequence">
|
||||
<xs:restriction base="xs:int">
|
||||
<xs:minInclusive value="0"/>
|
||||
<xs:maxInclusive value="65536"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Int0To65536">
|
||||
<xs:restriction base="xs:long">
|
||||
<xs:minInclusive value="0"/>
|
||||
<xs:maxInclusive value="65536"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="TrueFalseMixed">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="True"/>
|
||||
<xs:enumeration value="False"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NonEmptyString">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="HtmlRenderingElement">
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="AutoHyperLink" type="TRUEFALSE"/>
|
||||
<xs:attribute name="URLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute name="HTMLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute name="AutoNewLine" type="TRUEFALSE"/>
|
||||
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
|
||||
<xs:attribute name="Default" type="xs:string"/>
|
||||
<xs:attribute name="StripWS" type="TRUEFALSE"/>
|
||||
<xs:attribute name="ExpandXML" type="TRUEFALSE"/>
|
||||
<xs:attribute name="AutoHyperLinkNoEncoding" type="TRUEFALSE"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="ListPropertyDefinition">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="HtmlRenderingElement">
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Select" type="xs:string"/>
|
||||
<xs:attribute name="ForInstance" type="TRUEFALSE"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
|
||||
@ -1,115 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema id="Core" targetNamespace="http://schemas.microsoft.com/sharepoint/" elementFormDefault="qualified" xmlns="http://schemas.microsoft.com/sharepoint/" xmlns:mstns="http://schemas.microsoft.com/sharepoint/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" attributeFormDefault="unqualified">
|
||||
<xs:simpleType name="TRUEFALSE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE"/>
|
||||
<xs:enumeration value="FALSE"/>
|
||||
<xs:enumeration value="True"/>
|
||||
<xs:enumeration value="False"/>
|
||||
<xs:enumeration value="true"/>
|
||||
<xs:enumeration value="false"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="UniqueIdentifier">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RelativeFolderPath">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RelativeFilePath">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="LocalizableString">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RelativeUrl">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AssemblyStrongName">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AssemblyClass">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="String255Chars">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="255"/>
|
||||
<xs:minLength value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Int0To1024">
|
||||
<xs:restriction base="xs:long">
|
||||
<xs:minInclusive value="0"/>
|
||||
<xs:maxInclusive value="1024"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="BasicVersion">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AbsoluteOrRelativeUrl">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AbsoluteUrl">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ContentDirection">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="RTL"/>
|
||||
<xs:enumeration value="LTR"/>
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="0"/>
|
||||
<xs:enumeration value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sequence">
|
||||
<xs:restriction base="xs:int">
|
||||
<xs:minInclusive value="0"/>
|
||||
<xs:maxInclusive value="65536"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Int0To65536">
|
||||
<xs:restriction base="xs:long">
|
||||
<xs:minInclusive value="0"/>
|
||||
<xs:maxInclusive value="65536"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="TrueFalseMixed">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="True"/>
|
||||
<xs:enumeration value="False"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NonEmptyString">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="HtmlRenderingElement">
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="AutoHyperLink" type="TRUEFALSE"/>
|
||||
<xs:attribute name="URLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute name="HTMLEncode" type="TRUEFALSE"/>
|
||||
<xs:attribute name="AutoNewLine" type="TRUEFALSE"/>
|
||||
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
|
||||
<xs:attribute name="Default" type="xs:string"/>
|
||||
<xs:attribute name="StripWS" type="TRUEFALSE"/>
|
||||
<xs:attribute name="ExpandXML" type="TRUEFALSE"/>
|
||||
<xs:attribute name="AutoHyperLinkNoEncoding" type="TRUEFALSE"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="ListPropertyDefinition">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="HtmlRenderingElement">
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Select" type="xs:string"/>
|
||||
<xs:attribute name="ForInstance" type="TRUEFALSE"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
|
||||
@ -1,749 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
|
||||
<xs:element name="Lists">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="soap:List"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="List">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" ref="soap:Fields"/>
|
||||
<xs:element minOccurs="0" ref="soap:RegionalSettings"/>
|
||||
<xs:element minOccurs="0" ref="soap:ServerSettings"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="AllowDeletion" use="required" type="xs:string"/>
|
||||
<xs:attribute name="AllowMultiResponses" use="required" type="xs:string"/>
|
||||
<xs:attribute name="AnonymousPermMask" use="required" type="xs:int"/>
|
||||
<xs:attribute name="Author" use="required" type="xs:int"/>
|
||||
<xs:attribute name="BaseType" use="required" type="xs:int"/>
|
||||
<xs:attribute name="CanOpenFileAsync" use="required" type="xs:string"/>
|
||||
<xs:attribute name="Created" use="required"/>
|
||||
<xs:attribute name="DefaultViewUrl" use="required"/>
|
||||
<xs:attribute name="Description" use="required"/>
|
||||
<xs:attribute name="Direction" use="required" type="xs:string"/>
|
||||
<xs:attribute name="DocTemplateUrl" use="required"/>
|
||||
<xs:attribute name="EmailAlias" use="required"/>
|
||||
<xs:attribute name="EnableAssignedToEmail" use="optional" type="xs:string"/>
|
||||
<xs:attribute name="EnableAttachments" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnableFolderCreation" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnableMinorVersion" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnableModeration" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnablePeopleSelector" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnableResourceSelector" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnableVersioning" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EnforceDataValidation" use="required" type="xs:string"/>
|
||||
<xs:attribute name="EventSinkAssembly" use="required"/>
|
||||
<xs:attribute name="EventSinkClass" use="required"/>
|
||||
<xs:attribute name="EventSinkData" use="required"/>
|
||||
<xs:attribute name="ExcludeFromOfflineClient" use="required" type="xs:string"/>
|
||||
<xs:attribute name="FeatureId" use="required"/>
|
||||
<xs:attribute name="Flags" use="required" type="xs:int"/>
|
||||
<xs:attribute name="Followable" use="required" type="xs:string"/>
|
||||
<xs:attribute name="HasExternalDataSource" use="required" type="xs:string"/>
|
||||
<xs:attribute name="HasRelatedLists" use="required" type="xs:string"/>
|
||||
<xs:attribute name="HasUniqueScopes" use="required" type="xs:string"/>
|
||||
<xs:attribute name="Hidden" use="required" type="xs:string"/>
|
||||
<xs:attribute name="ID" use="required"/>
|
||||
<xs:attribute name="ImageUrl" use="required"/>
|
||||
<xs:attribute name="IrmEnabled" use="required" type="xs:string"/>
|
||||
<xs:attribute name="IsApplicationList" use="required" type="xs:string"/>
|
||||
<xs:attribute name="ItemCount" use="required" type="xs:int"/>
|
||||
<xs:attribute name="LastDeleted" use="required"/>
|
||||
<xs:attribute name="MajorVersionLimit" use="required" type="xs:int"/>
|
||||
<xs:attribute name="MajorWithMinorVersionsLimit" use="required" type="xs:int"/>
|
||||
<xs:attribute name="MaxItemsPerThrottledOperation" use="required" type="xs:int"/>
|
||||
<xs:attribute name="MobileDefaultViewUrl" use="required"/>
|
||||
<xs:attribute name="Modified" use="required"/>
|
||||
<xs:attribute name="MultipleDataList" use="required" type="xs:string"/>
|
||||
<xs:attribute name="Name" use="required"/>
|
||||
<xs:attribute name="RelationshipDeleteBehavior" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Restrict" />
|
||||
<xs:enumeration value="Cascade" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="NoThrottleListOperations" use="required" type="xs:string"/>
|
||||
<xs:attribute name="Ordered" use="required" type="xs:string"/>
|
||||
<xs:attribute name="PreserveEmptyValues" use="required" type="xs:string"/>
|
||||
<xs:attribute name="ReadSecurity" use="required" type="xs:int"/>
|
||||
<xs:attribute name="RequireCheckout" use="required" type="xs:string"/>
|
||||
<xs:attribute name="RootFolder" use="required"/>
|
||||
<xs:attribute name="ScopeId" use="required"/>
|
||||
<xs:attribute name="SendToLocation" use="required"/>
|
||||
<xs:attribute name="ServerTemplate" use="required" type="xs:int"/>
|
||||
<xs:attribute name="ShowUser" use="required" type="xs:string"/>
|
||||
<xs:attribute name="StrictTypeCoercion" use="required" type="xs:string"/>
|
||||
<xs:attribute name="ThrottleListOperations" use="required" type="xs:string"/>
|
||||
<xs:attribute name="ThumbnailSize" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:union>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:int'>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Title" use="required" type="xs:string"/>
|
||||
<xs:attribute name="Version" use="required" type="xs:int"/>
|
||||
<xs:attribute name="WebFullUrl" use="required"/>
|
||||
<xs:attribute name="WebId" use="required"/>
|
||||
<xs:attribute name="WebImageHeight" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:union>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:int'>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="WebImageWidth" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:union>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:int'>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="WorkFlowId" use="required"/>
|
||||
<xs:attribute name="WriteSecurity" use="required" type="xs:int"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Fields">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="soap:Field"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="RegionalSettings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:Language"/>
|
||||
<xs:element ref="soap:Locale"/>
|
||||
<xs:element ref="soap:AdvanceHijri"/>
|
||||
<xs:element ref="soap:CalendarType"/>
|
||||
<xs:element ref="soap:Time24"/>
|
||||
<xs:element ref="soap:TimeZone"/>
|
||||
<xs:element ref="soap:SortOrder"/>
|
||||
<xs:element ref="soap:Presence"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Language" type="xs:int"/>
|
||||
<xs:element name="Locale" type="xs:int"/>
|
||||
<xs:element name="AdvanceHijri" type="xs:int"/>
|
||||
<xs:element name="CalendarType" type="xs:int"/>
|
||||
<xs:element name="Time24" type="xs:string"/>
|
||||
<xs:element name="TimeZone" type="xs:int"/>
|
||||
<xs:element name="SortOrder" type="xs:int"/>
|
||||
<xs:element name="Presence" type="xs:string"/>
|
||||
<xs:element name="ServerSettings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:ServerVersion"/>
|
||||
<xs:element ref="soap:RecycleBinEnabled"/>
|
||||
<xs:element ref="soap:ServerRelativeUrl"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ServerVersion" type="xs:NMTOKEN"/>
|
||||
<xs:element name="RecycleBinEnabled" type="xs:string"/>
|
||||
<xs:element name="ServerRelativeUrl" type="xs:string"/>
|
||||
<xs:element name="Field">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element minOccurs="0" ref="soap:CHOICES"/>
|
||||
<xs:element minOccurs="0" ref="soap:Default"/>
|
||||
</xs:choice>
|
||||
<xs:element minOccurs="0" ref="soap:FieldRefs"/>
|
||||
<xs:element minOccurs="0" ref="soap:DisplayPattern"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="AppendOnly" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="AuthoringInfo"/>
|
||||
<xs:attribute name="AllowDuplicateValues" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="CalloutMenu" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="CanToggleHidden" type="xs:string"/>
|
||||
<xs:attribute name="ClassInfo" type="xs:string"/>
|
||||
<xs:attribute name="ColName" type="xs:string"/>
|
||||
<xs:attribute name="ColName2" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="Decimals" type="xs:int" use="optional"/>
|
||||
<xs:attribute name="Description"/>
|
||||
<xs:attribute name="Dir"/>
|
||||
<xs:attribute name="DisplaceOnUpgrade" type="xs:string"/>
|
||||
<xs:attribute name="DisplayName"/>
|
||||
<xs:attribute name="DisplayNameSrcField" type="xs:string"/>
|
||||
<xs:attribute name="EnableLookup" type="xs:string"/>
|
||||
<xs:attribute name="EnforceUniqueValues" type="xs:string"/>
|
||||
<xs:attribute name="FillInChoice" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="FieldRef" type="xs:string"/>
|
||||
<xs:attribute name="Filterable" type="xs:string"/>
|
||||
<xs:attribute name="Format" type="xs:string"/>
|
||||
<xs:attribute name="FriendlyDisplayFormat" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Disabled" />
|
||||
<xs:enumeration value="Enabled" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="FromBaseType" type="xs:string"/>
|
||||
<xs:attribute name="Group" type="xs:string"/>
|
||||
<xs:attribute name="HeaderImage" type="xs:string"/>
|
||||
<xs:attribute name="Hidden" type="xs:string"/>
|
||||
<xs:attribute name="ID"/>
|
||||
<xs:attribute name="Indexed" type="xs:string"/>
|
||||
<xs:attribute name="IsolateStyles" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="JoinColName" type="xs:string"/>
|
||||
<xs:attribute name="JoinRowOrdinal" type="xs:int"/>
|
||||
<xs:attribute name="JoinType" type="xs:string"/>
|
||||
<xs:attribute name="LinkToItemAllowed" type="xs:string"/>
|
||||
<xs:attribute name="List" type="xs:string"/>
|
||||
<xs:attribute name="ListItemMenuAllowed" type="xs:string"/>
|
||||
<xs:attribute name="Max" type="xs:int"/>
|
||||
<xs:attribute name="MaxLength" type="xs:int"/>
|
||||
<xs:attribute name="Min" type="xs:int"/>
|
||||
<xs:attribute name="Name" use="required" type="xs:string"/>
|
||||
<xs:attribute name="NumLines" use="optional" type="xs:int"/>
|
||||
<xs:attribute name="UserSelectionMode" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="PeopleOnly" />
|
||||
<xs:enumeration value="PeopleAndGroup" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="UserSelectionScope" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:int">
|
||||
<xs:enumeration value="0" />
|
||||
<xs:enumeration value="1" />
|
||||
<xs:enumeration value="2" />
|
||||
<xs:enumeration value="3" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Percentage" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="RelationshipDeleteBehavior" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Restrict" />
|
||||
<xs:enumeration value="Cascade" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="PIAttribute" type="xs:string"/>
|
||||
<xs:attribute name="PITarget"/>
|
||||
<xs:attribute name="PrimaryKey" type="xs:string"/>
|
||||
<xs:attribute name="ReadOnly" type="xs:string"/>
|
||||
<xs:attribute name="RenderXMLUsingPattern" type="xs:string"/>
|
||||
<xs:attribute name="ReadOnlyEnforced" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Required" type="xs:string"/>
|
||||
<xs:attribute name="ResultType" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="DateTime" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="RestrictedMode" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="RichText" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="RichTextMode" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Compatible" />
|
||||
<xs:enumeration value="FullHtml" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="RowOrdinal" type="xs:int"/>
|
||||
<xs:attribute name="Sealed" type="xs:string"/>
|
||||
<xs:attribute name="SetAs" type="xs:string"/>
|
||||
<xs:attribute name="ShowField" type="xs:string"/>
|
||||
<xs:attribute name="ShowInEditForm" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="ShowInFileDlg" type="xs:string"/>
|
||||
<xs:attribute name="ShowInVersionHistory" type="xs:string"/>
|
||||
<xs:attribute name="ShowInViewForm" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Sortable" type="xs:string"/>
|
||||
<xs:attribute name="SourceID" type="xs:anyURI"/>
|
||||
<xs:attribute name="StaticName" type="xs:string"/>
|
||||
<xs:attribute name="StorageTZ" type="xs:string"/>
|
||||
<xs:attribute name="TextOnly" type="xs:string"/>
|
||||
<xs:attribute name="Type" type="xs:string"/>
|
||||
<xs:attribute name="UnlimitedLengthInDocumentLibrary" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TRUE" />
|
||||
<xs:enumeration value="FALSE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
|
||||
<xs:attribute name="Version" type="xs:int"/>
|
||||
<xs:attribute name="WebId" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="CHOICES">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="soap:CHOICE"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="CHOICE" type="xs:string"/>
|
||||
<xs:element name="FieldRefs">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="soap:FieldRef"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="FieldRef">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="ID" use="optional" type="xs:string"/>
|
||||
<xs:attribute name="Name" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DisplayPattern">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" ref="soap:CurrentRights"/>
|
||||
<xs:element minOccurs="0" ref="soap:HttpHost"/>
|
||||
<xs:element minOccurs="0" ref="soap:Switch" />
|
||||
<xs:choice>
|
||||
<xs:element ref="soap:FieldSwitch"/>
|
||||
<xs:element ref="soap:IfHasRights"/>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:Counter"/>
|
||||
<xs:element ref="soap:Field"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
<xs:element ref="soap:MapToAll"/>
|
||||
</xs:choice>
|
||||
</xs:choice>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" ref="soap:SetVar"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element ref="soap:IfEqual"/>
|
||||
<xs:element ref="soap:MapToContentType"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Switch" >
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:Expr" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" ref="soap:Case" />
|
||||
<xs:element ref="soap:Default" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
|
||||
|
||||
<xs:element name="CurrentRights">
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<xs:element name="HttpHost">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="URLEncodeAsURL" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="IfHasRights">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:RightsChoices"/>
|
||||
<xs:element ref="soap:Then"/>
|
||||
<xs:element ref="soap:Else"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="RightsChoices">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:RightsGroup"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="RightsGroup">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="PermEditListItems" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MapToAll">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MapToContentType">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:Column"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Default">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Field"/>
|
||||
<xs:element ref="soap:FieldSwitch"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:IfEqual"/>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
<xs:element ref="soap:ScriptQuote"/>
|
||||
<xs:element ref="soap:SetVar"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="HTML" type="xs:string"/>
|
||||
<xs:element name="Column">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Default" />
|
||||
<xs:attribute name="HTMLEncode" type="xs:string"/>
|
||||
<xs:attribute name="Name" use="required" type="xs:string"/>
|
||||
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="LookupColumn">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="HTMLEncode" type="xs:string"/>
|
||||
<xs:attribute name="IncludeVersions" type="xs:string"/>
|
||||
<xs:attribute name="Name" use="required" type="xs:string"/>
|
||||
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="GetVar">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="HTMLEncode" type="xs:string"/>
|
||||
<xs:attribute name="Name" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Counter">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Type" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="FieldSwitch">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Default"/>
|
||||
<xs:element ref="soap:Case"/>
|
||||
<xs:element ref="soap:Expr"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Case">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Field"/>
|
||||
<xs:element ref="soap:FieldSwitch"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:IfEqual"/>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
<xs:element ref="soap:ScriptQuote"/>
|
||||
<xs:element ref="soap:SetVar"/>
|
||||
<xs:element ref="soap:Column"/>
|
||||
</xs:choice>
|
||||
<xs:attribute name="Value" use="required" type="xs:NMTOKEN"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Expr">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:ListProperty"/>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Then">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" ref="soap:IfEqual"/>
|
||||
<xs:element minOccurs="0" ref="soap:Field"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element ref="soap:FieldSwitch"/>
|
||||
<xs:element ref="soap:IfSubString"/>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Counter"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:URL"/>
|
||||
</xs:choice>
|
||||
<xs:element minOccurs="0" ref="soap:LookupColumn"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="IfSubString">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:Expr1"/>
|
||||
<xs:element ref="soap:Expr2"/>
|
||||
<xs:element ref="soap:Then"/>
|
||||
<xs:element ref="soap:Else"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Else">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" ref="soap:MapToIcon"/>
|
||||
<xs:element minOccurs="0" ref="soap:SetVar"/>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:Counter"/>
|
||||
<xs:element ref="soap:Field"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:IfEqual"/>
|
||||
<xs:element ref="soap:ScriptQuote"/>
|
||||
<xs:element ref="soap:URL"/>
|
||||
<xs:element ref="soap:MapToOverlay"/>
|
||||
<xs:element ref="soap:UrlBaseName"/>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
<xs:element ref="soap:IfNew"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MapToOverlay">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:Column"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="UrlBaseName">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="HTMLEncode" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="IfNew">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="soap:HTML"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SetVar">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:FieldSwitch"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:IfEqual"/>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
<xs:element ref="soap:MapToIcon"/>
|
||||
<xs:element ref="soap:SetVar"/>
|
||||
<xs:element ref="soap:FilterLink"/>
|
||||
</xs:choice>
|
||||
<xs:attribute name="Name" use="required" type="xs:string"/>
|
||||
<xs:attribute name="Value" type="xs:int"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="FilterLink">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Default" use="required"/>
|
||||
<xs:attribute name="Paged" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="IfEqual">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Else"/>
|
||||
<xs:element ref="soap:Expr1"/>
|
||||
<xs:element ref="soap:Expr2"/>
|
||||
<xs:element ref="soap:Then"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ScriptQuote">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:Field"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:ListProperty"/>
|
||||
<xs:element ref="soap:MapToControl"/>
|
||||
<xs:element ref="soap:ServerProperty"/>
|
||||
<xs:element ref="soap:UserID"/>
|
||||
</xs:choice>
|
||||
<xs:attribute name="NotAddingQuote" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MapToControl">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ServerProperty">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Select" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="UserID">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="AllowAnonymous" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ListProperty">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Select" use="required" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Expr1">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:GetVar"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:LookupColumn"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Expr2">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
<xs:element ref="soap:MapToIcon"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="URL">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Cmd" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MapToIcon">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="soap:Column"/>
|
||||
<xs:element ref="soap:HTML"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
@ -1,28 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/directory/">
|
||||
<xs:element name="Users">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" ref="soap:User"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="User">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Email" use="optional"/>
|
||||
<xs:attribute name="Flags" use="optional" type="xs:integer"/>
|
||||
<xs:attribute name="ID" use="optional" type="xs:integer"/>
|
||||
<xs:attribute name="IsDomainGroup" use="optional" type="xs:NCName"/>
|
||||
<xs:attribute name="IsSiteAdmin" use="optional" type="xs:NCName"/>
|
||||
<xs:attribute name="LoginName" use="optional"/>
|
||||
<xs:attribute name="Name" use="optional"/>
|
||||
<xs:attribute name="Notes" use="optional"/>
|
||||
<xs:attribute name="Sid" use="optional"/>
|
||||
<xs:attribute name="DisplayName" use="optional"/>
|
||||
<xs:attribute name="Login" use="optional"/>
|
||||
<xs:attribute name="SiteUser" use="optional"/>
|
||||
<xs:attribute name="arg1" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
|
||||
@ -1,102 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import org.junit.BeforeClass;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern@muehlencord.de
|
||||
*/
|
||||
public abstract class BaseTest {
|
||||
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(BaseTest.class.getName());
|
||||
private static SPContext context = null;
|
||||
|
||||
@BeforeClass
|
||||
public static void init() throws MalformedURLException, NoSuchAlgorithmException, KeyManagementException, JAXBException, IOException {
|
||||
SharepointConfig config = new SharepointConfig();
|
||||
config.loadFromFile();
|
||||
|
||||
String domainname = config.getProperty("domainname");
|
||||
String username = config.getProperty("username");
|
||||
String password = config.getProperty("password");
|
||||
String sharepointurl = config.getProperty("sharepointurl");
|
||||
// String workDir = config.getProperty("workdir");
|
||||
|
||||
NtlmAuthenticator credentials = new NtlmAuthenticator(domainname, username, password);
|
||||
context = new SPContext(new java.net.URL(sharepointurl), credentials, SPVersion.SP2010, true);
|
||||
LOGGER.info("Sharepoint context initialized");
|
||||
|
||||
// userGroup = new SPUserGroup(context);
|
||||
}
|
||||
|
||||
public SPContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
||||
/**
|
||||
* reads a file availabe in the test source path and returns its content
|
||||
*
|
||||
* @param fileName fhe filename to read. This is the name realative to the path of class calling this method (the JUnit testclass)
|
||||
* @param encoding the encoding to use while reading
|
||||
* @return the filecontent as string
|
||||
*
|
||||
* @throws java.io.UnsupportedEncodingException
|
||||
*/
|
||||
public static String readFileContentFromTest(String fileName, String encoding) throws UnsupportedEncodingException, IOException {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
InputStreamReader irs = null;
|
||||
InputStream is = null;
|
||||
BufferedReader br = null;
|
||||
String line = null;
|
||||
try {
|
||||
is = BaseTest.class.getResourceAsStream(fileName);
|
||||
irs = new InputStreamReader(is, encoding);
|
||||
br = new BufferedReader(irs);
|
||||
while (null != (line = br.readLine())) {
|
||||
sb.append(line);
|
||||
sb.append("\n");
|
||||
}
|
||||
} catch (UnsupportedEncodingException ex) {
|
||||
throw ex;
|
||||
} catch (IOException ioex) {
|
||||
throw ioex;
|
||||
} finally {
|
||||
try {
|
||||
if (br != null) {
|
||||
br.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
LOGGER.error (ex.toString(), ex);
|
||||
}
|
||||
|
||||
try {
|
||||
if (irs != null) {
|
||||
irs.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
LOGGER.error (ex.toString(), ex);
|
||||
}
|
||||
try {
|
||||
if (is != null) {
|
||||
is.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
LOGGER.error (ex.toString(), ex);
|
||||
}
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.sites.SPSite;
|
||||
import java.net.MalformedURLException;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class NtlmAuthenticatorTest extends BaseTest {
|
||||
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testAuthentication() throws MalformedURLException, NoSuchAlgorithmException, KeyManagementException {
|
||||
SPSite instance = new SPSite(getContext());
|
||||
// instance.getRootWeb();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SharepointConfigTest {
|
||||
|
||||
public SharepointConfigTest() {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testLoadFromFile() throws Exception {
|
||||
SharepointConfig c = new SharepointConfig();
|
||||
c.loadFromFile();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,162 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.BaseTest;
|
||||
import java.io.IOException;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPListTest extends BaseTest {
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testFromXML() throws Exception {
|
||||
String xmlString = readFileContentFromTest("lists/testlist.xml", "UTF-8");
|
||||
SPList list = new SPList(getContext(), "{924883B9-41B7-430C-8206-151786A67319}");
|
||||
assertNotNull(xmlString);
|
||||
list.setValue(xmlString);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void addListItemByTitle() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, SAXException, ParserConfigurationException,
|
||||
IOException {
|
||||
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Test");
|
||||
assertNotNull(list);
|
||||
String listName = list.getListName();
|
||||
assertEquals("Listname", "{D8C8D97E-1065-4674-A8F2-026D6D478794}", listName);
|
||||
|
||||
// get list of all country codes
|
||||
java.util.List<String> columns = new ArrayList<>();
|
||||
columns.add("Title");
|
||||
columns.add("ID");
|
||||
java.util.List<java.util.List<String>> countryCodes = list.getListItems(columns, 300);
|
||||
|
||||
Map<String, String> data = new HashMap<>();
|
||||
data.put("Title", "Test");
|
||||
data.put("Choice", "Enter Choice #1"); // is not checked, possible to add wrong value
|
||||
data.put("Country", "357;#DE"); // reference taken from testGetLookupValuesMap
|
||||
data.put("Number", "17"); // is validating
|
||||
data.put("Lines", "Long text<br>with line breaks"); // line breaks using <br>
|
||||
list.addListItem(data);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void addListItemBigList() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, SAXException, ParserConfigurationException,
|
||||
IOException {
|
||||
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Questionnaire");
|
||||
assertNotNull(list);
|
||||
String listName = list.getListName();
|
||||
assertEquals("Listname", "{4728157C-CFA4-447E-8863-170133FDC351}", listName);
|
||||
|
||||
Map<String, String> data = new HashMap<>();
|
||||
data.put(list.getColumnNameByDisplayName("Country"), "357;#DE");
|
||||
data.put(list.getColumnNameByDisplayName("WNRegion"), "DACH");
|
||||
data.put(list.getColumnNameByDisplayName("AccountManager"), "Jörn");
|
||||
data.put(list.getColumnNameByDisplayName("Customer"), "Mühlencord");
|
||||
data.put(list.getColumnNameByDisplayName("Current OS"), "Windows XP");
|
||||
data.put(list.getColumnNameByDisplayName("PlannedOS"), "migrate to Windows 7");
|
||||
data.put(list.getColumnNameByDisplayName("RolloutStart"), "in 2014");
|
||||
data.put(list.getColumnNameByDisplayName("RolloutEnd"), "in 2015");
|
||||
data.put(list.getColumnNameByDisplayName("InstalledBase"), "2000");
|
||||
data.put(list.getColumnNameByDisplayName("IbaseMigrated"), "1000");
|
||||
data.put(list.getColumnNameByDisplayName("IbaseOrdered"), "500");
|
||||
data.put(list.getColumnNameByDisplayName("IbaseNotOrdered"), "500");
|
||||
data.put(list.getColumnNameByDisplayName("IbaseNotMigrated"), "0");
|
||||
data.put(list.getColumnNameByDisplayName("ReaseonNotMigrated"), "");
|
||||
data.put(list.getColumnNameByDisplayName("Platform"), "ProBase/C");
|
||||
data.put(list.getColumnNameByDisplayName("IbaseOldPlatform"), "0");
|
||||
data.put(list.getColumnNameByDisplayName("Application"), "ProFlex4");
|
||||
data.put(list.getColumnNameByDisplayName("IbaseOldApplication"), "0");
|
||||
data.put(list.getColumnNameByDisplayName("MaintenanceContract"), "none");
|
||||
data.put(list.getColumnNameByDisplayName("Comments"), "This is a test");
|
||||
list.addListItem(data);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetListItems() throws Exception {
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Questionnaire_Countries");
|
||||
assertNotNull(list);
|
||||
java.util.List<String> columns = new ArrayList<>();
|
||||
// columns.add("CountryCode");
|
||||
columns.add("Title");
|
||||
columns.add("ID");
|
||||
java.util.List<java.util.List<String>> smallList = list.getListItems(columns, 30);
|
||||
assertNotNull(smallList);
|
||||
assertEquals("Size smallList", 30, smallList.size());
|
||||
java.util.List<java.util.List<String>> bigList = list.getListItems(columns, 300);
|
||||
assertNotNull(bigList);
|
||||
assertEquals("Size bigList", 249, bigList.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetListItemsQuery() throws Exception {
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Questionnaire_Countries");
|
||||
assertNotNull(list);
|
||||
java.util.List<String> columns = new ArrayList<>();
|
||||
columns.add("Title");
|
||||
columns.add("ID");
|
||||
|
||||
// create query
|
||||
String queryString = "<Query><Where><Eq>"
|
||||
+ "<FieldRef Name=\"Title\" />"
|
||||
+ "<Value Type=\"Text\">DE</Value>"
|
||||
+ "</Eq></Where></Query>";
|
||||
|
||||
java.util.List<java.util.List<String>> smallList = list.getListItems(columns, 30, queryString);
|
||||
// the list contains more than one item but title is a unique value, so it can only
|
||||
// return one row if filtered to one country
|
||||
assertNotNull(smallList);
|
||||
assertEquals("Size smallList", 1, smallList.size());
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetLookupValueMap() throws Exception {
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Questionnaire_Countries");
|
||||
Map<String, String> lookupValues = list.getLookupValueMap("Title", 0);
|
||||
System.out.println(lookupValues);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetColumnNameByDisplayName() throws Exception {
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Questionnaire");
|
||||
assertEquals("Displayname of Current OS", "Current_x0020_OS", list.getColumnNameByDisplayName("Current OS"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetItemCount() throws Exception {
|
||||
SPLists instance = new SPLists(getContext());
|
||||
SPList list = instance.getSpListByTitle("Questionnaire");
|
||||
assertTrue(list.getItemCount() > 0);
|
||||
}
|
||||
}
|
||||
@ -1,37 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.BaseTest;
|
||||
import static de.muehlencord.shared.sharepoint.api.BaseTest.readFileContentFromTest;
|
||||
import java.io.IOException;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPListsTest extends BaseTest {
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testFromXML() throws IOException, JAXBException, SAXException {
|
||||
String xmlString = readFileContentFromTest("lists/testlists.xml", "UTF-8");
|
||||
SPLists lists = new SPLists(getContext());
|
||||
lists.setValue (xmlString);
|
||||
System.out.println(xmlString);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetListName() throws Exception {
|
||||
SPLists instance = new SPLists(getContext());
|
||||
String listName = instance.getListNameByTitle("Questionnaire");
|
||||
assertEquals("Listname", "{4728157C-CFA4-447E-8863-170133FDC351}", listName);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,83 +0,0 @@
|
||||
package de.muehlencord.shared.sharepoint.api.usergroup;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.BaseTest;
|
||||
import static de.muehlencord.shared.sharepoint.api.BaseTest.readFileContentFromTest;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class SPUserGroupTest extends BaseTest {
|
||||
|
||||
private final static Logger LOGGER = LoggerFactory.getLogger(SPUserGroupTest.class.getName());
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void testFromXML() throws Exception {
|
||||
String xmlString = readFileContentFromTest("usergroups/user.xml", "UTF-8");
|
||||
SPUser user = new SPUser(getContext());
|
||||
assertNotNull(xmlString);
|
||||
user.setValue(xmlString);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testGetUserInfo() throws Exception {
|
||||
SPUserGroup ug = new SPUserGroup(getContext());
|
||||
String userId = ug.getUserId("wincor-nixdorf\\joern.muehlencord");
|
||||
assertEquals("Userid", "16", userId);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testAddUserToGroup() throws Exception {
|
||||
SPUserGroup ug = new SPUserGroup(getContext());
|
||||
ug.addUserToGroup("wincor-nixdorf\\joern.muehlencord", "Test Group");
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void testIsUserMemberOfGroup() throws Exception {
|
||||
SPUserGroup ug = new SPUserGroup(getContext());
|
||||
boolean result = ug.isUserMemberOfGroup("wincor-nixdorf\\joern.muehlencord", "HQ All Members");
|
||||
assertEquals("HQ All membership", true, result);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void getUserLoginNameFromEmail() throws Exception {
|
||||
SPUserGroup ug = new SPUserGroup(getContext());
|
||||
SPUser user = ug.getUserFromEmail("joern.muehlencord@wincor-nixdorf.com");
|
||||
assertEquals("UserLogin", "wincor-nixdorf\\joern.muehlencord", user.getUserLoginName());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled // Depends on available sharepoint currently
|
||||
public void getUserFromEmail() throws Exception {
|
||||
SPUserGroup ug = new SPUserGroup(getContext());
|
||||
String user1Email = "nicole.cravo@wincor-nixdorf.com";
|
||||
SPUser user1 = ug.getUserFromEmail(user1Email);
|
||||
String user2Email = "joern.muehlencord@wincor-nixdorf.com";
|
||||
SPUser user2 = ug.getUserFromEmail(user2Email);
|
||||
|
||||
|
||||
LOGGER.info ("loginName1={}", user1.getUserLoginName());
|
||||
LOGGER.info ("userId1={}", ug.getUserId(user1.getUserLoginName()));
|
||||
LOGGER.info ("loginName2={}", user2.getUserLoginName());
|
||||
LOGGER.info ("userId2={}", ug.getUserId(user2.getUserLoginName()));
|
||||
// String userId1 = ug.getUserId(user1.getUserName());
|
||||
// userId1 = user1.getUserID();
|
||||
|
||||
// SPUser user2 = ug.getUserFromEmail(email);
|
||||
// assertNotNull (user2);
|
||||
// String userId2 = user2.getUserID();
|
||||
// assertEquals("userid", "wincor-nixdorf\\joern.muehlencord", userId2);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Query xmlns="http://schemas.microsoft.com/sharepoint/">
|
||||
<Where>
|
||||
<And>
|
||||
<And>
|
||||
<Contains>
|
||||
<FieldRef Name="Editor" />
|
||||
<Value Type="Text">Chandler</Value>
|
||||
</Contains>
|
||||
<Contains>
|
||||
<FieldRef Name="FileRef" />
|
||||
<Value Type="Text">AuditDeleteTesting</Value>
|
||||
</Contains>
|
||||
</And>
|
||||
<Eq>
|
||||
<FieldRef Name="Created_x0020_Date" />
|
||||
<Value Type="DateTime">2013-09-11</Value>
|
||||
</Eq>
|
||||
</And>
|
||||
|
||||
</Where>
|
||||
</CamlQueryRoot>
|
||||
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Batch>
|
||||
<Method ID="1" Cmd="Update">
|
||||
<Field Name="ID">6</Field>
|
||||
<Field Name="Title">Modified sixth item</Field>
|
||||
</Method>
|
||||
<Method ID="2" Cmd="Update">
|
||||
<Field Name="ID">7</Field>
|
||||
<Field Name="Title">Modified seventh item</Field>
|
||||
</Method>
|
||||
<Method ID="3" Cmd="Delete">
|
||||
<Field Name="ID">5</Field>
|
||||
</Method>
|
||||
<Method ID="4" Cmd="New">
|
||||
<Field Name="Title">Added item</Field>
|
||||
</Method>
|
||||
</Batch>
|
||||
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Batch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation='../../main/resources/xsd/batch.xsd'>
|
||||
<Method ID="1" Cmd="Update">
|
||||
<Field Name="ID">6</Field>
|
||||
<Field Name="Title">Modified sixth item</Field>
|
||||
</Method>
|
||||
<Method ID="2" Cmd="Update">
|
||||
<Field Name="ID">7</Field>
|
||||
<Field Name="Title">Modified seventh item</Field>
|
||||
</Method>
|
||||
<Method ID="3" Cmd="Delete">
|
||||
<Field Name="ID">5</Field>
|
||||
</Method>
|
||||
<Method ID="4" Cmd="New">
|
||||
<Field Name="Title">Added item</Field>
|
||||
</Method>
|
||||
</Batch>
|
||||
@ -1,811 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<List xmlns="http://schemas.microsoft.com/sharepoint/soap/" AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150129 12:16:04" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire_Countries/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="{00BFEA71-DE22-43B2-A848-C05709900100}" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="True" HasUniqueScopes="False" Hidden="False" ID="{924883B9-41B7-430C-8206-151786A67319}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="250" LastDeleted="20150129 12:36:51" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 12:40:02" MultipleDataList="False" Name="{924883B9-41B7-430C-8206-151786A67319}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire_Countries" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="0" Title="Questionnaire_Countries" Version="2" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="0" WebImageWidth="0" WorkFlowId="00000000-0000-0000-0000-000000000000" WriteSecurity="1">
|
||||
<Fields>
|
||||
<Field ColName="tp_ContentTypeId" DisplaceOnUpgrade="TRUE" DisplayName="Content Type ID" FromBaseType="TRUE" Hidden="TRUE" ID="{03e45e84-1992-4d42-9116-26f756012634}" Name="ContentTypeId" ReadOnly="TRUE" RowOrdinal="0" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentTypeId" Type="ContentTypeId"/>
|
||||
<Field ColName="nvarchar1" Description="ISO-3166-1 country code" DisplayName="CountryCode" EnforceUniqueValues="FALSE" FromBaseType="TRUE" ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Indexed="FALSE" MaxLength="2" Name="Title" Required="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" Type="Text" Version="1"/>
|
||||
<Field CanToggleHidden="TRUE" ColName="ntext1" DisplayName="Approver Comments" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{34ad21eb-75bd-4544-8c73-0e08330291fe}" Name="_ModerationComments" ReadOnly="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationComments" Type="Note"/>
|
||||
<Field AuthoringInfo="(linked to item)" Dir="" DisplayName="CountryCode" DisplayNameSrcField="Title" EnableLookup="TRUE" FromBaseType="TRUE" ID="{bc91a437-52e7-49e1-8c4e-4698904b2b6d}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Prohibited" Name="LinkTitleNoMenu" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitleNoMenu" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="Title"/>
|
||||
<FieldRef Name="LinkFilenameNoMenu"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<Field Name="LinkFilenameNoMenu"/>
|
||||
</Then>
|
||||
<Else>
|
||||
<HTML><a onfocus="OnLink(this)" href="</HTML>
|
||||
<URL/>
|
||||
<HTML>" onclick="EditLink2(this,</HTML>
|
||||
<Counter Type="View"/>
|
||||
<HTML>);return false;" target="_self"></HTML>
|
||||
<Column Default="(no title)" HTMLEncode="TRUE" Name="Title"/>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<GetVar Name="ShowAccessibleIcon"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<HTML><img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/></HTML>
|
||||
</Then>
|
||||
</IfEqual>
|
||||
<HTML></a></HTML>
|
||||
<IfNew>
|
||||
<HTML><img src="/_layouts/1033/images/new.gif" alt="</HTML>
|
||||
<HTML>New</HTML>
|
||||
<HTML>" class="ms-newgif" /></HTML>
|
||||
</IfNew>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(linked to item with edit menu)" ClassInfo="Menu" DisplayName="CountryCode" DisplayNameSrcField="Title" FromBaseType="TRUE" ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Required" Name="LinkTitle" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitle" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="Title"/>
|
||||
<FieldRef Name="LinkTitleNoMenu"/>
|
||||
<FieldRef Name="_EditMenuTableStart2"/>
|
||||
<FieldRef Name="_EditMenuTableEnd"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="FreeForm"/>
|
||||
</Expr>
|
||||
<Case Value="TRUE">
|
||||
<Field Name="LinkTitleNoMenu"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<HTML><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx</HTML>
|
||||
<Field Name="_EditMenuTableStart2"/>
|
||||
<HTML>"></HTML>
|
||||
<Field Name="LinkTitleNoMenu"/>
|
||||
<HTML></div></HTML>
|
||||
<HTML><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"></HTML>
|
||||
<HTML><span>&nbsp;</span></HTML>
|
||||
<HTML><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a></HTML>
|
||||
<HTML><span>&nbsp;</span></HTML>
|
||||
<HTML></div></HTML>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(linked to item with edit menu) (old)" ClassInfo="Menu" DisplayName="CountryCode" DisplayNameSrcField="Title" FromBaseType="TRUE" Hidden="TRUE" ID="{5f190d91-3dbc-4489-9878-3c092caf35b6}" Name="LinkTitle2" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitle2" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="Title"/>
|
||||
<FieldRef Name="LinkTitleNoMenu"/>
|
||||
<FieldRef Name="_EditMenuTableStart"/>
|
||||
<FieldRef Name="_EditMenuTableEnd"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="FreeForm"/>
|
||||
</Expr>
|
||||
<Case Value="TRUE">
|
||||
<Field Name="LinkTitleNoMenu"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<Field Name="_EditMenuTableStart"/>
|
||||
<SetVar Name="ShowAccessibleIcon" Value="1"/>
|
||||
<Field Name="LinkTitleNoMenu"/>
|
||||
<SetVar Name="ShowAccessibleIcon" Value="0"/>
|
||||
<Field Name="_EditMenuTableEnd"/>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field ColName="nvarchar2" DisplaceOnUpgrade="TRUE" DisplayName="File Type" FromBaseType="TRUE" Hidden="TRUE" ID="{39360f11-34cf-4356-9945-25c44e68dade}" Name="File_x0020_Type" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="File_x0020_Type" Type="Text"/>
|
||||
<Field ColName="tp_ID" DisplayName="ID" FromBaseType="TRUE" ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Name="ID" PrimaryKey="TRUE" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ID" Type="Counter"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Content Type" FromBaseType="TRUE" Group="_Hidden" ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" PIAttribute="ContentTypeID" PITarget="MicrosoftWindowsSharePointServices" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="ContentTypeId"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<MapToContentType>
|
||||
<Column Name="ContentTypeId"/>
|
||||
</MapToContentType>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field ColName="tp_Modified" DisplayName="Modified" FromBaseType="TRUE" ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Modified" StorageTZ="TRUE" Type="DateTime"/>
|
||||
<Field ColName="tp_Created" DisplayName="Created" FromBaseType="TRUE" ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Name="Created" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created" StorageTZ="TRUE" Type="DateTime"/>
|
||||
<Field ColName="tp_Author" DisplayName="Created By" FromBaseType="TRUE" ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" List="UserInfo" Name="Author" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Author" Type="User"/>
|
||||
<Field ColName="tp_Editor" DisplayName="Modified By" FromBaseType="TRUE" ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" List="UserInfo" Name="Editor" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Editor" Type="User"/>
|
||||
<Field ColName="tp_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" FromBaseType="TRUE" Hidden="TRUE" ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" Name="_HasCopyDestinations" ReadOnly="TRUE" RowOrdinal="0" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_HasCopyDestinations" Type="Boolean"/>
|
||||
<Field ColName="tp_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" FromBaseType="TRUE" Hidden="TRUE" ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" Name="_CopySource" ReadOnly="TRUE" RowOrdinal="0" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CopySource" Type="Text"/>
|
||||
<Field ColName="tp_Version" DisplayName="owshiddenversion" FromBaseType="TRUE" Hidden="TRUE" ID="{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}" Name="owshiddenversion" ReadOnly="TRUE" RowOrdinal="0" SetAs="owshiddenversion" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="owshiddenversion" Type="Integer"/>
|
||||
<Field ColName="tp_WorkflowVersion" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Version" FromBaseType="TRUE" Hidden="TRUE" ID="{f1e020bc-ba26-443f-bf2f-b68715017bbc}" Name="WorkflowVersion" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkflowVersion" Type="Integer"/>
|
||||
<Field CanToggleHidden="TRUE" ColName="tp_UIVersion" DisplaceOnUpgrade="TRUE" DisplayName="UI Version" FromBaseType="TRUE" Hidden="TRUE" ID="{7841bf41-43d0-4434-9f50-a673baef7631}" Name="_UIVersion" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_UIVersion" Type="Integer"/>
|
||||
<Field CanToggleHidden="TRUE" ColName="tp_UIVersionString" DisplaceOnUpgrade="TRUE" DisplayName="Version" FromBaseType="TRUE" ID="{dce8262a-3ae9-45aa-aab4-83bd75fb738a}" Name="_UIVersionString" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_UIVersionString" Type="Text"/>
|
||||
<Field ColName="tp_HasAttachment" DisplayName="Attachments" FromBaseType="TRUE" ID="{67df98f4-9dec-48ff-a553-29bece9c5bf4}" Name="Attachments" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Attachments" Type="Attachments"/>
|
||||
<Field CanToggleHidden="TRUE" ColName="tp_ModerationStatus" DisplayName="Approval Status" FromBaseType="TRUE" Hidden="TRUE" ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" Name="_ModerationStatus" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationStatus" Type="ModStat">
|
||||
<CHOICES>
|
||||
<CHOICE>0;#Approved</CHOICE>
|
||||
<CHOICE>1;#Rejected</CHOICE>
|
||||
<CHOICE>2;#Pending</CHOICE>
|
||||
<CHOICE>3;#Draft</CHOICE>
|
||||
<CHOICE>4;#Scheduled</CHOICE>
|
||||
</CHOICES>
|
||||
<Default>0</Default>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(link to edit item)" ClassInfo="Icon" DisplayName="Edit" Filterable="FALSE" FromBaseType="TRUE" ID="{503f1caa-358e-4918-9094-4a2cdc4bc034}" Name="Edit" ReadOnly="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Edit" Type="Computed">
|
||||
<DisplayPattern>
|
||||
<IfHasRights>
|
||||
<RightsChoices>
|
||||
<RightsGroup PermEditListItems="required"/>
|
||||
</RightsChoices>
|
||||
<Then>
|
||||
<HTML><a href="</HTML>
|
||||
<URL Cmd="Edit"/>
|
||||
<HTML>" onclick="EditLink(this, </HTML>
|
||||
<Counter Type="View"/>
|
||||
<HTML>);return false;" target="_self"></HTML>
|
||||
<HTML><img border="0" alt="</HTML>
|
||||
<HTML>Edit</HTML>
|
||||
<HTML>" src="/_layouts/15/images/edititem.gif?rev=23"/></HTML>
|
||||
<HTML></a></HTML>
|
||||
</Then>
|
||||
<Else>
|
||||
<HTML>&#160;</HTML>
|
||||
</Else>
|
||||
</IfHasRights>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(web part connection)" CanToggleHidden="TRUE" Dir="" DisplayName="Select" Filterable="FALSE" FromBaseType="TRUE" HeaderImage="blank.gif" Hidden="TRUE" ID="{b1f7969b-ea65-42e1-8b54-b588292635f2}" Name="SelectTitle" ReadOnly="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SelectTitle" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="ID"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<GetVar Name="SelectedID"/>
|
||||
</Expr1>
|
||||
<Expr2>
|
||||
<Column Name="ID"/>
|
||||
</Expr2>
|
||||
<Then>
|
||||
<HTML><img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbsel.gif?rev=23" alt="</HTML>
|
||||
<HTML>Selected</HTML>
|
||||
<HTML>"/></HTML>
|
||||
</Then>
|
||||
<Else>
|
||||
<HTML><a href="javascript:SelectField('</HTML>
|
||||
<GetVar Name="View"/>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Column Name="ID"/>
|
||||
</ScriptQuote>
|
||||
<HTML>');return false;" onclick="javascript:SelectField('</HTML>
|
||||
<GetVar Name="View"/>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Column Name="ID"/>
|
||||
</ScriptQuote>
|
||||
<HTML>');return false;" target="_self"></HTML>
|
||||
<HTML><img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbunsel.gif?rev=23" alt="</HTML>
|
||||
<HTML>Normal</HTML>
|
||||
<HTML>"/></HTML>
|
||||
<HTML></a></HTML>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field ColName="tp_InstanceID" DisplayName="Instance ID" Filterable="TRUE" FromBaseType="TRUE" Hidden="TRUE" ID="{50a54da4-1528-4e67-954a-e2d24f1e9efb}" Max="99991231" Min="0" Name="InstanceID" ReadOnly="TRUE" RowOrdinal="0" Sortable="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="InstanceID" Type="Integer"/>
|
||||
<Field ColName="tp_ItemOrder" DisplayName="Order" FromBaseType="TRUE" Hidden="TRUE" ID="{ca4addac-796f-4b23-b093-d2a3f65c0774}" Name="Order" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Order" Type="Number"/>
|
||||
<Field ColName="tp_GUID" DisplayName="GUID" FromBaseType="TRUE" Hidden="TRUE" ID="{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}" Name="GUID" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="GUID" Type="Guid"/>
|
||||
<Field ColName="tp_WorkflowInstanceID" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Instance ID" FromBaseType="TRUE" Hidden="TRUE" ID="{de8beacf-5505-47cd-80a6-aa44e7ffe2f4}" Name="WorkflowInstanceID" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkflowInstanceID" Type="Guid"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="URL Path" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FileRef" ReadOnly="TRUE" ShowField="FullUrl" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileRef" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Path" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FileDirRef" ReadOnly="TRUE" ShowField="DirName" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileDirRef" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Modified" FieldRef="ID" Format="TRUE" FromBaseType="TRUE" Hidden="TRUE" ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="Last_x0020_Modified" ReadOnly="TRUE" ShowField="TimeLastModified" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Last_x0020_Modified" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Created" FieldRef="ID" Format="TRUE" FromBaseType="TRUE" Hidden="TRUE" ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="Created_x0020_Date" ReadOnly="TRUE" ShowField="TimeCreated" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created_x0020_Date" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Item Type" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FSObjType" ReadOnly="TRUE" ShowField="FSType" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FSObjType" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Sort Type" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="SortBehavior" ReadOnly="TRUE" ShowField="SortBehavior" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SortBehavior" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Effective Permissions Mask" FromBaseType="TRUE" Hidden="TRUE" ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="PermMask" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="ID"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<CurrentRights/>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(for use in forms)" DisplaceOnUpgrade="TRUE" DisplayName="Name" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FileLeafRef" ShowField="LeafName" ShowInFileDlg="FALSE" ShowInVersionHistory="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileLeafRef" Type="File"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Unique Id" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="UniqueId" ReadOnly="TRUE" ShowField="UniqueId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="UniqueId" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Client Id" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="SyncClientId" ReadOnly="TRUE" ShowField="SyncClientId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SyncClientId" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="ProgId" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="ProgId" ReadOnly="TRUE" ShowField="ProgId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ProgId" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="ScopeId" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{dddd2420-b270-4735-93b5-92b713d0944d}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="ScopeId" ReadOnly="TRUE" ShowField="ScopeId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ScopeId" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="HTML File Type" FromBaseType="TRUE" Hidden="TRUE" ID="{4ef1b78f-fdba-48dc-b8ab-3fa06a0c9804}" Name="HTML_x0020_File_x0020_Type" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="HTML_x0020_File_x0020_Type" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="File_x0020_Type"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern/>
|
||||
</Field>
|
||||
<Field ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" FromBaseType="TRUE" Hidden="TRUE" ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Name="_EditMenuTableStart" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableStart" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="FileLeafRef"/>
|
||||
<FieldRef Name="FileDirRef"/>
|
||||
<FieldRef Name="FSObjType"/>
|
||||
<FieldRef Name="ID"/>
|
||||
<FieldRef Name="ServerUrl"/>
|
||||
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
|
||||
<FieldRef Name="File_x0020_Type"/>
|
||||
<FieldRef Name="PermMask"/>
|
||||
<FieldRef Name="_HasCopyDestinations"/>
|
||||
<FieldRef Name="_CopySource"/>
|
||||
<FieldRef Name="ContentType"/>
|
||||
<FieldRef Name="ContentTypeId"/>
|
||||
<FieldRef Name="_ModerationStatus"/>
|
||||
<FieldRef Name="_UIVersion"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<HTML><div class="ms-vb" onmouseover="OnItem(this)" CTXName="ctx</HTML>
|
||||
<Counter Type="View"/>
|
||||
<HTML>" id="</HTML>
|
||||
<Column HTMLEncode="TRUE" Name="ID"/>
|
||||
<HTML>" Url="</HTML>
|
||||
<Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>
|
||||
<HTML>" DRef="</HTML>
|
||||
<Field Name="FileDirRef"/>
|
||||
<HTML>" Perm="</HTML>
|
||||
<Field Name="PermMask"/>
|
||||
<HTML>" type="</HTML>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>" Ext="</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
<HTML>" Icon="</HTML>
|
||||
<MapToAll>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</MapToAll>
|
||||
<HTML>" OType="</HTML>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
<HTML>" COUId="</HTML>
|
||||
<HTML>" HCD="</HTML>
|
||||
<Column Name="_HasCopyDestinations"/>
|
||||
<HTML>" CSrc="</HTML>
|
||||
<Column Name="_CopySource" URLEncodeAsURL="TRUE"/>
|
||||
<HTML>" MS="</HTML>
|
||||
<Column Name="_ModerationStatus"/>
|
||||
<HTML>" CType="</HTML>
|
||||
<Column HTMLEncode="TRUE" Name="ContentType"/>
|
||||
<HTML>" CId="</HTML>
|
||||
<Column Name="ContentTypeId"/>
|
||||
<HTML>" UIS="</HTML>
|
||||
<Column Name="_UIVersion"/>
|
||||
<GetVar Name="_EditMenuTableExtra"/>
|
||||
<HTML>" SUrl="</HTML>
|
||||
<HTML>"></HTML>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" FromBaseType="TRUE" Hidden="TRUE" ID="{1344423c-c7f9-4134-88e4-ad842e2d723c}" Name="_EditMenuTableStart2" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableStart2" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="ID"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<Counter Type="View"/>
|
||||
<HTML>" id="</HTML>
|
||||
<Column HTMLEncode="TRUE" Name="ID"/>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table End" FromBaseType="TRUE" Hidden="TRUE" ID="{2ea78cef-1bf9-4019-960a-02c41636cb47}" Name="_EditMenuTableEnd" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableEnd" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="ID"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<HTML></div></HTML>
|
||||
<HTML><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"></HTML>
|
||||
<HTML><span>&nbsp;</span></HTML>
|
||||
<HTML><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a></HTML>
|
||||
<HTML><span>&nbsp;</span></HTML>
|
||||
<HTML></div></HTML>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(linked to document)" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{9d30f126-ba48-446b-b8f9-83745f322ebe}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Prohibited" Name="LinkFilenameNoMenu" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilenameNoMenu" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="FileLeafRef"/>
|
||||
<FieldRef Name="FSObjType"/>
|
||||
<FieldRef Name="Created_x0020_Date"/>
|
||||
<FieldRef Name="FileRef"/>
|
||||
<FieldRef Name="File_x0020_Type"/>
|
||||
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
|
||||
<FieldRef Name="ContentTypeId"/>
|
||||
<FieldRef Name="PermMask"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="RecursiveView"/>
|
||||
</Expr>
|
||||
<Case Value="1">
|
||||
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<SetVar Name="UnencodedFilterLink">
|
||||
<SetVar Name="RootFolder">
|
||||
<HTML>/</HTML>
|
||||
<LookupColumn Name="FileRef"/>
|
||||
</SetVar>
|
||||
<SetVar Name="SkipHost">1</SetVar>
|
||||
<SetVar Name="FolderCTID">
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<ListProperty Select="EnableContentTypes"/>
|
||||
</Expr>
|
||||
<Case Value="1">
|
||||
<Column Name="ContentTypeId"/>
|
||||
</Case>
|
||||
</FieldSwitch>
|
||||
</SetVar>
|
||||
<FilterLink Default="" Paged="FALSE"/>
|
||||
</SetVar>
|
||||
<HTML><a onfocus="OnLink(this)" href="</HTML>
|
||||
<GetVar HTMLEncode="TRUE" Name="UnencodedFilterLink"/>
|
||||
<HTML>" onmousedown="javascript:VerifyFolderHref(this,event, '</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<GetVar Name="UnencodedFilterLink"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ListProperty Select="DefaultItemOpen"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<MapToControl>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</MapToControl>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>')"</HTML>
|
||||
<HTML>" onclick="return HandleFolder(this,event, '</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<GetVar Name="UnencodedFilterLink"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ServerProperty Select="HtmlTransform"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ListProperty Select="DefaultItemOpen"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<MapToControl>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</MapToControl>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<UserID AllowAnonymous="TRUE"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ListProperty Select="ForceCheckout"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Field Name="PermMask"/>
|
||||
</ScriptQuote>
|
||||
<HTML>');"></HTML>
|
||||
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<GetVar Name="ShowAccessibleIcon"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<HTML><img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/></HTML>
|
||||
</Then>
|
||||
</IfEqual>
|
||||
<HTML></a></HTML>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</Then>
|
||||
<Else>
|
||||
<HTML><a onfocus="OnLink(this)" href="</HTML>
|
||||
<Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>
|
||||
<HTML>" onclick="return DispEx(this,event,'</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ServerProperty Select="HtmlTransform"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ListProperty Select="DefaultItemOpen"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<MapToControl>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</MapToControl>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<UserID AllowAnonymous="TRUE"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<ListProperty Select="ForceCheckout"/>
|
||||
</ScriptQuote>
|
||||
<HTML>','</HTML>
|
||||
<HTML>','</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<Field Name="PermMask"/>
|
||||
</ScriptQuote>
|
||||
<HTML>')"></HTML>
|
||||
<UrlBaseName HTMLEncode="TRUE">
|
||||
<LookupColumn Name="FileLeafRef"/>
|
||||
</UrlBaseName>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<GetVar Name="ShowAccessibleIcon"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<HTML><img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/></HTML>
|
||||
</Then>
|
||||
</IfEqual>
|
||||
<HTML></a></HTML>
|
||||
<IfNew Name="Created_x0020_Date">
|
||||
<HTML><img src="/_layouts/15/1033/images/new.gif" alt="</HTML>
|
||||
<HTML>New</HTML>
|
||||
<HTML>" class="ms-newgif" /></HTML>
|
||||
</IfNew>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(linked to document with edit menu)" ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{5cc6dc79-3710-4374-b433-61cb4a686c12}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Required" Name="LinkFilename" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilename" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="LinkFilenameNoMenu"/>
|
||||
<FieldRef Name="_EditMenuTableStart2"/>
|
||||
<FieldRef Name="_EditMenuTableEnd"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="FreeForm"/>
|
||||
</Expr>
|
||||
<Case Value="TRUE">
|
||||
<Field Name="LinkFilenameNoMenu"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<HTML><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx</HTML>
|
||||
<Field Name="_EditMenuTableStart2"/>
|
||||
<HTML>"></HTML>
|
||||
<Field Name="LinkFilenameNoMenu"/>
|
||||
<HTML></div></HTML>
|
||||
<HTML><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"></HTML>
|
||||
<HTML><span>&nbsp;</span></HTML>
|
||||
<HTML><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a></HTML>
|
||||
<HTML><span>&nbsp;</span></HTML>
|
||||
<HTML></div></HTML>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(linked to document with edit menu) (old)" ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{224ba411-da77-4050-b0eb-62d422f13d3e}" Name="LinkFilename2" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilename2" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="LinkFilenameNoMenu"/>
|
||||
<FieldRef Name="_EditMenuTableStart"/>
|
||||
<FieldRef Name="_EditMenuTableEnd"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="FreeForm"/>
|
||||
</Expr>
|
||||
<Case Value="TRUE">
|
||||
<Field Name="LinkFilenameNoMenu"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<Field Name="_EditMenuTableStart"/>
|
||||
<SetVar Name="ShowAccessibleIcon" Value="1"/>
|
||||
<Field Name="LinkFilenameNoMenu"/>
|
||||
<SetVar Name="ShowAccessibleIcon" Value="0"/>
|
||||
<Field Name="_EditMenuTableEnd"/>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field AuthoringInfo="(icon linked to document)" ClassInfo="Icon" DisplaceOnUpgrade="TRUE" DisplayName="Type" FromBaseType="TRUE" ID="{081c6e4c-5c14-4f20-b23e-1a71ceb6a67c}" Name="DocIcon" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="DocIcon" TextOnly="TRUE" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="File_x0020_Type"/>
|
||||
<FieldRef Name="FSObjType"/>
|
||||
<FieldRef Name="FileRef"/>
|
||||
<FieldRef Name="FileLeafRef"/>
|
||||
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
|
||||
<FieldRef Name="PermMask"/>
|
||||
<FieldRef Name="IconOverlay"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<SetVar Name="DocIconImg">
|
||||
<SetVar Name="DocIconAltText">
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<IfSubString>
|
||||
<Expr1>0x0120D5</Expr1>
|
||||
<Expr2>
|
||||
<Column Name="ContentTypeId"/>
|
||||
</Expr2>
|
||||
<Then>
|
||||
<HTML>Document Collection: </HTML>
|
||||
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
|
||||
</Then>
|
||||
<Else>
|
||||
<HTML>Folder: </HTML>
|
||||
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
|
||||
</Else>
|
||||
</IfSubString>
|
||||
</Then>
|
||||
<Else>
|
||||
<LookupColumn HTMLEncode="TRUE" Name="Title"/>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</SetVar>
|
||||
<SetVar Name="DocIconFileName">
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<Column Name="IconOverlay"/>
|
||||
</Expr1>
|
||||
<Expr2/>
|
||||
<Then>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</Expr1>
|
||||
<Expr2>
|
||||
<HTML>|</HTML>
|
||||
</Expr2>
|
||||
<Then>
|
||||
<HTML>folder.gif</HTML>
|
||||
</Then>
|
||||
<Else>
|
||||
<SetVar Name="FolderIconFromMap">
|
||||
<MapToIcon>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</MapToIcon>
|
||||
</SetVar>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<GetVar Name="FolderIconFromMap"/>
|
||||
</Expr1>
|
||||
<Expr2>
|
||||
<MapToIcon/>
|
||||
</Expr2>
|
||||
<Then>
|
||||
<HTML>folder.gif</HTML>
|
||||
</Then>
|
||||
<Else>
|
||||
<GetVar Name="FolderIconFromMap"/>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</Then>
|
||||
<Else>
|
||||
<MapToIcon>
|
||||
<Column Name="HTML_x0020_File_x0020_Type"/>
|
||||
<HTML>|</HTML>
|
||||
<Column Name="File_x0020_Type"/>
|
||||
</MapToIcon>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</Then>
|
||||
<Else>
|
||||
<MapToIcon>
|
||||
<Column Name="IconOverlay"/>
|
||||
</MapToIcon>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</SetVar>
|
||||
<HTML><img border="0" alt="</HTML>
|
||||
<GetVar Name="DocIconAltText"/>
|
||||
<HTML>" title="</HTML>
|
||||
<GetVar Name="DocIconAltText"/>
|
||||
<HTML>" src="/_layouts/15/images/</HTML>
|
||||
<GetVar Name="DocIconFileName"/>
|
||||
<HTML>" /></HTML>
|
||||
</SetVar>
|
||||
<SetVar Name="DocIconOverlayImg">
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<Column Name="IconOverlay"/>
|
||||
</Expr1>
|
||||
<Expr2/>
|
||||
<Then/>
|
||||
<Else>
|
||||
<HTML><img class="ms-vb-icon-overlay" alt="*" src="/_layouts/15/images/</HTML>
|
||||
<MapToOverlay>
|
||||
<Column Name="IconOverlay"/>
|
||||
</MapToOverlay>
|
||||
<HTML>" /></HTML>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</SetVar>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="RecursiveView"/>
|
||||
</Expr>
|
||||
<Case Value="1">
|
||||
<GetVar Name="DocIconImg"/>
|
||||
<GetVar Name="DocIconOverlayImg"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<SetVar Name="UnencodedFilterLink">
|
||||
<SetVar Name="RootFolder">
|
||||
<HTML>/</HTML>
|
||||
<LookupColumn Name="FileRef"/>
|
||||
</SetVar>
|
||||
<SetVar Name="SkipHost">1</SetVar>
|
||||
<SetVar Name="FolderCTID">
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<ListProperty Select="EnableContentTypes"/>
|
||||
</Expr>
|
||||
<Case Value="1">
|
||||
<Column Name="ContentTypeId"/>
|
||||
</Case>
|
||||
</FieldSwitch>
|
||||
</SetVar>
|
||||
<FilterLink Default="" Paged="FALSE"/>
|
||||
</SetVar>
|
||||
<FieldSwitch>
|
||||
<Expr>
|
||||
<GetVar Name="FileDialog"/>
|
||||
</Expr>
|
||||
<Case Value="1">
|
||||
<GetVar Name="DocIconImg"/>
|
||||
<GetVar Name="DocIconOverlayImg"/>
|
||||
</Case>
|
||||
<Default>
|
||||
<HTML><a href="</HTML>
|
||||
<GetVar HTMLEncode="TRUE" Name="UnencodedFilterLink"/>
|
||||
<HTML>" onclick="javascript:EnterFolder('</HTML>
|
||||
<ScriptQuote NotAddingQuote="TRUE">
|
||||
<GetVar Name="UnencodedFilterLink"/>
|
||||
</ScriptQuote>
|
||||
<HTML>');javascript:return false;"></HTML>
|
||||
<GetVar Name="DocIconImg"/>
|
||||
<GetVar Name="DocIconOverlayImg"/>
|
||||
<HTML></a></HTML>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</Default>
|
||||
</FieldSwitch>
|
||||
</Then>
|
||||
<Else>
|
||||
<HTML><a onfocus="OnLink(this)" href="</HTML>
|
||||
<URL/>
|
||||
<HTML>" onclick="GoToLink(this);return false;" target="_self"></HTML>
|
||||
<GetVar Name="DocIconImg"/>
|
||||
<GetVar Name="DocIconOverlayImg"/>
|
||||
<HTML></a></HTML>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Server Relative URL" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{105f76ce-724a-4bba-aece-f81f2fce58f5}" Name="ServerUrl" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ServerUrl" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="FileRef"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<HTML>/</HTML>
|
||||
<LookupColumn Name="FileRef"/>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Encoded Absolute URL" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{7177cfc7-f399-4d4d-905d-37dd51bc90bf}" Name="EncodedAbsUrl" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="EncodedAbsUrl" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="FileRef"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<HttpHost URLEncodeAsURL="TRUE"/>
|
||||
<HTML>/</HTML>
|
||||
<LookupColumn IncludeVersions="TRUE" Name="FileRef" URLEncodeAsURL="TRUE"/>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="File Name" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{7615464b-559e-4302-b8e2-8f440b913101}" Name="BaseName" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="BaseName" Type="Computed">
|
||||
<FieldRefs>
|
||||
<FieldRef Name="FileLeafRef"/>
|
||||
<FieldRef Name="FSObjType"/>
|
||||
</FieldRefs>
|
||||
<DisplayPattern>
|
||||
<IfEqual>
|
||||
<Expr1>
|
||||
<LookupColumn Name="FSObjType"/>
|
||||
</Expr1>
|
||||
<Expr2>1</Expr2>
|
||||
<Then>
|
||||
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
|
||||
</Then>
|
||||
<Else>
|
||||
<UrlBaseName HTMLEncode="TRUE">
|
||||
<LookupColumn Name="FileLeafRef"/>
|
||||
</UrlBaseName>
|
||||
</Else>
|
||||
</IfEqual>
|
||||
</DisplayPattern>
|
||||
</Field>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Property Bag" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{687c7f94-686a-42d3-9b67-2782eac4b4f8}" JoinColName="DoclibRowId" JoinType="INNER" List="Docs" Name="MetaInfo" ShowField="MetaInfo" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="MetaInfo" Type="Lookup"/>
|
||||
<Field ColName="tp_Level" DisplaceOnUpgrade="TRUE" DisplayName="Level" FromBaseType="TRUE" Hidden="TRUE" ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Name="_Level" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_Level" Type="Integer"/>
|
||||
<Field ColName="tp_IsCurrentVersion" DisplaceOnUpgrade="TRUE" DisplayName="Is Current Version" FromBaseType="TRUE" Hidden="TRUE" ID="{c101c3e7-122d-4d4d-bc34-58e94a38c816}" Name="_IsCurrentVersion" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_IsCurrentVersion" Type="Boolean"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Item Child Count" FieldRef="ID" FromBaseType="TRUE" ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="ItemChildCount" ReadOnly="TRUE" ShowField="ItemChildCount" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ItemChildCount" Type="Lookup"/>
|
||||
<Field DisplaceOnUpgrade="TRUE" DisplayName="Folder Child Count" FieldRef="ID" FromBaseType="TRUE" ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FolderChildCount" ReadOnly="TRUE" ShowField="FolderChildCount" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FolderChildCount" Type="Lookup"/>
|
||||
<Field ColName="tp_AppAuthor" DisplayName="App Created By" FromBaseType="TRUE" Hidden="FALSE" ID="{6bfaba20-36bf-44b5-a1b2-eb6346d49716}" JoinColName="Id" List="AppPrincipals" Name="AppAuthor" ReadOnly="TRUE" RowOrdinal="0" ShowField="Title" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="AppAuthor" Type="Lookup"/>
|
||||
<Field ColName="tp_AppEditor" DisplayName="App Modified By" FromBaseType="TRUE" Hidden="FALSE" ID="{e08400f3-c779-4ed2-a18c-ab7f34caa318}" JoinColName="Id" List="AppPrincipals" Name="AppEditor" ReadOnly="TRUE" RowOrdinal="0" ShowField="Title" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="AppEditor" Type="Lookup"/>
|
||||
</Fields>
|
||||
<RegionalSettings>
|
||||
<Language>1033</Language>
|
||||
<Locale>1031</Locale>
|
||||
<AdvanceHijri>0</AdvanceHijri>
|
||||
<CalendarType>1</CalendarType>
|
||||
<Time24>True</Time24>
|
||||
<TimeZone>-60</TimeZone>
|
||||
<SortOrder>2070</SortOrder>
|
||||
<Presence>True</Presence>
|
||||
</RegionalSettings>
|
||||
<ServerSettings>
|
||||
<ServerVersion>15.0.4667.1000</ServerVersion>
|
||||
<RecycleBinEnabled>True</RecycleBinEnabled>
|
||||
<ServerRelativeUrl>/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7</ServerRelativeUrl>
|
||||
</ServerSettings>
|
||||
</List>
|
||||
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Lists xmlns="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:19:45" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/_catalogs/design/AllItems.aspx" Description="Use this list to store composed looks. These looks can be applied to this site by navigating to Site Settings and choosing Change the look." Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="" Flags="33558804" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="True" ID="{E2CAB747-F526-431A-84DE-BCA01B10D069}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="19" LastDeleted="20150129 11:19:45" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:57" MultipleDataList="False" Name="{E2CAB747-F526-431A-84DE-BCA01B10D069}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="124" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Composed Looks" Version="0" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:55" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Shared Documents/Forms/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Shared Documents/Forms/template.dotx" EmailAlias="" EnableAttachments="False" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Flags="4104" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{5BC26877-B04B-44B6-A645-EAA77881E3F7}" ImageUrl="/_layouts/15/images/itdl.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="0" LastDeleted="20150129 11:19:55" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:55" MultipleDataList="False" Name="{5BC26877-B04B-44B6-A645-EAA77881E3F7}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="101" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Documents" Version="0" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:43" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/_catalogs/masterpage/Forms/AllItems.aspx" Description="Use the master page gallery to store master pages. The master pages in this gallery are available to this site and any sites underneath it." Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="False" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="True" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="" Flags="33558940" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="True" ID="{0CCFE48F-89EF-4962-BE2A-3DB9CA6A1EBD}" ImageUrl="/_layouts/15/images/itdl.png?rev=23" IrmEnabled="False" IsApplicationList="True" ItemCount="6" LastDeleted="20150129 11:19:43" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:47" MultipleDataList="False" Name="{0CCFE48F-89EF-4962-BE2A-3DB9CA6A1EBD}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="03594534-19d0-42b4-8365-77cd8aa53a35" SendToLocation="" ServerTemplate="116" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Master Page Gallery" Version="1" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:19:52" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/PublishedFeed/AllItems.aspx" Description="MySite MicroFeed Persistent Storage List" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="ea23650b-0340-4708-b465-441a41c37af7" Flags="549457924" Followable="True" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="True" Hidden="False" ID="{F6488F6A-50B0-4510-9489-872D0ADBA801}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="2" LastDeleted="20150129 11:19:52" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:56" MultipleDataList="False" Name="{F6488F6A-50B0-4510-9489-872D0ADBA801}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="544" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="MicroFeed" Version="16" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="2"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:36:28" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{4728157C-CFA4-447E-8863-170133FDC351}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="1" LastDeleted="20150129 12:32:38" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150203 09:38:00" MultipleDataList="False" Name="{4728157C-CFA4-447E-8863-170133FDC351}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Questionnaire" Version="51" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150202 17:50:04" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire Test/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{8EAEACBE-AB79-4335-85A4-D8AFB4379531}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="1" LastDeleted="20150202 17:50:04" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150202 18:24:28" MultipleDataList="False" Name="{8EAEACBE-AB79-4335-85A4-D8AFB4379531}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Questionnaire Test" Version="32" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150129 12:16:04" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire_Countries/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{924883B9-41B7-430C-8206-151786A67319}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="250" LastDeleted="20150129 12:36:51" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 12:40:02" MultipleDataList="False" Name="{924883B9-41B7-430C-8206-151786A67319}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Questionnaire_Countries" Version="2" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:50" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/SiteAssets/Forms/AllItems.aspx" Description="Use this library to store files which are included on pages within this site, such as images on Wiki pages." Direction="none" DocTemplateUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/SiteAssets/Forms/template.doc" EmailAlias="" EnableAttachments="False" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Flags="4104" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{73D85872-311B-44E8-A39C-C19EDF628F95}" ImageUrl="/_layouts/15/images/itdl.png?rev=23" IrmEnabled="False" IsApplicationList="True" ItemCount="1" LastDeleted="20150129 11:19:50" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:51" MultipleDataList="False" Name="{73D85872-311B-44E8-A39C-C19EDF628F95}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="101" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Site Assets" Version="1" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:48" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/SitePages/Forms/AllPages.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="False" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="True" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-c796-4402-9f2f-0eb9a6e71b18" Flags="549458060" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{AB5C8D85-95E5-45DB-83C3-E624BCAC6669}" ImageUrl="/_layouts/15/images/itwp.png?rev=23" IrmEnabled="False" IsApplicationList="True" ItemCount="2" LastDeleted="20150129 11:19:48" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:20:01" MultipleDataList="False" Name="{AB5C8D85-95E5-45DB-83C3-E624BCAC6669}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="119" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Site Pages" Version="4" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:19:59" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/HierarchyTasks/AllItems.aspx" Description="Tasks" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="f9ce21f8-f437-4f7e-8bc6-946378c850f0" Flags="541069312" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{09F14407-16D9-46C0-800F-FB9E91273E89}" ImageUrl="/_layouts/15/images/ittask.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="0" LastDeleted="20150129 11:19:59" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:59" MultipleDataList="False" Name="{09F14407-16D9-46C0-800F-FB9E91273E89}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="171" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Tasks" Version="0" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150202 15:22:37" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Test/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{D8C8D97E-1065-4674-A8F2-026D6D478794}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="10" LastDeleted="20150202 17:46:23" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150202 18:34:32" MultipleDataList="False" Name="{D8C8D97E-1065-4674-A8F2-026D6D478794}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Test" Version="7" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
|
||||
</Lists>
|
||||
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<User Email="Joern.Muehlencord@wincor-nixdorf.com" Flags="8" ID="16" IsDomainGroup="False" IsSiteAdmin="False" LoginName="i:0#.w|wincor-nixdorf\joern.muehlencord" Name="Muehlencord, Joern" Notes="" Sid="" xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/"/>
|
||||
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
||||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
|
||||
debug="true">
|
||||
|
||||
<appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
|
||||
<layout class="org.apache.log4j.PatternLayout">
|
||||
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c] %m%n" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<category name="de.muehlencord">
|
||||
<priority value="TRACE"/>
|
||||
</category>
|
||||
|
||||
<category name="com.wincornixdorf">
|
||||
<priority value="DEBUG"/>
|
||||
</category>
|
||||
|
||||
<root>
|
||||
<level value="INFO" />
|
||||
<appender-ref ref="consoleAppender" />
|
||||
</root>
|
||||
|
||||
</log4j:configuration>
|
||||
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>de.muehlencord.shared</groupId>
|
||||
<artifactId>shared-sharepoint</artifactId>
|
||||
<version>1.2-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>de.muehlencord.shared.sharepoint</groupId>
|
||||
<artifactId>sharepoint-mock</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>shared-sharepoint-mock</name>
|
||||
</project>
|
||||
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>de.muehlencord</groupId>
|
||||
<artifactId>shared</artifactId>
|
||||
<version>1.2-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>de.muehlencord.shared</groupId>
|
||||
<artifactId>shared-sharepoint</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>api</module>
|
||||
<module>mock</module>
|
||||
</modules>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
||||
@ -10,7 +10,7 @@ import org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter;
|
||||
* found at http://balusc.omnifaces.org/2013/01/apache-shiro-is-it-ready-for-java-ee-6.html#MakeShiroJSFAjaxAware)
|
||||
* source by BalusC, adjusted to PassThruAuthenticationFilter by Joern Muehlencord
|
||||
* @author BalusC
|
||||
* @author Joern Muehlencord <joern at muehlencord.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class FacesAjaxAwarePassThruAuthenticationFilter extends PassThruAuthenticationFilter {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -22,7 +22,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public abstract class AbstractAccessControlTag extends AbstractTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -22,7 +22,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public abstract class AbstractAuthenticationTag extends AbstractTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -22,7 +22,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public abstract class AbstractPermissionTag extends AbstractAccessControlTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -22,7 +22,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public abstract class AbstractRoleTag extends AbstractAccessControlTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -24,7 +24,7 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public abstract class AbstractTag extends TagHandler {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlencord.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class AuthenticatedTag extends AbstractAuthenticationTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class GuestTag extends AbstractAuthenticationTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -22,7 +22,7 @@ import org.apache.shiro.subject.Subject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class HasAnyPermissionTag extends AbstractPermissionTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -22,7 +22,7 @@ import org.apache.shiro.subject.Subject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class HasAnyRolesTag extends AbstractRoleTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class HasPermissionTag extends AbstractPermissionTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class HasRoleTag extends AbstractRoleTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class LacksPermissionTag extends AbstractPermissionTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class LacksRoleTag extends AbstractRoleTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class NotAuthenticatedTag extends AbstractAuthenticationTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class UserTag extends AbstractAuthenticationTag {
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
* Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -35,7 +35,7 @@ import javax.faces.view.facelets.TagConfig;
|
||||
* is not authenticated, the tag displays nothing unless a <tt>defaultValue</tt>
|
||||
* is specified.</p>
|
||||
*
|
||||
* @author Joern Muehlencord <joern at muehlenocrd.de>
|
||||
* @author Joern Muehlencord (joern at muehlencord.de)
|
||||
*/
|
||||
public class PrincipalTag extends AbstractTag {
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2016 Joern Muehlencord <joern at muehlencord.de>.
|
||||
Copyright 2016 Joern Muehlencord (joern at muehlencord.de).
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@ -107,17 +107,6 @@ limitations under the License.
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<tag-name>hasRole</tag-name>
|
||||
<handler-class>de.muehlencord.shirofaces.tags.HasRoleTag</handler-class>
|
||||
<attribute>
|
||||
<description>the name of the role to check for</description>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<tag-name>notAuthenticated</tag-name>
|
||||
<handler-class>de.muehlencord.shirofaces.tags.NotAuthenticatedTag</handler-class>
|
||||
|
||||
Reference in New Issue
Block a user