Moving to root below branch label

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2005-12-08 07:13:07 +00:00
commit 3e7141dc1a
225 changed files with 48004 additions and 0 deletions

10
.classpath Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source/java"/>
<classpathentry kind="src" path="source/generated"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/Repository"/>
<classpathentry combineaccessrules="false" kind="src" path="/3rd Party"/>
<classpathentry combineaccessrules="false" kind="src" path="/Core"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>

17
.project Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Remote API</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

193
project-build.xml Normal file
View File

@@ -0,0 +1,193 @@
<project name="remote-api" default="build">
<path id="path.common" path="${basedir}/../../common"/>
<property name="dir.common" refid="path.common" />
<import file="${dir.common}/common.xml" />
<target name="init" depends="common-init.init">
<taskdef name="wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask">
<classpath refid="classpath.compile" />
</taskdef>
<property name="files.delete.include" value="*Service.java,*Locator.java,*Binding*.java,undeploy.wsdd"/>
</target>
<!-- we need to override the compile-java target so that we can include the generated source -->
<target name="compile-java" depends="init" description="Compiles the Java source code">
<mkdir dir="${dir.classes}" />
<javac destdir="${dir.classes}" fork="true" deprecation="on" debug="on" target="1.5" source="1.5">
<src path="${dir.src.java}" />
<src path="${dir.src.java.generated}" />
<classpath refid="classpath.compile" />
</javac>
<copy todir="${dir.classes}">
<fileset dir="${dir.src.java}">
<patternset>
<exclude name="**/*.java" />
</patternset>
</fileset>
</copy>
</target>
<target name="package-jar" depends="common.package-jar" description="Packages the JAR file">
<jar jarfile="${dir.dist}/${file.name.jar}" update="true">
<metainf dir="${dir.src.metainf}" />
</jar>
</target>
<target name="package-war">
<echo>
This project can not produce a WAR file, the Remote API functionality is currently
packaged within the Web Client WAR file.
</echo>
</target>
<target name="clean-all-services" depends="init">
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/example/webservice" />
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice" />
</delete>
</target>
<target name="gen-all-services" depends="gen-auth-service, gen-repo-service, gen-content-service, gen-authoring-service, gen-classification-service" />
<target name="gen-auth-service" depends="gen-auth-service-client, gen-auth-service-server" />
<target name="gen-auth-service-client" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/example/webservice/authentication" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/example/webservice/authentication" />
</delete>
<wsdl2java url="${dir.src}/wsdl/authentication-service.wsdl" output="${dir.src.java.generated}" testcase="no" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/authentication/1.0" package="org.alfresco.example.webservice.authentication" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.example.webservice.types" />
</wsdl2java>
</target>
<target name="gen-auth-service-server" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authentication" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authentication" />
</delete>
<wsdl2java url="${dir.src}/wsdl/authentication-service.wsdl" output="${dir.src.java.generated}" serverSide="true" skeletondeploy="false" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/authentication/1.0" package="org.alfresco.repo.webservice.authentication" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.repo.webservice.types" />
</wsdl2java>
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authentication" includes="${files.delete.include}" />
</delete>
</target>
<target name="gen-repo-service" depends="gen-repo-service-client, gen-repo-service-server" />
<target name="gen-repo-service-client" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/example/webservice/repository" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/example/webservice/repository" />
</delete>
<wsdl2java url="${dir.src}/wsdl/repository-service.wsdl" output="${dir.src.java.generated}" testcase="no" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/repository/1.0" package="org.alfresco.example.webservice.repository" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.example.webservice.types" />
<mapping namespace="http://www.alfresco.org/ws/cml/1.0" package="org.alfresco.example.webservice.types" />
<mapping namespace="http://www.alfresco.org/ws/headers/1.0" package="org.alfresco.example.webservice.types" />
</wsdl2java>
</target>
<target name="gen-repo-service-server" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/repository" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/repository" />
</delete>
<wsdl2java url="${dir.src}/wsdl/repository-service.wsdl" output="${dir.src.java.generated}" serverSide="true" skeletondeploy="false" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/repository/1.0" package="org.alfresco.repo.webservice.repository" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.repo.webservice.types" />
<mapping namespace="http://www.alfresco.org/ws/cml/1.0" package="org.alfresco.repo.webservice.types" />
<mapping namespace="http://www.alfresco.org/ws/headers/1.0" package="org.alfresco.repo.webservice.types" />
</wsdl2java>
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/repository" includes="${files.delete.include}" />
</delete>
</target>
<target name="gen-content-service" depends="gen-content-service-client, gen-content-service-server" />
<target name="gen-content-service-client" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/example/webservice/content" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/example/webservice/content" />
</delete>
<wsdl2java url="${dir.src}/wsdl/content-service.wsdl" output="${dir.src.java.generated}" testcase="no" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/content/1.0" package="org.alfresco.example.webservice.content" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.example.webservice.types" />
</wsdl2java>
</target>
<target name="gen-content-service-server" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/content" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/content" />
</delete>
<wsdl2java url="${dir.src}/wsdl/content-service.wsdl" output="${dir.src.java.generated}" serverSide="true" skeletondeploy="false" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/content/1.0" package="org.alfresco.repo.webservice.content" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.repo.webservice.types" />
</wsdl2java>
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/content" includes="${files.delete.include}" />
</delete>
</target>
<target name="gen-classification-service" depends="gen-classification-service-client, gen-classification-service-server" />
<target name="gen-classification-service-client" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/example/webservice/classification" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/example/webservice/classification" />
</delete>
<wsdl2java url="${dir.src}/wsdl/classification-service.wsdl" output="${dir.src.java.generated}" testcase="no" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/classification/1.0" package="org.alfresco.example.webservice.classification" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.example.webservice.types" />
</wsdl2java>
</target>
<target name="gen-classification-service-server" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/classification" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/classification" />
</delete>
<wsdl2java url="${dir.src}/wsdl/classification-service.wsdl" output="${dir.src.java.generated}" serverSide="true" skeletondeploy="false" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/classification/1.0" package="org.alfresco.repo.webservice.classification" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.repo.webservice.types" />
</wsdl2java>
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/classification" includes="${files.delete.include}" />
</delete>
</target>
<target name="gen-authoring-service" depends="gen-authoring-service-client, gen-authoring-service-server" />
<target name="gen-authoring-service-client" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/example/webservice/authoring" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/example/webservice/authoring" />
</delete>
<wsdl2java url="${dir.src}/wsdl/authoring-service.wsdl" output="${dir.src.java.generated}" testcase="no" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/authoring/1.0" package="org.alfresco.example.webservice.authoring" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.example.webservice.types" />
</wsdl2java>
</target>
<target name="gen-authoring-service-server" depends="init">
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authoring" />
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authoring" />
</delete>
<wsdl2java url="${dir.src}/wsdl/authoring-service.wsdl" output="${dir.src.java.generated}" serverSide="true" skeletondeploy="false" all="true">
<mapping namespace="http://www.alfresco.org/ws/service/authoring/1.0" package="org.alfresco.repo.webservice.authoring" />
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.repo.webservice.types" />
</wsdl2java>
<delete>
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authoring" includes="${files.delete.include}" />
</delete>
</target>
</project>

View File

@@ -0,0 +1,2 @@
javadoc.title.window=Alfresco Remote Services API
javadoc.title.document=Alfresco Remote Services API Specification

View File

@@ -0,0 +1,157 @@
/**
* AuthenticationFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authentication;
public class AuthenticationFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public AuthenticationFault() {
}
public AuthenticationFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this AuthenticationFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this AuthenticationFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this AuthenticationFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this AuthenticationFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AuthenticationFault)) return false;
AuthenticationFault other = (AuthenticationFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AuthenticationFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,154 @@
/**
* AuthenticationResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authentication;
public class AuthenticationResult implements java.io.Serializable {
private java.lang.String username;
private java.lang.String ticket;
public AuthenticationResult() {
}
public AuthenticationResult(
java.lang.String username,
java.lang.String ticket) {
this.username = username;
this.ticket = ticket;
}
/**
* Gets the username value for this AuthenticationResult.
*
* @return username
*/
public java.lang.String getUsername() {
return username;
}
/**
* Sets the username value for this AuthenticationResult.
*
* @param username
*/
public void setUsername(java.lang.String username) {
this.username = username;
}
/**
* Gets the ticket value for this AuthenticationResult.
*
* @return ticket
*/
public java.lang.String getTicket() {
return ticket;
}
/**
* Sets the ticket value for this AuthenticationResult.
*
* @param ticket
*/
public void setTicket(java.lang.String ticket) {
this.ticket = ticket;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AuthenticationResult)) return false;
AuthenticationResult other = (AuthenticationResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.username==null && other.getUsername()==null) ||
(this.username!=null &&
this.username.equals(other.getUsername()))) &&
((this.ticket==null && other.getTicket()==null) ||
(this.ticket!=null &&
this.ticket.equals(other.getTicket())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getUsername() != null) {
_hashCode += getUsername().hashCode();
}
if (getTicket() != null) {
_hashCode += getTicket().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AuthenticationResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("username");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "username"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ticket");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "ticket"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,20 @@
/**
* AuthenticationService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authentication;
public interface AuthenticationService extends javax.xml.rpc.Service {
/**
* Provides simple authentication capability.
*/
public java.lang.String getAuthenticationServiceAddress();
public org.alfresco.example.webservice.authentication.AuthenticationServiceSoapPort getAuthenticationService() throws javax.xml.rpc.ServiceException;
public org.alfresco.example.webservice.authentication.AuthenticationServiceSoapPort getAuthenticationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
}

View File

@@ -0,0 +1,146 @@
/**
* AuthenticationServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authentication;
public class AuthenticationServiceLocator extends org.apache.axis.client.Service implements org.alfresco.example.webservice.authentication.AuthenticationService {
/**
* Provides simple authentication capability.
*/
public AuthenticationServiceLocator() {
}
public AuthenticationServiceLocator(org.apache.axis.EngineConfiguration config) {
super(config);
}
public AuthenticationServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
super(wsdlLoc, sName);
}
// Use to get a proxy class for AuthenticationService
private java.lang.String AuthenticationService_address = "http://localhost:8080/alfresco/api/AuthenticationService";
public java.lang.String getAuthenticationServiceAddress() {
return AuthenticationService_address;
}
// The WSDD service name defaults to the port name.
private java.lang.String AuthenticationServiceWSDDServiceName = "AuthenticationService";
public java.lang.String getAuthenticationServiceWSDDServiceName() {
return AuthenticationServiceWSDDServiceName;
}
public void setAuthenticationServiceWSDDServiceName(java.lang.String name) {
AuthenticationServiceWSDDServiceName = name;
}
public org.alfresco.example.webservice.authentication.AuthenticationServiceSoapPort getAuthenticationService() throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(AuthenticationService_address);
}
catch (java.net.MalformedURLException e) {
throw new javax.xml.rpc.ServiceException(e);
}
return getAuthenticationService(endpoint);
}
public org.alfresco.example.webservice.authentication.AuthenticationServiceSoapPort getAuthenticationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
try {
org.alfresco.example.webservice.authentication.AuthenticationServiceSoapBindingStub _stub = new org.alfresco.example.webservice.authentication.AuthenticationServiceSoapBindingStub(portAddress, this);
_stub.setPortName(getAuthenticationServiceWSDDServiceName());
return _stub;
}
catch (org.apache.axis.AxisFault e) {
return null;
}
}
public void setAuthenticationServiceEndpointAddress(java.lang.String address) {
AuthenticationService_address = address;
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
try {
if (org.alfresco.example.webservice.authentication.AuthenticationServiceSoapPort.class.isAssignableFrom(serviceEndpointInterface)) {
org.alfresco.example.webservice.authentication.AuthenticationServiceSoapBindingStub _stub = new org.alfresco.example.webservice.authentication.AuthenticationServiceSoapBindingStub(new java.net.URL(AuthenticationService_address), this);
_stub.setPortName(getAuthenticationServiceWSDDServiceName());
return _stub;
}
}
catch (java.lang.Throwable t) {
throw new javax.xml.rpc.ServiceException(t);
}
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
java.lang.String inputPortName = portName.getLocalPart();
if ("AuthenticationService".equals(inputPortName)) {
return getAuthenticationService();
}
else {
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
((org.apache.axis.client.Stub) _stub).setPortName(portName);
return _stub;
}
}
public javax.xml.namespace.QName getServiceName() {
return new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationService");
}
private java.util.HashSet ports = null;
public java.util.Iterator getPorts() {
if (ports == null) {
ports = new java.util.HashSet();
ports.add(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationService"));
}
return ports.iterator();
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
if ("AuthenticationService".equals(portName)) {
setAuthenticationServiceEndpointAddress(address);
}
else
{ // Unknown Port Name
throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
}

View File

@@ -0,0 +1,246 @@
/**
* AuthenticationServiceSoapBindingStub.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authentication;
public class AuthenticationServiceSoapBindingStub extends org.apache.axis.client.Stub implements org.alfresco.example.webservice.authentication.AuthenticationServiceSoapPort {
private java.util.Vector cachedSerClasses = new java.util.Vector();
private java.util.Vector cachedSerQNames = new java.util.Vector();
private java.util.Vector cachedSerFactories = new java.util.Vector();
private java.util.Vector cachedDeserFactories = new java.util.Vector();
static org.apache.axis.description.OperationDesc [] _operations;
static {
_operations = new org.apache.axis.description.OperationDesc[2];
_initOperationDesc1();
}
private static void _initOperationDesc1(){
org.apache.axis.description.OperationDesc oper;
org.apache.axis.description.ParameterDesc param;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("startSession");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "username"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "password"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationResult"));
oper.setReturnClass(org.alfresco.example.webservice.authentication.AuthenticationResult.class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "startSessionReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault"),
"org.alfresco.example.webservice.authentication.AuthenticationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault"),
true
));
_operations[0] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("endSession");
oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault"),
"org.alfresco.example.webservice.authentication.AuthenticationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault"),
true
));
_operations[1] = oper;
}
public AuthenticationServiceSoapBindingStub() throws org.apache.axis.AxisFault {
this(null);
}
public AuthenticationServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
this(service);
super.cachedEndpoint = endpointURL;
}
public AuthenticationServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
if (service == null) {
super.service = new org.apache.axis.client.Service();
} else {
super.service = service;
}
((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
java.lang.Class cls;
javax.xml.namespace.QName qName;
javax.xml.namespace.QName qName2;
java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.authentication.AuthenticationFault.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationResult");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.authentication.AuthenticationResult.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
}
protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
try {
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}
if (super.cachedEndpoint != null) {
_call.setTargetEndpointAddress(super.cachedEndpoint);
}
if (super.cachedTimeout != null) {
_call.setTimeout(super.cachedTimeout);
}
if (super.cachedPortName != null) {
_call.setPortName(super.cachedPortName);
}
java.util.Enumeration keys = super.cachedProperties.keys();
while (keys.hasMoreElements()) {
java.lang.String key = (java.lang.String) keys.nextElement();
_call.setProperty(key, super.cachedProperties.get(key));
}
// All the type mapping information is registered
// when the first call is made.
// The type mapping information is actually registered in
// the TypeMappingRegistry of the service, which
// is the reason why registration is only needed for the first call.
synchronized (this) {
if (firstCall()) {
// must set encoding style before registering serializers
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
javax.xml.namespace.QName qName =
(javax.xml.namespace.QName) cachedSerQNames.get(i);
java.lang.Object x = cachedSerFactories.get(i);
if (x instanceof Class) {
java.lang.Class sf = (java.lang.Class)
cachedSerFactories.get(i);
java.lang.Class df = (java.lang.Class)
cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
cachedSerFactories.get(i);
org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
}
}
}
return _call;
}
catch (java.lang.Throwable _t) {
throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
}
}
public org.alfresco.example.webservice.authentication.AuthenticationResult startSession(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException, org.alfresco.example.webservice.authentication.AuthenticationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/authentication/1.0/startSession");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "startSession"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {username, password});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.authentication.AuthenticationResult) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.authentication.AuthenticationResult) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.authentication.AuthenticationResult.class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.authentication.AuthenticationFault) {
throw (org.alfresco.example.webservice.authentication.AuthenticationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
public void endSession() throws java.rmi.RemoteException, org.alfresco.example.webservice.authentication.AuthenticationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[1]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/authentication/1.0/endSession");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "endSession"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
extractAttachments(_call);
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.authentication.AuthenticationFault) {
throw (org.alfresco.example.webservice.authentication.AuthenticationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
}

View File

@@ -0,0 +1,13 @@
/**
* AuthenticationServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authentication;
public interface AuthenticationServiceSoapPort extends java.rmi.Remote {
public org.alfresco.example.webservice.authentication.AuthenticationResult startSession(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException, org.alfresco.example.webservice.authentication.AuthenticationFault;
public void endSession() throws java.rmi.RemoteException, org.alfresco.example.webservice.authentication.AuthenticationFault;
}

View File

@@ -0,0 +1,157 @@
/**
* AuthoringFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class AuthoringFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public AuthoringFault() {
}
public AuthoringFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this AuthoringFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this AuthoringFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this AuthoringFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this AuthoringFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AuthoringFault)) return false;
AuthoringFault other = (AuthoringFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AuthoringFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,20 @@
/**
* AuthoringService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public interface AuthoringService extends javax.xml.rpc.Service {
/**
* Provides support for collaborative editing of content.
*/
public java.lang.String getAuthoringServiceAddress();
public org.alfresco.example.webservice.authoring.AuthoringServiceSoapPort getAuthoringService() throws javax.xml.rpc.ServiceException;
public org.alfresco.example.webservice.authoring.AuthoringServiceSoapPort getAuthoringService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
}

View File

@@ -0,0 +1,146 @@
/**
* AuthoringServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class AuthoringServiceLocator extends org.apache.axis.client.Service implements org.alfresco.example.webservice.authoring.AuthoringService {
/**
* Provides support for collaborative editing of content.
*/
public AuthoringServiceLocator() {
}
public AuthoringServiceLocator(org.apache.axis.EngineConfiguration config) {
super(config);
}
public AuthoringServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
super(wsdlLoc, sName);
}
// Use to get a proxy class for AuthoringService
private java.lang.String AuthoringService_address = "http://localhost:8080/alfresco/api/AuthoringService";
public java.lang.String getAuthoringServiceAddress() {
return AuthoringService_address;
}
// The WSDD service name defaults to the port name.
private java.lang.String AuthoringServiceWSDDServiceName = "AuthoringService";
public java.lang.String getAuthoringServiceWSDDServiceName() {
return AuthoringServiceWSDDServiceName;
}
public void setAuthoringServiceWSDDServiceName(java.lang.String name) {
AuthoringServiceWSDDServiceName = name;
}
public org.alfresco.example.webservice.authoring.AuthoringServiceSoapPort getAuthoringService() throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(AuthoringService_address);
}
catch (java.net.MalformedURLException e) {
throw new javax.xml.rpc.ServiceException(e);
}
return getAuthoringService(endpoint);
}
public org.alfresco.example.webservice.authoring.AuthoringServiceSoapPort getAuthoringService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
try {
org.alfresco.example.webservice.authoring.AuthoringServiceSoapBindingStub _stub = new org.alfresco.example.webservice.authoring.AuthoringServiceSoapBindingStub(portAddress, this);
_stub.setPortName(getAuthoringServiceWSDDServiceName());
return _stub;
}
catch (org.apache.axis.AxisFault e) {
return null;
}
}
public void setAuthoringServiceEndpointAddress(java.lang.String address) {
AuthoringService_address = address;
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
try {
if (org.alfresco.example.webservice.authoring.AuthoringServiceSoapPort.class.isAssignableFrom(serviceEndpointInterface)) {
org.alfresco.example.webservice.authoring.AuthoringServiceSoapBindingStub _stub = new org.alfresco.example.webservice.authoring.AuthoringServiceSoapBindingStub(new java.net.URL(AuthoringService_address), this);
_stub.setPortName(getAuthoringServiceWSDDServiceName());
return _stub;
}
}
catch (java.lang.Throwable t) {
throw new javax.xml.rpc.ServiceException(t);
}
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
java.lang.String inputPortName = portName.getLocalPart();
if ("AuthoringService".equals(inputPortName)) {
return getAuthoringService();
}
else {
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
((org.apache.axis.client.Stub) _stub).setPortName(portName);
return _stub;
}
}
public javax.xml.namespace.QName getServiceName() {
return new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringService");
}
private java.util.HashSet ports = null;
public java.util.Iterator getPorts() {
if (ports == null) {
ports = new java.util.HashSet();
ports.add(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringService"));
}
return ports.iterator();
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
if ("AuthoringService".equals(portName)) {
setAuthoringServiceEndpointAddress(address);
}
else
{ // Unknown Port Name
throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
}

View File

@@ -0,0 +1,67 @@
/**
* AuthoringServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public interface AuthoringServiceSoapPort extends java.rmi.Remote {
/**
* Checkout a content resource for editing.
*/
public org.alfresco.example.webservice.authoring.CheckoutResult checkout(org.alfresco.example.webservice.types.Predicate items, org.alfresco.example.webservice.types.ParentReference destination) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Checkin a content resource.
*/
public org.alfresco.example.webservice.authoring.CheckinResult checkin(org.alfresco.example.webservice.types.Predicate items, org.alfresco.example.webservice.types.NamedValue[] comments, boolean keepCheckedOut) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Checkin an external content resource thus replacing the existing
* working content.
*/
public org.alfresco.example.webservice.types.Reference checkinExternal(org.alfresco.example.webservice.types.Reference items, org.alfresco.example.webservice.types.NamedValue[] comments, boolean keepCheckedOut, org.alfresco.example.webservice.types.ContentFormat format, byte[] content) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Cancels the checkout.
*/
public org.alfresco.example.webservice.authoring.CancelCheckoutResult cancelCheckout(org.alfresco.example.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Locks a content resource.
*/
public org.alfresco.example.webservice.types.Reference[] lock(org.alfresco.example.webservice.types.Predicate items, boolean lockChildren, org.alfresco.example.webservice.authoring.LockTypeEnum lockType) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Unlocks a content resource.
*/
public org.alfresco.example.webservice.types.Reference[] unlock(org.alfresco.example.webservice.types.Predicate items, boolean unlockChildren) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Gets the lock status of the specified nodes.
*/
public org.alfresco.example.webservice.authoring.LockStatus[] getLockStatus(org.alfresco.example.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Create a snapshot of the specified node(s) in the version store.
*/
public org.alfresco.example.webservice.authoring.VersionResult createVersion(org.alfresco.example.webservice.types.Predicate items, org.alfresco.example.webservice.types.NamedValue[] comments, boolean versionChildren) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Gets the version history for the specfied node.
*/
public org.alfresco.example.webservice.types.VersionHistory getVersionHistory(org.alfresco.example.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Revert a node to the snapshot of the specified version.
*/
public void revertVersion(org.alfresco.example.webservice.types.Reference node, java.lang.String versionLabel) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
/**
* Delete all snapshot versions of the specified node.
*/
public org.alfresco.example.webservice.types.VersionHistory deleteAllVersions(org.alfresco.example.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.example.webservice.authoring.AuthoringFault;
}

View File

@@ -0,0 +1,190 @@
/**
* CancelCheckoutResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class CancelCheckoutResult implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference[] workingCopies;
private org.alfresco.example.webservice.types.Reference[] originals;
public CancelCheckoutResult() {
}
public CancelCheckoutResult(
org.alfresco.example.webservice.types.Reference[] workingCopies,
org.alfresco.example.webservice.types.Reference[] originals) {
this.workingCopies = workingCopies;
this.originals = originals;
}
/**
* Gets the workingCopies value for this CancelCheckoutResult.
*
* @return workingCopies
*/
public org.alfresco.example.webservice.types.Reference[] getWorkingCopies() {
return workingCopies;
}
/**
* Sets the workingCopies value for this CancelCheckoutResult.
*
* @param workingCopies
*/
public void setWorkingCopies(org.alfresco.example.webservice.types.Reference[] workingCopies) {
this.workingCopies = workingCopies;
}
public org.alfresco.example.webservice.types.Reference getWorkingCopies(int i) {
return this.workingCopies[i];
}
public void setWorkingCopies(int i, org.alfresco.example.webservice.types.Reference _value) {
this.workingCopies[i] = _value;
}
/**
* Gets the originals value for this CancelCheckoutResult.
*
* @return originals
*/
public org.alfresco.example.webservice.types.Reference[] getOriginals() {
return originals;
}
/**
* Sets the originals value for this CancelCheckoutResult.
*
* @param originals
*/
public void setOriginals(org.alfresco.example.webservice.types.Reference[] originals) {
this.originals = originals;
}
public org.alfresco.example.webservice.types.Reference getOriginals(int i) {
return this.originals[i];
}
public void setOriginals(int i, org.alfresco.example.webservice.types.Reference _value) {
this.originals[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CancelCheckoutResult)) return false;
CancelCheckoutResult other = (CancelCheckoutResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.workingCopies==null && other.getWorkingCopies()==null) ||
(this.workingCopies!=null &&
java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies()))) &&
((this.originals==null && other.getOriginals()==null) ||
(this.originals!=null &&
java.util.Arrays.equals(this.originals, other.getOriginals())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getWorkingCopies() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getWorkingCopies());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getWorkingCopies(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getOriginals() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getOriginals());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getOriginals(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CancelCheckoutResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "CancelCheckoutResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("workingCopies");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "workingCopies"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("originals");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "originals"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,190 @@
/**
* CheckinResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class CheckinResult implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference[] workingCopies;
private org.alfresco.example.webservice.types.Reference[] checkedIn;
public CheckinResult() {
}
public CheckinResult(
org.alfresco.example.webservice.types.Reference[] workingCopies,
org.alfresco.example.webservice.types.Reference[] checkedIn) {
this.workingCopies = workingCopies;
this.checkedIn = checkedIn;
}
/**
* Gets the workingCopies value for this CheckinResult.
*
* @return workingCopies
*/
public org.alfresco.example.webservice.types.Reference[] getWorkingCopies() {
return workingCopies;
}
/**
* Sets the workingCopies value for this CheckinResult.
*
* @param workingCopies
*/
public void setWorkingCopies(org.alfresco.example.webservice.types.Reference[] workingCopies) {
this.workingCopies = workingCopies;
}
public org.alfresco.example.webservice.types.Reference getWorkingCopies(int i) {
return this.workingCopies[i];
}
public void setWorkingCopies(int i, org.alfresco.example.webservice.types.Reference _value) {
this.workingCopies[i] = _value;
}
/**
* Gets the checkedIn value for this CheckinResult.
*
* @return checkedIn
*/
public org.alfresco.example.webservice.types.Reference[] getCheckedIn() {
return checkedIn;
}
/**
* Sets the checkedIn value for this CheckinResult.
*
* @param checkedIn
*/
public void setCheckedIn(org.alfresco.example.webservice.types.Reference[] checkedIn) {
this.checkedIn = checkedIn;
}
public org.alfresco.example.webservice.types.Reference getCheckedIn(int i) {
return this.checkedIn[i];
}
public void setCheckedIn(int i, org.alfresco.example.webservice.types.Reference _value) {
this.checkedIn[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CheckinResult)) return false;
CheckinResult other = (CheckinResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.workingCopies==null && other.getWorkingCopies()==null) ||
(this.workingCopies!=null &&
java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies()))) &&
((this.checkedIn==null && other.getCheckedIn()==null) ||
(this.checkedIn!=null &&
java.util.Arrays.equals(this.checkedIn, other.getCheckedIn())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getWorkingCopies() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getWorkingCopies());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getWorkingCopies(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getCheckedIn() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCheckedIn());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCheckedIn(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CheckinResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "CheckinResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("workingCopies");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "workingCopies"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("checkedIn");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "checkedIn"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,190 @@
/**
* CheckoutResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class CheckoutResult implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference[] originals;
private org.alfresco.example.webservice.types.Reference[] workingCopies;
public CheckoutResult() {
}
public CheckoutResult(
org.alfresco.example.webservice.types.Reference[] originals,
org.alfresco.example.webservice.types.Reference[] workingCopies) {
this.originals = originals;
this.workingCopies = workingCopies;
}
/**
* Gets the originals value for this CheckoutResult.
*
* @return originals
*/
public org.alfresco.example.webservice.types.Reference[] getOriginals() {
return originals;
}
/**
* Sets the originals value for this CheckoutResult.
*
* @param originals
*/
public void setOriginals(org.alfresco.example.webservice.types.Reference[] originals) {
this.originals = originals;
}
public org.alfresco.example.webservice.types.Reference getOriginals(int i) {
return this.originals[i];
}
public void setOriginals(int i, org.alfresco.example.webservice.types.Reference _value) {
this.originals[i] = _value;
}
/**
* Gets the workingCopies value for this CheckoutResult.
*
* @return workingCopies
*/
public org.alfresco.example.webservice.types.Reference[] getWorkingCopies() {
return workingCopies;
}
/**
* Sets the workingCopies value for this CheckoutResult.
*
* @param workingCopies
*/
public void setWorkingCopies(org.alfresco.example.webservice.types.Reference[] workingCopies) {
this.workingCopies = workingCopies;
}
public org.alfresco.example.webservice.types.Reference getWorkingCopies(int i) {
return this.workingCopies[i];
}
public void setWorkingCopies(int i, org.alfresco.example.webservice.types.Reference _value) {
this.workingCopies[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CheckoutResult)) return false;
CheckoutResult other = (CheckoutResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.originals==null && other.getOriginals()==null) ||
(this.originals!=null &&
java.util.Arrays.equals(this.originals, other.getOriginals()))) &&
((this.workingCopies==null && other.getWorkingCopies()==null) ||
(this.workingCopies!=null &&
java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getOriginals() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getOriginals());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getOriginals(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getWorkingCopies() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getWorkingCopies());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getWorkingCopies(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CheckoutResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "CheckoutResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("originals");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "originals"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("workingCopies");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "workingCopies"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,191 @@
/**
* LockStatus.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class LockStatus implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference node;
private org.alfresco.example.webservice.authoring.LockTypeEnum lockType;
private java.lang.String lockOwner;
public LockStatus() {
}
public LockStatus(
org.alfresco.example.webservice.types.Reference node,
org.alfresco.example.webservice.authoring.LockTypeEnum lockType,
java.lang.String lockOwner) {
this.node = node;
this.lockType = lockType;
this.lockOwner = lockOwner;
}
/**
* Gets the node value for this LockStatus.
*
* @return node
*/
public org.alfresco.example.webservice.types.Reference getNode() {
return node;
}
/**
* Sets the node value for this LockStatus.
*
* @param node
*/
public void setNode(org.alfresco.example.webservice.types.Reference node) {
this.node = node;
}
/**
* Gets the lockType value for this LockStatus.
*
* @return lockType
*/
public org.alfresco.example.webservice.authoring.LockTypeEnum getLockType() {
return lockType;
}
/**
* Sets the lockType value for this LockStatus.
*
* @param lockType
*/
public void setLockType(org.alfresco.example.webservice.authoring.LockTypeEnum lockType) {
this.lockType = lockType;
}
/**
* Gets the lockOwner value for this LockStatus.
*
* @return lockOwner
*/
public java.lang.String getLockOwner() {
return lockOwner;
}
/**
* Sets the lockOwner value for this LockStatus.
*
* @param lockOwner
*/
public void setLockOwner(java.lang.String lockOwner) {
this.lockOwner = lockOwner;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LockStatus)) return false;
LockStatus other = (LockStatus) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.node==null && other.getNode()==null) ||
(this.node!=null &&
this.node.equals(other.getNode()))) &&
((this.lockType==null && other.getLockType()==null) ||
(this.lockType!=null &&
this.lockType.equals(other.getLockType()))) &&
((this.lockOwner==null && other.getLockOwner()==null) ||
(this.lockOwner!=null &&
this.lockOwner.equals(other.getLockOwner())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNode() != null) {
_hashCode += getNode().hashCode();
}
if (getLockType() != null) {
_hashCode += getLockType().hashCode();
}
if (getLockOwner() != null) {
_hashCode += getLockOwner().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LockStatus.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "LockStatus"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("node");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "node"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("lockType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "lockType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "LockTypeEnum"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("lockOwner");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "lockOwner"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,70 @@
/**
* LockTypeEnum.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class LockTypeEnum implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected LockTypeEnum(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _read = "read";
public static final java.lang.String _write = "write";
public static final LockTypeEnum read = new LockTypeEnum(_read);
public static final LockTypeEnum write = new LockTypeEnum(_write);
public java.lang.String getValue() { return _value_;}
public static LockTypeEnum fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
LockTypeEnum enumeration = (LockTypeEnum)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static LockTypeEnum fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LockTypeEnum.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "LockTypeEnum"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}

View File

@@ -0,0 +1,190 @@
/**
* VersionResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.authoring;
public class VersionResult implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference[] nodes;
private org.alfresco.example.webservice.types.Version[] versions;
public VersionResult() {
}
public VersionResult(
org.alfresco.example.webservice.types.Reference[] nodes,
org.alfresco.example.webservice.types.Version[] versions) {
this.nodes = nodes;
this.versions = versions;
}
/**
* Gets the nodes value for this VersionResult.
*
* @return nodes
*/
public org.alfresco.example.webservice.types.Reference[] getNodes() {
return nodes;
}
/**
* Sets the nodes value for this VersionResult.
*
* @param nodes
*/
public void setNodes(org.alfresco.example.webservice.types.Reference[] nodes) {
this.nodes = nodes;
}
public org.alfresco.example.webservice.types.Reference getNodes(int i) {
return this.nodes[i];
}
public void setNodes(int i, org.alfresco.example.webservice.types.Reference _value) {
this.nodes[i] = _value;
}
/**
* Gets the versions value for this VersionResult.
*
* @return versions
*/
public org.alfresco.example.webservice.types.Version[] getVersions() {
return versions;
}
/**
* Sets the versions value for this VersionResult.
*
* @param versions
*/
public void setVersions(org.alfresco.example.webservice.types.Version[] versions) {
this.versions = versions;
}
public org.alfresco.example.webservice.types.Version getVersions(int i) {
return this.versions[i];
}
public void setVersions(int i, org.alfresco.example.webservice.types.Version _value) {
this.versions[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof VersionResult)) return false;
VersionResult other = (VersionResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.nodes==null && other.getNodes()==null) ||
(this.nodes!=null &&
java.util.Arrays.equals(this.nodes, other.getNodes()))) &&
((this.versions==null && other.getVersions()==null) ||
(this.versions!=null &&
java.util.Arrays.equals(this.versions, other.getVersions())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNodes() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getNodes());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getNodes(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getVersions() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getVersions());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getVersions(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(VersionResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "VersionResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("nodes");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "nodes"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("versions");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "versions"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Version"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,172 @@
/**
* AppliedCategory.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public class AppliedCategory implements java.io.Serializable {
private java.lang.String classification;
private org.alfresco.example.webservice.types.Reference[] categories;
public AppliedCategory() {
}
public AppliedCategory(
java.lang.String classification,
org.alfresco.example.webservice.types.Reference[] categories) {
this.classification = classification;
this.categories = categories;
}
/**
* Gets the classification value for this AppliedCategory.
*
* @return classification
*/
public java.lang.String getClassification() {
return classification;
}
/**
* Sets the classification value for this AppliedCategory.
*
* @param classification
*/
public void setClassification(java.lang.String classification) {
this.classification = classification;
}
/**
* Gets the categories value for this AppliedCategory.
*
* @return categories
*/
public org.alfresco.example.webservice.types.Reference[] getCategories() {
return categories;
}
/**
* Sets the categories value for this AppliedCategory.
*
* @param categories
*/
public void setCategories(org.alfresco.example.webservice.types.Reference[] categories) {
this.categories = categories;
}
public org.alfresco.example.webservice.types.Reference getCategories(int i) {
return this.categories[i];
}
public void setCategories(int i, org.alfresco.example.webservice.types.Reference _value) {
this.categories[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AppliedCategory)) return false;
AppliedCategory other = (AppliedCategory) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.classification==null && other.getClassification()==null) ||
(this.classification!=null &&
this.classification.equals(other.getClassification()))) &&
((this.categories==null && other.getCategories()==null) ||
(this.categories!=null &&
java.util.Arrays.equals(this.categories, other.getCategories())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getClassification() != null) {
_hashCode += getClassification().hashCode();
}
if (getCategories() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCategories());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCategories(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AppliedCategory.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("classification");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "classification"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("categories");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "categories"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,172 @@
/**
* CategoriesResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public class CategoriesResult implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference node;
private org.alfresco.example.webservice.classification.AppliedCategory[] categories;
public CategoriesResult() {
}
public CategoriesResult(
org.alfresco.example.webservice.types.Reference node,
org.alfresco.example.webservice.classification.AppliedCategory[] categories) {
this.node = node;
this.categories = categories;
}
/**
* Gets the node value for this CategoriesResult.
*
* @return node
*/
public org.alfresco.example.webservice.types.Reference getNode() {
return node;
}
/**
* Sets the node value for this CategoriesResult.
*
* @param node
*/
public void setNode(org.alfresco.example.webservice.types.Reference node) {
this.node = node;
}
/**
* Gets the categories value for this CategoriesResult.
*
* @return categories
*/
public org.alfresco.example.webservice.classification.AppliedCategory[] getCategories() {
return categories;
}
/**
* Sets the categories value for this CategoriesResult.
*
* @param categories
*/
public void setCategories(org.alfresco.example.webservice.classification.AppliedCategory[] categories) {
this.categories = categories;
}
public org.alfresco.example.webservice.classification.AppliedCategory getCategories(int i) {
return this.categories[i];
}
public void setCategories(int i, org.alfresco.example.webservice.classification.AppliedCategory _value) {
this.categories[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CategoriesResult)) return false;
CategoriesResult other = (CategoriesResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.node==null && other.getNode()==null) ||
(this.node!=null &&
this.node.equals(other.getNode()))) &&
((this.categories==null && other.getCategories()==null) ||
(this.categories!=null &&
java.util.Arrays.equals(this.categories, other.getCategories())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNode() != null) {
_hashCode += getNode().hashCode();
}
if (getCategories() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCategories());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCategories(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CategoriesResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("node");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "node"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("categories");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "categories"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,157 @@
/**
* ClassificationFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public class ClassificationFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public ClassificationFault() {
}
public ClassificationFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this ClassificationFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this ClassificationFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this ClassificationFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this ClassificationFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ClassificationFault)) return false;
ClassificationFault other = (ClassificationFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ClassificationFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,20 @@
/**
* ClassificationService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public interface ClassificationService extends javax.xml.rpc.Service {
/**
* Provides support for classifying content resources.
*/
public java.lang.String getClassificationServiceAddress();
public org.alfresco.example.webservice.classification.ClassificationServiceSoapPort getClassificationService() throws javax.xml.rpc.ServiceException;
public org.alfresco.example.webservice.classification.ClassificationServiceSoapPort getClassificationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
}

View File

@@ -0,0 +1,146 @@
/**
* ClassificationServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public class ClassificationServiceLocator extends org.apache.axis.client.Service implements org.alfresco.example.webservice.classification.ClassificationService {
/**
* Provides support for classifying content resources.
*/
public ClassificationServiceLocator() {
}
public ClassificationServiceLocator(org.apache.axis.EngineConfiguration config) {
super(config);
}
public ClassificationServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
super(wsdlLoc, sName);
}
// Use to get a proxy class for ClassificationService
private java.lang.String ClassificationService_address = "http://localhost:8080/alfresco/api/ClassificationService";
public java.lang.String getClassificationServiceAddress() {
return ClassificationService_address;
}
// The WSDD service name defaults to the port name.
private java.lang.String ClassificationServiceWSDDServiceName = "ClassificationService";
public java.lang.String getClassificationServiceWSDDServiceName() {
return ClassificationServiceWSDDServiceName;
}
public void setClassificationServiceWSDDServiceName(java.lang.String name) {
ClassificationServiceWSDDServiceName = name;
}
public org.alfresco.example.webservice.classification.ClassificationServiceSoapPort getClassificationService() throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(ClassificationService_address);
}
catch (java.net.MalformedURLException e) {
throw new javax.xml.rpc.ServiceException(e);
}
return getClassificationService(endpoint);
}
public org.alfresco.example.webservice.classification.ClassificationServiceSoapPort getClassificationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
try {
org.alfresco.example.webservice.classification.ClassificationServiceSoapBindingStub _stub = new org.alfresco.example.webservice.classification.ClassificationServiceSoapBindingStub(portAddress, this);
_stub.setPortName(getClassificationServiceWSDDServiceName());
return _stub;
}
catch (org.apache.axis.AxisFault e) {
return null;
}
}
public void setClassificationServiceEndpointAddress(java.lang.String address) {
ClassificationService_address = address;
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
try {
if (org.alfresco.example.webservice.classification.ClassificationServiceSoapPort.class.isAssignableFrom(serviceEndpointInterface)) {
org.alfresco.example.webservice.classification.ClassificationServiceSoapBindingStub _stub = new org.alfresco.example.webservice.classification.ClassificationServiceSoapBindingStub(new java.net.URL(ClassificationService_address), this);
_stub.setPortName(getClassificationServiceWSDDServiceName());
return _stub;
}
}
catch (java.lang.Throwable t) {
throw new javax.xml.rpc.ServiceException(t);
}
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
java.lang.String inputPortName = portName.getLocalPart();
if ("ClassificationService".equals(inputPortName)) {
return getClassificationService();
}
else {
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
((org.apache.axis.client.Stub) _stub).setPortName(portName);
return _stub;
}
}
public javax.xml.namespace.QName getServiceName() {
return new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationService");
}
private java.util.HashSet ports = null;
public java.util.Iterator getPorts() {
if (ports == null) {
ports = new java.util.HashSet();
ports.add(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationService"));
}
return ports.iterator();
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
if ("ClassificationService".equals(portName)) {
setClassificationServiceEndpointAddress(address);
}
else
{ // Unknown Port Name
throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
}

View File

@@ -0,0 +1,680 @@
/**
* ClassificationServiceSoapBindingStub.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public class ClassificationServiceSoapBindingStub extends org.apache.axis.client.Stub implements org.alfresco.example.webservice.classification.ClassificationServiceSoapPort {
private java.util.Vector cachedSerClasses = new java.util.Vector();
private java.util.Vector cachedSerQNames = new java.util.Vector();
private java.util.Vector cachedSerFactories = new java.util.Vector();
private java.util.Vector cachedDeserFactories = new java.util.Vector();
static org.apache.axis.description.OperationDesc [] _operations;
static {
_operations = new org.apache.axis.description.OperationDesc[5];
_initOperationDesc1();
}
private static void _initOperationDesc1(){
org.apache.axis.description.OperationDesc oper;
org.apache.axis.description.ParameterDesc param;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("getClassifications");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "store"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store"), org.alfresco.example.webservice.types.Store.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Classification"));
oper.setReturnClass(org.alfresco.example.webservice.types.Classification[].class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "getClassificationsReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
"org.alfresco.example.webservice.classification.ClassificationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
true
));
_operations[0] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("getChildCategories");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "parentCategory"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.example.webservice.types.Reference.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Category"));
oper.setReturnClass(org.alfresco.example.webservice.types.Category[].class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "getChildCategoriesReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
"org.alfresco.example.webservice.classification.ClassificationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
true
));
_operations[1] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("getCategories");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.example.webservice.types.Predicate.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult"));
oper.setReturnClass(org.alfresco.example.webservice.classification.CategoriesResult[].class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "getCategoriesReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
"org.alfresco.example.webservice.classification.ClassificationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
true
));
_operations[2] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("setCategories");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.example.webservice.types.Predicate.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "categories"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"), org.alfresco.example.webservice.classification.AppliedCategory[].class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult"));
oper.setReturnClass(org.alfresco.example.webservice.classification.CategoriesResult[].class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "setCategoriesReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
"org.alfresco.example.webservice.classification.ClassificationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
true
));
_operations[3] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("describeClassification");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "classification"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"), java.lang.String.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"));
oper.setReturnClass(org.alfresco.example.webservice.types.ClassDefinition.class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "describeClassificationReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
"org.alfresco.example.webservice.classification.ClassificationFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"),
true
));
_operations[4] = oper;
}
public ClassificationServiceSoapBindingStub() throws org.apache.axis.AxisFault {
this(null);
}
public ClassificationServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
this(service);
super.cachedEndpoint = endpointURL;
}
public ClassificationServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
if (service == null) {
super.service = new org.apache.axis.client.Service();
} else {
super.service = service;
}
((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
java.lang.Class cls;
javax.xml.namespace.QName qName;
javax.xml.namespace.QName qName2;
java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>encoding");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>mimetype");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ResultSetRow>node");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSetRowNode.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">Store>address");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.AssociationDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Cardinality");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Cardinality.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(enumsf);
cachedDeserFactories.add(enumdf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Category");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Category.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ClassDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Classification");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Classification.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ContentFormat.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.NamedValue.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Node");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Node.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NodeDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.NodeDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ParentReference.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Path");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Predicate.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "PropertyDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.PropertyDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Query");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Query.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "QueryLanguageEnum");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.QueryLanguageEnum.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(enumsf);
cachedDeserFactories.add(enumdf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Reference.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSet.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetMetaData");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSetMetaData.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetRow");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSetRow.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.RoleDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Store.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "StoreEnum");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.StoreEnum.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(enumsf);
cachedDeserFactories.add(enumdf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "UUID");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ValueDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Version");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Version.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.VersionHistory.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.classification.AppliedCategory.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.classification.CategoriesResult.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.classification.ClassificationFault.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
}
protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
try {
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}
if (super.cachedEndpoint != null) {
_call.setTargetEndpointAddress(super.cachedEndpoint);
}
if (super.cachedTimeout != null) {
_call.setTimeout(super.cachedTimeout);
}
if (super.cachedPortName != null) {
_call.setPortName(super.cachedPortName);
}
java.util.Enumeration keys = super.cachedProperties.keys();
while (keys.hasMoreElements()) {
java.lang.String key = (java.lang.String) keys.nextElement();
_call.setProperty(key, super.cachedProperties.get(key));
}
// All the type mapping information is registered
// when the first call is made.
// The type mapping information is actually registered in
// the TypeMappingRegistry of the service, which
// is the reason why registration is only needed for the first call.
synchronized (this) {
if (firstCall()) {
// must set encoding style before registering serializers
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
javax.xml.namespace.QName qName =
(javax.xml.namespace.QName) cachedSerQNames.get(i);
java.lang.Object x = cachedSerFactories.get(i);
if (x instanceof Class) {
java.lang.Class sf = (java.lang.Class)
cachedSerFactories.get(i);
java.lang.Class df = (java.lang.Class)
cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
cachedSerFactories.get(i);
org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
}
}
}
return _call;
}
catch (java.lang.Throwable _t) {
throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
}
}
/**
* Gets available classifications.
*/
public org.alfresco.example.webservice.types.Classification[] getClassifications(org.alfresco.example.webservice.types.Store store) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/getClassifications");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "getClassifications"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {store});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.types.Classification[]) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.types.Classification[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.types.Classification[].class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.classification.ClassificationFault) {
throw (org.alfresco.example.webservice.classification.ClassificationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
/**
* Gets child categories for the specified parent category.
*/
public org.alfresco.example.webservice.types.Category[] getChildCategories(org.alfresco.example.webservice.types.Reference parentCategory) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[1]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/getChildCategories");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "getChildCategories"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parentCategory});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.types.Category[]) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.types.Category[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.types.Category[].class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.classification.ClassificationFault) {
throw (org.alfresco.example.webservice.classification.ClassificationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
/**
* Gets the categories applied to the specified content resource.
*/
public org.alfresco.example.webservice.classification.CategoriesResult[] getCategories(org.alfresco.example.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[2]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/getCategories");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "getCategories"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {items});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.classification.CategoriesResult[]) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.classification.CategoriesResult[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.classification.CategoriesResult[].class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.classification.ClassificationFault) {
throw (org.alfresco.example.webservice.classification.ClassificationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
/**
* Modifies the categories applied to the specified content resource.
*/
public org.alfresco.example.webservice.classification.CategoriesResult[] setCategories(org.alfresco.example.webservice.types.Predicate items, org.alfresco.example.webservice.classification.AppliedCategory[] categories) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[3]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/setCategories");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "setCategories"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {items, categories});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.classification.CategoriesResult[]) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.classification.CategoriesResult[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.classification.CategoriesResult[].class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.classification.ClassificationFault) {
throw (org.alfresco.example.webservice.classification.ClassificationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
/**
* Describe a classification in terms of how it is represented
* in the meta model i.e. is it an aspect, which property holds the applied
* category.
*/
public org.alfresco.example.webservice.types.ClassDefinition describeClassification(java.lang.String classification) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[4]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/describeClassification");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "describeClassification"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {classification});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.types.ClassDefinition) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.types.ClassDefinition) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.types.ClassDefinition.class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.classification.ClassificationFault) {
throw (org.alfresco.example.webservice.classification.ClassificationFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
}

View File

@@ -0,0 +1,38 @@
/**
* ClassificationServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.classification;
public interface ClassificationServiceSoapPort extends java.rmi.Remote {
/**
* Gets available classifications.
*/
public org.alfresco.example.webservice.types.Classification[] getClassifications(org.alfresco.example.webservice.types.Store store) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault;
/**
* Gets child categories for the specified parent category.
*/
public org.alfresco.example.webservice.types.Category[] getChildCategories(org.alfresco.example.webservice.types.Reference parentCategory) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault;
/**
* Gets the categories applied to the specified content resource.
*/
public org.alfresco.example.webservice.classification.CategoriesResult[] getCategories(org.alfresco.example.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault;
/**
* Modifies the categories applied to the specified content resource.
*/
public org.alfresco.example.webservice.classification.CategoriesResult[] setCategories(org.alfresco.example.webservice.types.Predicate items, org.alfresco.example.webservice.classification.AppliedCategory[] categories) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault;
/**
* Describe a classification in terms of how it is represented
* in the meta model i.e. is it an aspect, which property holds the applied
* category.
*/
public org.alfresco.example.webservice.types.ClassDefinition describeClassification(java.lang.String classification) throws java.rmi.RemoteException, org.alfresco.example.webservice.classification.ClassificationFault;
}

View File

@@ -0,0 +1,255 @@
/**
* Content.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public class Content implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference node;
private java.lang.String property;
private long length;
private org.alfresco.example.webservice.types.ContentFormat format;
private java.lang.String url;
public Content() {
}
public Content(
org.alfresco.example.webservice.types.Reference node,
java.lang.String property,
long length,
org.alfresco.example.webservice.types.ContentFormat format,
java.lang.String url) {
this.node = node;
this.property = property;
this.length = length;
this.format = format;
this.url = url;
}
/**
* Gets the node value for this Content.
*
* @return node
*/
public org.alfresco.example.webservice.types.Reference getNode() {
return node;
}
/**
* Sets the node value for this Content.
*
* @param node
*/
public void setNode(org.alfresco.example.webservice.types.Reference node) {
this.node = node;
}
/**
* Gets the property value for this Content.
*
* @return property
*/
public java.lang.String getProperty() {
return property;
}
/**
* Sets the property value for this Content.
*
* @param property
*/
public void setProperty(java.lang.String property) {
this.property = property;
}
/**
* Gets the length value for this Content.
*
* @return length
*/
public long getLength() {
return length;
}
/**
* Sets the length value for this Content.
*
* @param length
*/
public void setLength(long length) {
this.length = length;
}
/**
* Gets the format value for this Content.
*
* @return format
*/
public org.alfresco.example.webservice.types.ContentFormat getFormat() {
return format;
}
/**
* Sets the format value for this Content.
*
* @param format
*/
public void setFormat(org.alfresco.example.webservice.types.ContentFormat format) {
this.format = format;
}
/**
* Gets the url value for this Content.
*
* @return url
*/
public java.lang.String getUrl() {
return url;
}
/**
* Sets the url value for this Content.
*
* @param url
*/
public void setUrl(java.lang.String url) {
this.url = url;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Content)) return false;
Content other = (Content) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.node==null && other.getNode()==null) ||
(this.node!=null &&
this.node.equals(other.getNode()))) &&
((this.property==null && other.getProperty()==null) ||
(this.property!=null &&
this.property.equals(other.getProperty()))) &&
this.length == other.getLength() &&
((this.format==null && other.getFormat()==null) ||
(this.format!=null &&
this.format.equals(other.getFormat()))) &&
((this.url==null && other.getUrl()==null) ||
(this.url!=null &&
this.url.equals(other.getUrl())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNode() != null) {
_hashCode += getNode().hashCode();
}
if (getProperty() != null) {
_hashCode += getProperty().hashCode();
}
_hashCode += new Long(getLength()).hashCode();
if (getFormat() != null) {
_hashCode += getFormat().hashCode();
}
if (getUrl() != null) {
_hashCode += getUrl().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Content.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "Content"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("node");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "node"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("property");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "property"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("length");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "length"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("format");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "format"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("url");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "url"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,157 @@
/**
* ContentFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public class ContentFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public ContentFault() {
}
public ContentFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this ContentFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this ContentFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this ContentFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this ContentFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ContentFault)) return false;
ContentFault other = (ContentFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ContentFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,146 @@
/**
* ContentSegment.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public class ContentSegment implements java.io.Serializable {
private long offset;
private long length;
public ContentSegment() {
}
public ContentSegment(
long offset,
long length) {
this.offset = offset;
this.length = length;
}
/**
* Gets the offset value for this ContentSegment.
*
* @return offset
*/
public long getOffset() {
return offset;
}
/**
* Sets the offset value for this ContentSegment.
*
* @param offset
*/
public void setOffset(long offset) {
this.offset = offset;
}
/**
* Gets the length value for this ContentSegment.
*
* @return length
*/
public long getLength() {
return length;
}
/**
* Sets the length value for this ContentSegment.
*
* @param length
*/
public void setLength(long length) {
this.length = length;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ContentSegment)) return false;
ContentSegment other = (ContentSegment) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.offset == other.getOffset() &&
this.length == other.getLength();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += new Long(getOffset()).hashCode();
_hashCode += new Long(getLength()).hashCode();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ContentSegment.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentSegment"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("offset");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "offset"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("length");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "length"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,20 @@
/**
* ContentService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public interface ContentService extends javax.xml.rpc.Service {
/**
* Provides read and write access to content streams.
*/
public java.lang.String getContentServiceAddress();
public org.alfresco.example.webservice.content.ContentServiceSoapPort getContentService() throws javax.xml.rpc.ServiceException;
public org.alfresco.example.webservice.content.ContentServiceSoapPort getContentService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
}

View File

@@ -0,0 +1,146 @@
/**
* ContentServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public class ContentServiceLocator extends org.apache.axis.client.Service implements org.alfresco.example.webservice.content.ContentService {
/**
* Provides read and write access to content streams.
*/
public ContentServiceLocator() {
}
public ContentServiceLocator(org.apache.axis.EngineConfiguration config) {
super(config);
}
public ContentServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
super(wsdlLoc, sName);
}
// Use to get a proxy class for ContentService
private java.lang.String ContentService_address = "http://localhost:8080/alfresco/api/ContentService";
public java.lang.String getContentServiceAddress() {
return ContentService_address;
}
// The WSDD service name defaults to the port name.
private java.lang.String ContentServiceWSDDServiceName = "ContentService";
public java.lang.String getContentServiceWSDDServiceName() {
return ContentServiceWSDDServiceName;
}
public void setContentServiceWSDDServiceName(java.lang.String name) {
ContentServiceWSDDServiceName = name;
}
public org.alfresco.example.webservice.content.ContentServiceSoapPort getContentService() throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(ContentService_address);
}
catch (java.net.MalformedURLException e) {
throw new javax.xml.rpc.ServiceException(e);
}
return getContentService(endpoint);
}
public org.alfresco.example.webservice.content.ContentServiceSoapPort getContentService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
try {
org.alfresco.example.webservice.content.ContentServiceSoapBindingStub _stub = new org.alfresco.example.webservice.content.ContentServiceSoapBindingStub(portAddress, this);
_stub.setPortName(getContentServiceWSDDServiceName());
return _stub;
}
catch (org.apache.axis.AxisFault e) {
return null;
}
}
public void setContentServiceEndpointAddress(java.lang.String address) {
ContentService_address = address;
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
try {
if (org.alfresco.example.webservice.content.ContentServiceSoapPort.class.isAssignableFrom(serviceEndpointInterface)) {
org.alfresco.example.webservice.content.ContentServiceSoapBindingStub _stub = new org.alfresco.example.webservice.content.ContentServiceSoapBindingStub(new java.net.URL(ContentService_address), this);
_stub.setPortName(getContentServiceWSDDServiceName());
return _stub;
}
}
catch (java.lang.Throwable t) {
throw new javax.xml.rpc.ServiceException(t);
}
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
java.lang.String inputPortName = portName.getLocalPart();
if ("ContentService".equals(inputPortName)) {
return getContentService();
}
else {
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
((org.apache.axis.client.Stub) _stub).setPortName(portName);
return _stub;
}
}
public javax.xml.namespace.QName getServiceName() {
return new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentService");
}
private java.util.HashSet ports = null;
public java.util.Iterator getPorts() {
if (ports == null) {
ports = new java.util.HashSet();
ports.add(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentService"));
}
return ports.iterator();
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
if ("ContentService".equals(portName)) {
setContentServiceEndpointAddress(address);
}
else
{ // Unknown Port Name
throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
}

View File

@@ -0,0 +1,560 @@
/**
* ContentServiceSoapBindingStub.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public class ContentServiceSoapBindingStub extends org.apache.axis.client.Stub implements org.alfresco.example.webservice.content.ContentServiceSoapPort {
private java.util.Vector cachedSerClasses = new java.util.Vector();
private java.util.Vector cachedSerQNames = new java.util.Vector();
private java.util.Vector cachedSerFactories = new java.util.Vector();
private java.util.Vector cachedDeserFactories = new java.util.Vector();
static org.apache.axis.description.OperationDesc [] _operations;
static {
_operations = new org.apache.axis.description.OperationDesc[3];
_initOperationDesc1();
}
private static void _initOperationDesc1(){
org.apache.axis.description.OperationDesc oper;
org.apache.axis.description.ParameterDesc param;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("read");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.example.webservice.types.Predicate.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "property"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "Content"));
oper.setReturnClass(org.alfresco.example.webservice.content.Content[].class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "content"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"),
"org.alfresco.example.webservice.content.ContentFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"),
true
));
_operations[0] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("write");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "node"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.example.webservice.types.Reference.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "property"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "content"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "format"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat"), org.alfresco.example.webservice.types.ContentFormat.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "Content"));
oper.setReturnClass(org.alfresco.example.webservice.content.Content.class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "content"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"),
"org.alfresco.example.webservice.content.ContentFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"),
true
));
_operations[1] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("clear");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.example.webservice.types.Predicate.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "property"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "Content"));
oper.setReturnClass(org.alfresco.example.webservice.content.Content[].class);
oper.setReturnQName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "content"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
oper.addFault(new org.apache.axis.description.FaultDesc(
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"),
"org.alfresco.example.webservice.content.ContentFault",
new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault"),
true
));
_operations[2] = oper;
}
public ContentServiceSoapBindingStub() throws org.apache.axis.AxisFault {
this(null);
}
public ContentServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
this(service);
super.cachedEndpoint = endpointURL;
}
public ContentServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
if (service == null) {
super.service = new org.apache.axis.client.Service();
} else {
super.service = service;
}
((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
java.lang.Class cls;
javax.xml.namespace.QName qName;
javax.xml.namespace.QName qName2;
java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>encoding");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>mimetype");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ResultSetRow>node");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSetRowNode.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">Store>address");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.AssociationDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Cardinality");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Cardinality.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(enumsf);
cachedDeserFactories.add(enumdf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Category");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Category.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ClassDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Classification");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Classification.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ContentFormat.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.NamedValue.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Node");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Node.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NodeDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.NodeDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ParentReference.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Path");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Predicate.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "PropertyDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.PropertyDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Query");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Query.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "QueryLanguageEnum");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.QueryLanguageEnum.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(enumsf);
cachedDeserFactories.add(enumdf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Reference.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSet.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetMetaData");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSetMetaData.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetRow");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ResultSetRow.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.RoleDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Store.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "StoreEnum");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.StoreEnum.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(enumsf);
cachedDeserFactories.add(enumdf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "UUID");
cachedSerQNames.add(qName);
cls = java.lang.String.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.ValueDefinition.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Version");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.Version.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.types.VersionHistory.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "Content");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.content.Content.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.content.ContentFault.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentSegment");
cachedSerQNames.add(qName);
cls = org.alfresco.example.webservice.content.ContentSegment.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
}
protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
try {
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}
if (super.cachedEndpoint != null) {
_call.setTargetEndpointAddress(super.cachedEndpoint);
}
if (super.cachedTimeout != null) {
_call.setTimeout(super.cachedTimeout);
}
if (super.cachedPortName != null) {
_call.setPortName(super.cachedPortName);
}
java.util.Enumeration keys = super.cachedProperties.keys();
while (keys.hasMoreElements()) {
java.lang.String key = (java.lang.String) keys.nextElement();
_call.setProperty(key, super.cachedProperties.get(key));
}
// All the type mapping information is registered
// when the first call is made.
// The type mapping information is actually registered in
// the TypeMappingRegistry of the service, which
// is the reason why registration is only needed for the first call.
synchronized (this) {
if (firstCall()) {
// must set encoding style before registering serializers
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
javax.xml.namespace.QName qName =
(javax.xml.namespace.QName) cachedSerQNames.get(i);
java.lang.Object x = cachedSerFactories.get(i);
if (x instanceof Class) {
java.lang.Class sf = (java.lang.Class)
cachedSerFactories.get(i);
java.lang.Class df = (java.lang.Class)
cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
cachedSerFactories.get(i);
org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
}
}
}
return _call;
}
catch (java.lang.Throwable _t) {
throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
}
}
/**
* Retrieves content from the repository.
*/
public org.alfresco.example.webservice.content.Content[] read(org.alfresco.example.webservice.types.Predicate items, java.lang.String property) throws java.rmi.RemoteException, org.alfresco.example.webservice.content.ContentFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/content/1.0/read");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "read"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {items, property});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.content.Content[]) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.content.Content[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.content.Content[].class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.content.ContentFault) {
throw (org.alfresco.example.webservice.content.ContentFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
/**
* Writes content to the repository.
*/
public org.alfresco.example.webservice.content.Content write(org.alfresco.example.webservice.types.Reference node, java.lang.String property, byte[] content, org.alfresco.example.webservice.types.ContentFormat format) throws java.rmi.RemoteException, org.alfresco.example.webservice.content.ContentFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[1]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/content/1.0/write");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "write"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {node, property, content, format});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.content.Content) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.content.Content) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.content.Content.class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.content.ContentFault) {
throw (org.alfresco.example.webservice.content.ContentFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
/**
* Clears content from the repository.
*/
public org.alfresco.example.webservice.content.Content[] clear(org.alfresco.example.webservice.types.Predicate items, java.lang.String property) throws java.rmi.RemoteException, org.alfresco.example.webservice.content.ContentFault {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[2]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.alfresco.org/ws/service/content/1.0/clear");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "clear"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {items, property});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (org.alfresco.example.webservice.content.Content[]) _resp;
} catch (java.lang.Exception _exception) {
return (org.alfresco.example.webservice.content.Content[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.example.webservice.content.Content[].class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof org.alfresco.example.webservice.content.ContentFault) {
throw (org.alfresco.example.webservice.content.ContentFault) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
}

View File

@@ -0,0 +1,26 @@
/**
* ContentServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.content;
public interface ContentServiceSoapPort extends java.rmi.Remote {
/**
* Retrieves content from the repository.
*/
public org.alfresco.example.webservice.content.Content[] read(org.alfresco.example.webservice.types.Predicate items, java.lang.String property) throws java.rmi.RemoteException, org.alfresco.example.webservice.content.ContentFault;
/**
* Writes content to the repository.
*/
public org.alfresco.example.webservice.content.Content write(org.alfresco.example.webservice.types.Reference node, java.lang.String property, byte[] content, org.alfresco.example.webservice.types.ContentFormat format) throws java.rmi.RemoteException, org.alfresco.example.webservice.content.ContentFault;
/**
* Clears content from the repository.
*/
public org.alfresco.example.webservice.content.Content[] clear(org.alfresco.example.webservice.types.Predicate items, java.lang.String property) throws java.rmi.RemoteException, org.alfresco.example.webservice.content.ContentFault;
}

View File

@@ -0,0 +1,154 @@
/**
* Association.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public class Association implements java.io.Serializable {
private java.lang.String associationType;
private org.alfresco.example.webservice.repository.AssociationDirectionEnum direction;
public Association() {
}
public Association(
java.lang.String associationType,
org.alfresco.example.webservice.repository.AssociationDirectionEnum direction) {
this.associationType = associationType;
this.direction = direction;
}
/**
* Gets the associationType value for this Association.
*
* @return associationType
*/
public java.lang.String getAssociationType() {
return associationType;
}
/**
* Sets the associationType value for this Association.
*
* @param associationType
*/
public void setAssociationType(java.lang.String associationType) {
this.associationType = associationType;
}
/**
* Gets the direction value for this Association.
*
* @return direction
*/
public org.alfresco.example.webservice.repository.AssociationDirectionEnum getDirection() {
return direction;
}
/**
* Sets the direction value for this Association.
*
* @param direction
*/
public void setDirection(org.alfresco.example.webservice.repository.AssociationDirectionEnum direction) {
this.direction = direction;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Association)) return false;
Association other = (Association) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.associationType==null && other.getAssociationType()==null) ||
(this.associationType!=null &&
this.associationType.equals(other.getAssociationType()))) &&
((this.direction==null && other.getDirection()==null) ||
(this.direction!=null &&
this.direction.equals(other.getDirection())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAssociationType() != null) {
_hashCode += getAssociationType().hashCode();
}
if (getDirection() != null) {
_hashCode += getDirection().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Association.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "Association"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("associationType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "associationType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("direction");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "direction"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "AssociationDirectionEnum"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,70 @@
/**
* AssociationDirectionEnum.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public class AssociationDirectionEnum implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected AssociationDirectionEnum(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _source = "source";
public static final java.lang.String _target = "target";
public static final AssociationDirectionEnum source = new AssociationDirectionEnum(_source);
public static final AssociationDirectionEnum target = new AssociationDirectionEnum(_target);
public java.lang.String getValue() { return _value_;}
public static AssociationDirectionEnum fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
AssociationDirectionEnum enumeration = (AssociationDirectionEnum)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static AssociationDirectionEnum fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AssociationDirectionEnum.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "AssociationDirectionEnum"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}

View File

@@ -0,0 +1,154 @@
/**
* QueryResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public class QueryResult implements java.io.Serializable {
private java.lang.String querySession;
private org.alfresco.example.webservice.types.ResultSet resultSet;
public QueryResult() {
}
public QueryResult(
java.lang.String querySession,
org.alfresco.example.webservice.types.ResultSet resultSet) {
this.querySession = querySession;
this.resultSet = resultSet;
}
/**
* Gets the querySession value for this QueryResult.
*
* @return querySession
*/
public java.lang.String getQuerySession() {
return querySession;
}
/**
* Sets the querySession value for this QueryResult.
*
* @param querySession
*/
public void setQuerySession(java.lang.String querySession) {
this.querySession = querySession;
}
/**
* Gets the resultSet value for this QueryResult.
*
* @return resultSet
*/
public org.alfresco.example.webservice.types.ResultSet getResultSet() {
return resultSet;
}
/**
* Sets the resultSet value for this QueryResult.
*
* @param resultSet
*/
public void setResultSet(org.alfresco.example.webservice.types.ResultSet resultSet) {
this.resultSet = resultSet;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof QueryResult)) return false;
QueryResult other = (QueryResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.querySession==null && other.getQuerySession()==null) ||
(this.querySession!=null &&
this.querySession.equals(other.getQuerySession()))) &&
((this.resultSet==null && other.getResultSet()==null) ||
(this.resultSet!=null &&
this.resultSet.equals(other.getResultSet())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getQuerySession() != null) {
_hashCode += getQuerySession().hashCode();
}
if (getResultSet() != null) {
_hashCode += getResultSet().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(QueryResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "QueryResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("querySession");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "querySession"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("resultSet");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "resultSet"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,157 @@
/**
* RepositoryFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public class RepositoryFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public RepositoryFault() {
}
public RepositoryFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this RepositoryFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this RepositoryFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this RepositoryFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this RepositoryFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof RepositoryFault)) return false;
RepositoryFault other = (RepositoryFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(RepositoryFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "RepositoryFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,20 @@
/**
* RepositoryService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public interface RepositoryService extends javax.xml.rpc.Service {
/**
* Provides read and write operations against a repository.
*/
public java.lang.String getRepositoryServiceAddress();
public org.alfresco.example.webservice.repository.RepositoryServiceSoapPort getRepositoryService() throws javax.xml.rpc.ServiceException;
public org.alfresco.example.webservice.repository.RepositoryServiceSoapPort getRepositoryService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
}

View File

@@ -0,0 +1,146 @@
/**
* RepositoryServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public class RepositoryServiceLocator extends org.apache.axis.client.Service implements org.alfresco.example.webservice.repository.RepositoryService {
/**
* Provides read and write operations against a repository.
*/
public RepositoryServiceLocator() {
}
public RepositoryServiceLocator(org.apache.axis.EngineConfiguration config) {
super(config);
}
public RepositoryServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
super(wsdlLoc, sName);
}
// Use to get a proxy class for RepositoryService
private java.lang.String RepositoryService_address = "http://localhost:8080/alfresco/api/RepositoryService";
public java.lang.String getRepositoryServiceAddress() {
return RepositoryService_address;
}
// The WSDD service name defaults to the port name.
private java.lang.String RepositoryServiceWSDDServiceName = "RepositoryService";
public java.lang.String getRepositoryServiceWSDDServiceName() {
return RepositoryServiceWSDDServiceName;
}
public void setRepositoryServiceWSDDServiceName(java.lang.String name) {
RepositoryServiceWSDDServiceName = name;
}
public org.alfresco.example.webservice.repository.RepositoryServiceSoapPort getRepositoryService() throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(RepositoryService_address);
}
catch (java.net.MalformedURLException e) {
throw new javax.xml.rpc.ServiceException(e);
}
return getRepositoryService(endpoint);
}
public org.alfresco.example.webservice.repository.RepositoryServiceSoapPort getRepositoryService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
try {
org.alfresco.example.webservice.repository.RepositoryServiceSoapBindingStub _stub = new org.alfresco.example.webservice.repository.RepositoryServiceSoapBindingStub(portAddress, this);
_stub.setPortName(getRepositoryServiceWSDDServiceName());
return _stub;
}
catch (org.apache.axis.AxisFault e) {
return null;
}
}
public void setRepositoryServiceEndpointAddress(java.lang.String address) {
RepositoryService_address = address;
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
try {
if (org.alfresco.example.webservice.repository.RepositoryServiceSoapPort.class.isAssignableFrom(serviceEndpointInterface)) {
org.alfresco.example.webservice.repository.RepositoryServiceSoapBindingStub _stub = new org.alfresco.example.webservice.repository.RepositoryServiceSoapBindingStub(new java.net.URL(RepositoryService_address), this);
_stub.setPortName(getRepositoryServiceWSDDServiceName());
return _stub;
}
}
catch (java.lang.Throwable t) {
throw new javax.xml.rpc.ServiceException(t);
}
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
java.lang.String inputPortName = portName.getLocalPart();
if ("RepositoryService".equals(inputPortName)) {
return getRepositoryService();
}
else {
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
((org.apache.axis.client.Stub) _stub).setPortName(portName);
return _stub;
}
}
public javax.xml.namespace.QName getServiceName() {
return new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "RepositoryService");
}
private java.util.HashSet ports = null;
public java.util.Iterator getPorts() {
if (ports == null) {
ports = new java.util.HashSet();
ports.add(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "RepositoryService"));
}
return ports.iterator();
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
if ("RepositoryService".equals(portName)) {
setRepositoryServiceEndpointAddress(address);
}
else
{ // Unknown Port Name
throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**
* Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
}

View File

@@ -0,0 +1,59 @@
/**
* RepositoryServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public interface RepositoryServiceSoapPort extends java.rmi.Remote {
/**
* Retrieves a list of stores where content resources are held.
*/
public org.alfresco.example.webservice.types.Store[] getStores() throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Executes a query against a store.
*/
public org.alfresco.example.webservice.repository.QueryResult query(org.alfresco.example.webservice.types.Store store, org.alfresco.example.webservice.types.Query query, boolean includeMetaData) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Executes a query to retrieve the children of the specified
* resource.
*/
public org.alfresco.example.webservice.repository.QueryResult queryChildren(org.alfresco.example.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Executes a query to retrieve the parents of the specified resource.
*/
public org.alfresco.example.webservice.repository.QueryResult queryParents(org.alfresco.example.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Executes a query to retrieve associated resources of the specified
* resource.
*/
public org.alfresco.example.webservice.repository.QueryResult queryAssociated(org.alfresco.example.webservice.types.Reference node, org.alfresco.example.webservice.repository.Association[] association) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Fetches the next batch of query results.
*/
public org.alfresco.example.webservice.repository.QueryResult fetchMore(java.lang.String querySession) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Executes a CML script to manipulate the contents of a Repository
* store.
*/
public org.alfresco.example.webservice.repository.UpdateResult[] update(org.alfresco.example.webservice.types.CML statements) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Describes a content resource.
*/
public org.alfresco.example.webservice.types.NodeDefinition[] describe(org.alfresco.example.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
/**
* Gets a resource from the repository.
*/
public org.alfresco.example.webservice.types.Node[] get(org.alfresco.example.webservice.types.Predicate where) throws java.rmi.RemoteException, org.alfresco.example.webservice.repository.RepositoryFault;
}

View File

@@ -0,0 +1,224 @@
/**
* UpdateResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.repository;
public class UpdateResult implements java.io.Serializable {
private java.lang.String statement;
private org.alfresco.example.webservice.types.ResultSet updateCount;
private org.alfresco.example.webservice.types.Reference source;
private org.alfresco.example.webservice.types.Reference destination;
public UpdateResult() {
}
public UpdateResult(
java.lang.String statement,
org.alfresco.example.webservice.types.ResultSet updateCount,
org.alfresco.example.webservice.types.Reference source,
org.alfresco.example.webservice.types.Reference destination) {
this.statement = statement;
this.updateCount = updateCount;
this.source = source;
this.destination = destination;
}
/**
* Gets the statement value for this UpdateResult.
*
* @return statement
*/
public java.lang.String getStatement() {
return statement;
}
/**
* Sets the statement value for this UpdateResult.
*
* @param statement
*/
public void setStatement(java.lang.String statement) {
this.statement = statement;
}
/**
* Gets the updateCount value for this UpdateResult.
*
* @return updateCount
*/
public org.alfresco.example.webservice.types.ResultSet getUpdateCount() {
return updateCount;
}
/**
* Sets the updateCount value for this UpdateResult.
*
* @param updateCount
*/
public void setUpdateCount(org.alfresco.example.webservice.types.ResultSet updateCount) {
this.updateCount = updateCount;
}
/**
* Gets the source value for this UpdateResult.
*
* @return source
*/
public org.alfresco.example.webservice.types.Reference getSource() {
return source;
}
/**
* Sets the source value for this UpdateResult.
*
* @param source
*/
public void setSource(org.alfresco.example.webservice.types.Reference source) {
this.source = source;
}
/**
* Gets the destination value for this UpdateResult.
*
* @return destination
*/
public org.alfresco.example.webservice.types.Reference getDestination() {
return destination;
}
/**
* Sets the destination value for this UpdateResult.
*
* @param destination
*/
public void setDestination(org.alfresco.example.webservice.types.Reference destination) {
this.destination = destination;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof UpdateResult)) return false;
UpdateResult other = (UpdateResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.statement==null && other.getStatement()==null) ||
(this.statement!=null &&
this.statement.equals(other.getStatement()))) &&
((this.updateCount==null && other.getUpdateCount()==null) ||
(this.updateCount!=null &&
this.updateCount.equals(other.getUpdateCount()))) &&
((this.source==null && other.getSource()==null) ||
(this.source!=null &&
this.source.equals(other.getSource()))) &&
((this.destination==null && other.getDestination()==null) ||
(this.destination!=null &&
this.destination.equals(other.getDestination())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getStatement() != null) {
_hashCode += getStatement().hashCode();
}
if (getUpdateCount() != null) {
_hashCode += getUpdateCount().hashCode();
}
if (getSource() != null) {
_hashCode += getSource().hashCode();
}
if (getDestination() != null) {
_hashCode += getDestination().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(UpdateResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "UpdateResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("statement");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "statement"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("updateCount");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "updateCount"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("source");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "source"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("destination");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "destination"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,329 @@
/**
* AssociationDefinition.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class AssociationDefinition implements java.io.Serializable {
private java.lang.String name;
private java.lang.String title;
private java.lang.String description;
private boolean isChild;
private org.alfresco.example.webservice.types.RoleDefinition sourceRole;
private org.alfresco.example.webservice.types.RoleDefinition targetRole;
private java.lang.String targetClass;
public AssociationDefinition() {
}
public AssociationDefinition(
java.lang.String name,
java.lang.String title,
java.lang.String description,
boolean isChild,
org.alfresco.example.webservice.types.RoleDefinition sourceRole,
org.alfresco.example.webservice.types.RoleDefinition targetRole,
java.lang.String targetClass) {
this.name = name;
this.title = title;
this.description = description;
this.isChild = isChild;
this.sourceRole = sourceRole;
this.targetRole = targetRole;
this.targetClass = targetClass;
}
/**
* Gets the name value for this AssociationDefinition.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this AssociationDefinition.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the title value for this AssociationDefinition.
*
* @return title
*/
public java.lang.String getTitle() {
return title;
}
/**
* Sets the title value for this AssociationDefinition.
*
* @param title
*/
public void setTitle(java.lang.String title) {
this.title = title;
}
/**
* Gets the description value for this AssociationDefinition.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this AssociationDefinition.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
/**
* Gets the isChild value for this AssociationDefinition.
*
* @return isChild
*/
public boolean isIsChild() {
return isChild;
}
/**
* Sets the isChild value for this AssociationDefinition.
*
* @param isChild
*/
public void setIsChild(boolean isChild) {
this.isChild = isChild;
}
/**
* Gets the sourceRole value for this AssociationDefinition.
*
* @return sourceRole
*/
public org.alfresco.example.webservice.types.RoleDefinition getSourceRole() {
return sourceRole;
}
/**
* Sets the sourceRole value for this AssociationDefinition.
*
* @param sourceRole
*/
public void setSourceRole(org.alfresco.example.webservice.types.RoleDefinition sourceRole) {
this.sourceRole = sourceRole;
}
/**
* Gets the targetRole value for this AssociationDefinition.
*
* @return targetRole
*/
public org.alfresco.example.webservice.types.RoleDefinition getTargetRole() {
return targetRole;
}
/**
* Sets the targetRole value for this AssociationDefinition.
*
* @param targetRole
*/
public void setTargetRole(org.alfresco.example.webservice.types.RoleDefinition targetRole) {
this.targetRole = targetRole;
}
/**
* Gets the targetClass value for this AssociationDefinition.
*
* @return targetClass
*/
public java.lang.String getTargetClass() {
return targetClass;
}
/**
* Sets the targetClass value for this AssociationDefinition.
*
* @param targetClass
*/
public void setTargetClass(java.lang.String targetClass) {
this.targetClass = targetClass;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AssociationDefinition)) return false;
AssociationDefinition other = (AssociationDefinition) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
this.title.equals(other.getTitle()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
this.isChild == other.isIsChild() &&
((this.sourceRole==null && other.getSourceRole()==null) ||
(this.sourceRole!=null &&
this.sourceRole.equals(other.getSourceRole()))) &&
((this.targetRole==null && other.getTargetRole()==null) ||
(this.targetRole!=null &&
this.targetRole.equals(other.getTargetRole()))) &&
((this.targetClass==null && other.getTargetClass()==null) ||
(this.targetClass!=null &&
this.targetClass.equals(other.getTargetClass())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getTitle() != null) {
_hashCode += getTitle().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
_hashCode += (isIsChild() ? Boolean.TRUE : Boolean.FALSE).hashCode();
if (getSourceRole() != null) {
_hashCode += getSourceRole().hashCode();
}
if (getTargetRole() != null) {
_hashCode += getTargetRole().hashCode();
}
if (getTargetClass() != null) {
_hashCode += getTargetClass().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AssociationDefinition.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("isChild");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "isChild"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("sourceRole");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "sourceRole"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("targetRole");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "targetRole"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("targetClass");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "targetClass"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,667 @@
/**
* CML.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CML implements java.io.Serializable {
private org.alfresco.example.webservice.types.CMLCreate[] create;
private org.alfresco.example.webservice.types.CMLAddAspect[] addAspect;
private org.alfresco.example.webservice.types.CMLRemoveAspect[] removeAspect;
private org.alfresco.example.webservice.types.CMLUpdate[] update;
private org.alfresco.example.webservice.types.CMLDelete[] delete;
private org.alfresco.example.webservice.types.CMLMove[] move;
private org.alfresco.example.webservice.types.CMLCopy[] copy;
private org.alfresco.example.webservice.types.CMLAddChild[] addChild;
private org.alfresco.example.webservice.types.CMLRemoveChild[] removeChild;
private org.alfresco.example.webservice.types.CMLCreateAssociation[] createAssociation;
private org.alfresco.example.webservice.types.CMLRemoveAssociation[] removeAssociation;
public CML() {
}
public CML(
org.alfresco.example.webservice.types.CMLCreate[] create,
org.alfresco.example.webservice.types.CMLAddAspect[] addAspect,
org.alfresco.example.webservice.types.CMLRemoveAspect[] removeAspect,
org.alfresco.example.webservice.types.CMLUpdate[] update,
org.alfresco.example.webservice.types.CMLDelete[] delete,
org.alfresco.example.webservice.types.CMLMove[] move,
org.alfresco.example.webservice.types.CMLCopy[] copy,
org.alfresco.example.webservice.types.CMLAddChild[] addChild,
org.alfresco.example.webservice.types.CMLRemoveChild[] removeChild,
org.alfresco.example.webservice.types.CMLCreateAssociation[] createAssociation,
org.alfresco.example.webservice.types.CMLRemoveAssociation[] removeAssociation) {
this.create = create;
this.addAspect = addAspect;
this.removeAspect = removeAspect;
this.update = update;
this.delete = delete;
this.move = move;
this.copy = copy;
this.addChild = addChild;
this.removeChild = removeChild;
this.createAssociation = createAssociation;
this.removeAssociation = removeAssociation;
}
/**
* Gets the create value for this CML.
*
* @return create
*/
public org.alfresco.example.webservice.types.CMLCreate[] getCreate() {
return create;
}
/**
* Sets the create value for this CML.
*
* @param create
*/
public void setCreate(org.alfresco.example.webservice.types.CMLCreate[] create) {
this.create = create;
}
public org.alfresco.example.webservice.types.CMLCreate getCreate(int i) {
return this.create[i];
}
public void setCreate(int i, org.alfresco.example.webservice.types.CMLCreate _value) {
this.create[i] = _value;
}
/**
* Gets the addAspect value for this CML.
*
* @return addAspect
*/
public org.alfresco.example.webservice.types.CMLAddAspect[] getAddAspect() {
return addAspect;
}
/**
* Sets the addAspect value for this CML.
*
* @param addAspect
*/
public void setAddAspect(org.alfresco.example.webservice.types.CMLAddAspect[] addAspect) {
this.addAspect = addAspect;
}
public org.alfresco.example.webservice.types.CMLAddAspect getAddAspect(int i) {
return this.addAspect[i];
}
public void setAddAspect(int i, org.alfresco.example.webservice.types.CMLAddAspect _value) {
this.addAspect[i] = _value;
}
/**
* Gets the removeAspect value for this CML.
*
* @return removeAspect
*/
public org.alfresco.example.webservice.types.CMLRemoveAspect[] getRemoveAspect() {
return removeAspect;
}
/**
* Sets the removeAspect value for this CML.
*
* @param removeAspect
*/
public void setRemoveAspect(org.alfresco.example.webservice.types.CMLRemoveAspect[] removeAspect) {
this.removeAspect = removeAspect;
}
public org.alfresco.example.webservice.types.CMLRemoveAspect getRemoveAspect(int i) {
return this.removeAspect[i];
}
public void setRemoveAspect(int i, org.alfresco.example.webservice.types.CMLRemoveAspect _value) {
this.removeAspect[i] = _value;
}
/**
* Gets the update value for this CML.
*
* @return update
*/
public org.alfresco.example.webservice.types.CMLUpdate[] getUpdate() {
return update;
}
/**
* Sets the update value for this CML.
*
* @param update
*/
public void setUpdate(org.alfresco.example.webservice.types.CMLUpdate[] update) {
this.update = update;
}
public org.alfresco.example.webservice.types.CMLUpdate getUpdate(int i) {
return this.update[i];
}
public void setUpdate(int i, org.alfresco.example.webservice.types.CMLUpdate _value) {
this.update[i] = _value;
}
/**
* Gets the delete value for this CML.
*
* @return delete
*/
public org.alfresco.example.webservice.types.CMLDelete[] getDelete() {
return delete;
}
/**
* Sets the delete value for this CML.
*
* @param delete
*/
public void setDelete(org.alfresco.example.webservice.types.CMLDelete[] delete) {
this.delete = delete;
}
public org.alfresco.example.webservice.types.CMLDelete getDelete(int i) {
return this.delete[i];
}
public void setDelete(int i, org.alfresco.example.webservice.types.CMLDelete _value) {
this.delete[i] = _value;
}
/**
* Gets the move value for this CML.
*
* @return move
*/
public org.alfresco.example.webservice.types.CMLMove[] getMove() {
return move;
}
/**
* Sets the move value for this CML.
*
* @param move
*/
public void setMove(org.alfresco.example.webservice.types.CMLMove[] move) {
this.move = move;
}
public org.alfresco.example.webservice.types.CMLMove getMove(int i) {
return this.move[i];
}
public void setMove(int i, org.alfresco.example.webservice.types.CMLMove _value) {
this.move[i] = _value;
}
/**
* Gets the copy value for this CML.
*
* @return copy
*/
public org.alfresco.example.webservice.types.CMLCopy[] getCopy() {
return copy;
}
/**
* Sets the copy value for this CML.
*
* @param copy
*/
public void setCopy(org.alfresco.example.webservice.types.CMLCopy[] copy) {
this.copy = copy;
}
public org.alfresco.example.webservice.types.CMLCopy getCopy(int i) {
return this.copy[i];
}
public void setCopy(int i, org.alfresco.example.webservice.types.CMLCopy _value) {
this.copy[i] = _value;
}
/**
* Gets the addChild value for this CML.
*
* @return addChild
*/
public org.alfresco.example.webservice.types.CMLAddChild[] getAddChild() {
return addChild;
}
/**
* Sets the addChild value for this CML.
*
* @param addChild
*/
public void setAddChild(org.alfresco.example.webservice.types.CMLAddChild[] addChild) {
this.addChild = addChild;
}
public org.alfresco.example.webservice.types.CMLAddChild getAddChild(int i) {
return this.addChild[i];
}
public void setAddChild(int i, org.alfresco.example.webservice.types.CMLAddChild _value) {
this.addChild[i] = _value;
}
/**
* Gets the removeChild value for this CML.
*
* @return removeChild
*/
public org.alfresco.example.webservice.types.CMLRemoveChild[] getRemoveChild() {
return removeChild;
}
/**
* Sets the removeChild value for this CML.
*
* @param removeChild
*/
public void setRemoveChild(org.alfresco.example.webservice.types.CMLRemoveChild[] removeChild) {
this.removeChild = removeChild;
}
public org.alfresco.example.webservice.types.CMLRemoveChild getRemoveChild(int i) {
return this.removeChild[i];
}
public void setRemoveChild(int i, org.alfresco.example.webservice.types.CMLRemoveChild _value) {
this.removeChild[i] = _value;
}
/**
* Gets the createAssociation value for this CML.
*
* @return createAssociation
*/
public org.alfresco.example.webservice.types.CMLCreateAssociation[] getCreateAssociation() {
return createAssociation;
}
/**
* Sets the createAssociation value for this CML.
*
* @param createAssociation
*/
public void setCreateAssociation(org.alfresco.example.webservice.types.CMLCreateAssociation[] createAssociation) {
this.createAssociation = createAssociation;
}
public org.alfresco.example.webservice.types.CMLCreateAssociation getCreateAssociation(int i) {
return this.createAssociation[i];
}
public void setCreateAssociation(int i, org.alfresco.example.webservice.types.CMLCreateAssociation _value) {
this.createAssociation[i] = _value;
}
/**
* Gets the removeAssociation value for this CML.
*
* @return removeAssociation
*/
public org.alfresco.example.webservice.types.CMLRemoveAssociation[] getRemoveAssociation() {
return removeAssociation;
}
/**
* Sets the removeAssociation value for this CML.
*
* @param removeAssociation
*/
public void setRemoveAssociation(org.alfresco.example.webservice.types.CMLRemoveAssociation[] removeAssociation) {
this.removeAssociation = removeAssociation;
}
public org.alfresco.example.webservice.types.CMLRemoveAssociation getRemoveAssociation(int i) {
return this.removeAssociation[i];
}
public void setRemoveAssociation(int i, org.alfresco.example.webservice.types.CMLRemoveAssociation _value) {
this.removeAssociation[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CML)) return false;
CML other = (CML) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.create==null && other.getCreate()==null) ||
(this.create!=null &&
java.util.Arrays.equals(this.create, other.getCreate()))) &&
((this.addAspect==null && other.getAddAspect()==null) ||
(this.addAspect!=null &&
java.util.Arrays.equals(this.addAspect, other.getAddAspect()))) &&
((this.removeAspect==null && other.getRemoveAspect()==null) ||
(this.removeAspect!=null &&
java.util.Arrays.equals(this.removeAspect, other.getRemoveAspect()))) &&
((this.update==null && other.getUpdate()==null) ||
(this.update!=null &&
java.util.Arrays.equals(this.update, other.getUpdate()))) &&
((this.delete==null && other.getDelete()==null) ||
(this.delete!=null &&
java.util.Arrays.equals(this.delete, other.getDelete()))) &&
((this.move==null && other.getMove()==null) ||
(this.move!=null &&
java.util.Arrays.equals(this.move, other.getMove()))) &&
((this.copy==null && other.getCopy()==null) ||
(this.copy!=null &&
java.util.Arrays.equals(this.copy, other.getCopy()))) &&
((this.addChild==null && other.getAddChild()==null) ||
(this.addChild!=null &&
java.util.Arrays.equals(this.addChild, other.getAddChild()))) &&
((this.removeChild==null && other.getRemoveChild()==null) ||
(this.removeChild!=null &&
java.util.Arrays.equals(this.removeChild, other.getRemoveChild()))) &&
((this.createAssociation==null && other.getCreateAssociation()==null) ||
(this.createAssociation!=null &&
java.util.Arrays.equals(this.createAssociation, other.getCreateAssociation()))) &&
((this.removeAssociation==null && other.getRemoveAssociation()==null) ||
(this.removeAssociation!=null &&
java.util.Arrays.equals(this.removeAssociation, other.getRemoveAssociation())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCreate() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCreate());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCreate(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getAddAspect() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAddAspect());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAddAspect(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getRemoveAspect() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getRemoveAspect());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getRemoveAspect(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getUpdate() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getUpdate());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getUpdate(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getDelete() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getDelete());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getDelete(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getMove() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getMove());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getMove(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getCopy() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCopy());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCopy(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getAddChild() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAddChild());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAddChild(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getRemoveChild() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getRemoveChild());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getRemoveChild(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getCreateAssociation() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCreateAssociation());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCreateAssociation(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getRemoveAssociation() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getRemoveAssociation());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getRemoveAssociation(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CML.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "CML"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("create");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "create"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>create"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("addAspect");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "addAspect"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addAspect"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("removeAspect");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "removeAspect"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAspect"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("update");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "update"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>update"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("delete");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "delete"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>delete"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("move");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "move"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>move"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("copy");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "copy"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>copy"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("addChild");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "addChild"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addChild"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("removeChild");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "removeChild"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeChild"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("createAssociation");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "createAssociation"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>createAssociation"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("removeAssociation");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "removeAssociation"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAssociation"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,244 @@
/**
* CMLAddAspect.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLAddAspect implements java.io.Serializable {
private java.lang.String aspect;
private org.alfresco.example.webservice.types.NamedValue[] property;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
public CMLAddAspect() {
}
public CMLAddAspect(
java.lang.String aspect,
org.alfresco.example.webservice.types.NamedValue[] property,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id) {
this.aspect = aspect;
this.property = property;
this.where = where;
this.where_id = where_id;
}
/**
* Gets the aspect value for this CMLAddAspect.
*
* @return aspect
*/
public java.lang.String getAspect() {
return aspect;
}
/**
* Sets the aspect value for this CMLAddAspect.
*
* @param aspect
*/
public void setAspect(java.lang.String aspect) {
this.aspect = aspect;
}
/**
* Gets the property value for this CMLAddAspect.
*
* @return property
*/
public org.alfresco.example.webservice.types.NamedValue[] getProperty() {
return property;
}
/**
* Sets the property value for this CMLAddAspect.
*
* @param property
*/
public void setProperty(org.alfresco.example.webservice.types.NamedValue[] property) {
this.property = property;
}
public org.alfresco.example.webservice.types.NamedValue getProperty(int i) {
return this.property[i];
}
public void setProperty(int i, org.alfresco.example.webservice.types.NamedValue _value) {
this.property[i] = _value;
}
/**
* Gets the where value for this CMLAddAspect.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLAddAspect.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLAddAspect.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLAddAspect.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLAddAspect)) return false;
CMLAddAspect other = (CMLAddAspect) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.aspect==null && other.getAspect()==null) ||
(this.aspect!=null &&
this.aspect.equals(other.getAspect()))) &&
((this.property==null && other.getProperty()==null) ||
(this.property!=null &&
java.util.Arrays.equals(this.property, other.getProperty()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAspect() != null) {
_hashCode += getAspect().hashCode();
}
if (getProperty() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getProperty());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getProperty(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLAddAspect.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addAspect"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("aspect");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "aspect"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("property");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,299 @@
/**
* CMLAddChild.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLAddChild implements java.io.Serializable {
private org.alfresco.example.webservice.types.ParentReference to;
private java.lang.String to_id;
private java.lang.String associationType;
private java.lang.String childName;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
public CMLAddChild() {
}
public CMLAddChild(
org.alfresco.example.webservice.types.ParentReference to,
java.lang.String to_id,
java.lang.String associationType,
java.lang.String childName,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id) {
this.to = to;
this.to_id = to_id;
this.associationType = associationType;
this.childName = childName;
this.where = where;
this.where_id = where_id;
}
/**
* Gets the to value for this CMLAddChild.
*
* @return to
*/
public org.alfresco.example.webservice.types.ParentReference getTo() {
return to;
}
/**
* Sets the to value for this CMLAddChild.
*
* @param to
*/
public void setTo(org.alfresco.example.webservice.types.ParentReference to) {
this.to = to;
}
/**
* Gets the to_id value for this CMLAddChild.
*
* @return to_id
*/
public java.lang.String getTo_id() {
return to_id;
}
/**
* Sets the to_id value for this CMLAddChild.
*
* @param to_id
*/
public void setTo_id(java.lang.String to_id) {
this.to_id = to_id;
}
/**
* Gets the associationType value for this CMLAddChild.
*
* @return associationType
*/
public java.lang.String getAssociationType() {
return associationType;
}
/**
* Sets the associationType value for this CMLAddChild.
*
* @param associationType
*/
public void setAssociationType(java.lang.String associationType) {
this.associationType = associationType;
}
/**
* Gets the childName value for this CMLAddChild.
*
* @return childName
*/
public java.lang.String getChildName() {
return childName;
}
/**
* Sets the childName value for this CMLAddChild.
*
* @param childName
*/
public void setChildName(java.lang.String childName) {
this.childName = childName;
}
/**
* Gets the where value for this CMLAddChild.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLAddChild.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLAddChild.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLAddChild.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLAddChild)) return false;
CMLAddChild other = (CMLAddChild) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.to==null && other.getTo()==null) ||
(this.to!=null &&
this.to.equals(other.getTo()))) &&
((this.to_id==null && other.getTo_id()==null) ||
(this.to_id!=null &&
this.to_id.equals(other.getTo_id()))) &&
((this.associationType==null && other.getAssociationType()==null) ||
(this.associationType!=null &&
this.associationType.equals(other.getAssociationType()))) &&
((this.childName==null && other.getChildName()==null) ||
(this.childName!=null &&
this.childName.equals(other.getChildName()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTo() != null) {
_hashCode += getTo().hashCode();
}
if (getTo_id() != null) {
_hashCode += getTo_id().hashCode();
}
if (getAssociationType() != null) {
_hashCode += getAssociationType().hashCode();
}
if (getChildName() != null) {
_hashCode += getChildName().hashCode();
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLAddChild.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addChild"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("associationType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("childName");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,335 @@
/**
* CMLCopy.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLCopy implements java.io.Serializable {
private org.alfresco.example.webservice.types.ParentReference to;
private java.lang.String to_id;
private java.lang.String associationType;
private java.lang.String childName;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
private java.lang.Boolean children;
public CMLCopy() {
}
public CMLCopy(
org.alfresco.example.webservice.types.ParentReference to,
java.lang.String to_id,
java.lang.String associationType,
java.lang.String childName,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id,
java.lang.Boolean children) {
this.to = to;
this.to_id = to_id;
this.associationType = associationType;
this.childName = childName;
this.where = where;
this.where_id = where_id;
this.children = children;
}
/**
* Gets the to value for this CMLCopy.
*
* @return to
*/
public org.alfresco.example.webservice.types.ParentReference getTo() {
return to;
}
/**
* Sets the to value for this CMLCopy.
*
* @param to
*/
public void setTo(org.alfresco.example.webservice.types.ParentReference to) {
this.to = to;
}
/**
* Gets the to_id value for this CMLCopy.
*
* @return to_id
*/
public java.lang.String getTo_id() {
return to_id;
}
/**
* Sets the to_id value for this CMLCopy.
*
* @param to_id
*/
public void setTo_id(java.lang.String to_id) {
this.to_id = to_id;
}
/**
* Gets the associationType value for this CMLCopy.
*
* @return associationType
*/
public java.lang.String getAssociationType() {
return associationType;
}
/**
* Sets the associationType value for this CMLCopy.
*
* @param associationType
*/
public void setAssociationType(java.lang.String associationType) {
this.associationType = associationType;
}
/**
* Gets the childName value for this CMLCopy.
*
* @return childName
*/
public java.lang.String getChildName() {
return childName;
}
/**
* Sets the childName value for this CMLCopy.
*
* @param childName
*/
public void setChildName(java.lang.String childName) {
this.childName = childName;
}
/**
* Gets the where value for this CMLCopy.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLCopy.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLCopy.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLCopy.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
/**
* Gets the children value for this CMLCopy.
*
* @return children
*/
public java.lang.Boolean getChildren() {
return children;
}
/**
* Sets the children value for this CMLCopy.
*
* @param children
*/
public void setChildren(java.lang.Boolean children) {
this.children = children;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLCopy)) return false;
CMLCopy other = (CMLCopy) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.to==null && other.getTo()==null) ||
(this.to!=null &&
this.to.equals(other.getTo()))) &&
((this.to_id==null && other.getTo_id()==null) ||
(this.to_id!=null &&
this.to_id.equals(other.getTo_id()))) &&
((this.associationType==null && other.getAssociationType()==null) ||
(this.associationType!=null &&
this.associationType.equals(other.getAssociationType()))) &&
((this.childName==null && other.getChildName()==null) ||
(this.childName!=null &&
this.childName.equals(other.getChildName()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id()))) &&
((this.children==null && other.getChildren()==null) ||
(this.children!=null &&
this.children.equals(other.getChildren())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTo() != null) {
_hashCode += getTo().hashCode();
}
if (getTo_id() != null) {
_hashCode += getTo_id().hashCode();
}
if (getAssociationType() != null) {
_hashCode += getAssociationType().hashCode();
}
if (getChildName() != null) {
_hashCode += getChildName().hashCode();
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
if (getChildren() != null) {
_hashCode += getChildren().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLCopy.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>copy"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("associationType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("childName");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("children");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "children"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,244 @@
/**
* CMLCreate.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLCreate implements java.io.Serializable {
private java.lang.String id;
private org.alfresco.example.webservice.types.ParentReference parent;
private java.lang.String type;
private org.alfresco.example.webservice.types.NamedValue[] property;
public CMLCreate() {
}
public CMLCreate(
java.lang.String id,
org.alfresco.example.webservice.types.ParentReference parent,
java.lang.String type,
org.alfresco.example.webservice.types.NamedValue[] property) {
this.id = id;
this.parent = parent;
this.type = type;
this.property = property;
}
/**
* Gets the id value for this CMLCreate.
*
* @return id
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the id value for this CMLCreate.
*
* @param id
*/
public void setId(java.lang.String id) {
this.id = id;
}
/**
* Gets the parent value for this CMLCreate.
*
* @return parent
*/
public org.alfresco.example.webservice.types.ParentReference getParent() {
return parent;
}
/**
* Sets the parent value for this CMLCreate.
*
* @param parent
*/
public void setParent(org.alfresco.example.webservice.types.ParentReference parent) {
this.parent = parent;
}
/**
* Gets the type value for this CMLCreate.
*
* @return type
*/
public java.lang.String getType() {
return type;
}
/**
* Sets the type value for this CMLCreate.
*
* @param type
*/
public void setType(java.lang.String type) {
this.type = type;
}
/**
* Gets the property value for this CMLCreate.
*
* @return property
*/
public org.alfresco.example.webservice.types.NamedValue[] getProperty() {
return property;
}
/**
* Sets the property value for this CMLCreate.
*
* @param property
*/
public void setProperty(org.alfresco.example.webservice.types.NamedValue[] property) {
this.property = property;
}
public org.alfresco.example.webservice.types.NamedValue getProperty(int i) {
return this.property[i];
}
public void setProperty(int i, org.alfresco.example.webservice.types.NamedValue _value) {
this.property[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLCreate)) return false;
CMLCreate other = (CMLCreate) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.parent==null && other.getParent()==null) ||
(this.parent!=null &&
this.parent.equals(other.getParent()))) &&
((this.type==null && other.getType()==null) ||
(this.type!=null &&
this.type.equals(other.getType()))) &&
((this.property==null && other.getProperty()==null) ||
(this.property!=null &&
java.util.Arrays.equals(this.property, other.getProperty())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getParent() != null) {
_hashCode += getParent().hashCode();
}
if (getType() != null) {
_hashCode += getType().hashCode();
}
if (getProperty() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getProperty());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getProperty(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLCreate.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>create"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("parent");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "parent"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("type");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "type"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("property");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,263 @@
/**
* CMLCreateAssociation.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLCreateAssociation implements java.io.Serializable {
private org.alfresco.example.webservice.types.Predicate from;
private java.lang.String from_id;
private org.alfresco.example.webservice.types.Predicate to;
private java.lang.String to_id;
private java.lang.String association;
public CMLCreateAssociation() {
}
public CMLCreateAssociation(
org.alfresco.example.webservice.types.Predicate from,
java.lang.String from_id,
org.alfresco.example.webservice.types.Predicate to,
java.lang.String to_id,
java.lang.String association) {
this.from = from;
this.from_id = from_id;
this.to = to;
this.to_id = to_id;
this.association = association;
}
/**
* Gets the from value for this CMLCreateAssociation.
*
* @return from
*/
public org.alfresco.example.webservice.types.Predicate getFrom() {
return from;
}
/**
* Sets the from value for this CMLCreateAssociation.
*
* @param from
*/
public void setFrom(org.alfresco.example.webservice.types.Predicate from) {
this.from = from;
}
/**
* Gets the from_id value for this CMLCreateAssociation.
*
* @return from_id
*/
public java.lang.String getFrom_id() {
return from_id;
}
/**
* Sets the from_id value for this CMLCreateAssociation.
*
* @param from_id
*/
public void setFrom_id(java.lang.String from_id) {
this.from_id = from_id;
}
/**
* Gets the to value for this CMLCreateAssociation.
*
* @return to
*/
public org.alfresco.example.webservice.types.Predicate getTo() {
return to;
}
/**
* Sets the to value for this CMLCreateAssociation.
*
* @param to
*/
public void setTo(org.alfresco.example.webservice.types.Predicate to) {
this.to = to;
}
/**
* Gets the to_id value for this CMLCreateAssociation.
*
* @return to_id
*/
public java.lang.String getTo_id() {
return to_id;
}
/**
* Sets the to_id value for this CMLCreateAssociation.
*
* @param to_id
*/
public void setTo_id(java.lang.String to_id) {
this.to_id = to_id;
}
/**
* Gets the association value for this CMLCreateAssociation.
*
* @return association
*/
public java.lang.String getAssociation() {
return association;
}
/**
* Sets the association value for this CMLCreateAssociation.
*
* @param association
*/
public void setAssociation(java.lang.String association) {
this.association = association;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLCreateAssociation)) return false;
CMLCreateAssociation other = (CMLCreateAssociation) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.from==null && other.getFrom()==null) ||
(this.from!=null &&
this.from.equals(other.getFrom()))) &&
((this.from_id==null && other.getFrom_id()==null) ||
(this.from_id!=null &&
this.from_id.equals(other.getFrom_id()))) &&
((this.to==null && other.getTo()==null) ||
(this.to!=null &&
this.to.equals(other.getTo()))) &&
((this.to_id==null && other.getTo_id()==null) ||
(this.to_id!=null &&
this.to_id.equals(other.getTo_id()))) &&
((this.association==null && other.getAssociation()==null) ||
(this.association!=null &&
this.association.equals(other.getAssociation())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getFrom() != null) {
_hashCode += getFrom().hashCode();
}
if (getFrom_id() != null) {
_hashCode += getFrom_id().hashCode();
}
if (getTo() != null) {
_hashCode += getTo().hashCode();
}
if (getTo_id() != null) {
_hashCode += getTo_id().hashCode();
}
if (getAssociation() != null) {
_hashCode += getAssociation().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLCreateAssociation.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>createAssociation"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("from");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("from_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("association");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "association"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,119 @@
/**
* CMLDelete.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLDelete implements java.io.Serializable {
private org.alfresco.example.webservice.types.Predicate where;
public CMLDelete() {
}
public CMLDelete(
org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where value for this CMLDelete.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLDelete.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLDelete)) return false;
CMLDelete other = (CMLDelete) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLDelete.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>delete"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,299 @@
/**
* CMLMove.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLMove implements java.io.Serializable {
private org.alfresco.example.webservice.types.ParentReference to;
private java.lang.String to_id;
private java.lang.String associationType;
private java.lang.String childName;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
public CMLMove() {
}
public CMLMove(
org.alfresco.example.webservice.types.ParentReference to,
java.lang.String to_id,
java.lang.String associationType,
java.lang.String childName,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id) {
this.to = to;
this.to_id = to_id;
this.associationType = associationType;
this.childName = childName;
this.where = where;
this.where_id = where_id;
}
/**
* Gets the to value for this CMLMove.
*
* @return to
*/
public org.alfresco.example.webservice.types.ParentReference getTo() {
return to;
}
/**
* Sets the to value for this CMLMove.
*
* @param to
*/
public void setTo(org.alfresco.example.webservice.types.ParentReference to) {
this.to = to;
}
/**
* Gets the to_id value for this CMLMove.
*
* @return to_id
*/
public java.lang.String getTo_id() {
return to_id;
}
/**
* Sets the to_id value for this CMLMove.
*
* @param to_id
*/
public void setTo_id(java.lang.String to_id) {
this.to_id = to_id;
}
/**
* Gets the associationType value for this CMLMove.
*
* @return associationType
*/
public java.lang.String getAssociationType() {
return associationType;
}
/**
* Sets the associationType value for this CMLMove.
*
* @param associationType
*/
public void setAssociationType(java.lang.String associationType) {
this.associationType = associationType;
}
/**
* Gets the childName value for this CMLMove.
*
* @return childName
*/
public java.lang.String getChildName() {
return childName;
}
/**
* Sets the childName value for this CMLMove.
*
* @param childName
*/
public void setChildName(java.lang.String childName) {
this.childName = childName;
}
/**
* Gets the where value for this CMLMove.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLMove.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLMove.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLMove.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLMove)) return false;
CMLMove other = (CMLMove) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.to==null && other.getTo()==null) ||
(this.to!=null &&
this.to.equals(other.getTo()))) &&
((this.to_id==null && other.getTo_id()==null) ||
(this.to_id!=null &&
this.to_id.equals(other.getTo_id()))) &&
((this.associationType==null && other.getAssociationType()==null) ||
(this.associationType!=null &&
this.associationType.equals(other.getAssociationType()))) &&
((this.childName==null && other.getChildName()==null) ||
(this.childName!=null &&
this.childName.equals(other.getChildName()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTo() != null) {
_hashCode += getTo().hashCode();
}
if (getTo_id() != null) {
_hashCode += getTo_id().hashCode();
}
if (getAssociationType() != null) {
_hashCode += getAssociationType().hashCode();
}
if (getChildName() != null) {
_hashCode += getChildName().hashCode();
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLMove.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>move"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("associationType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("childName");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,191 @@
/**
* CMLRemoveAspect.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLRemoveAspect implements java.io.Serializable {
private java.lang.String aspect;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
public CMLRemoveAspect() {
}
public CMLRemoveAspect(
java.lang.String aspect,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id) {
this.aspect = aspect;
this.where = where;
this.where_id = where_id;
}
/**
* Gets the aspect value for this CMLRemoveAspect.
*
* @return aspect
*/
public java.lang.String getAspect() {
return aspect;
}
/**
* Sets the aspect value for this CMLRemoveAspect.
*
* @param aspect
*/
public void setAspect(java.lang.String aspect) {
this.aspect = aspect;
}
/**
* Gets the where value for this CMLRemoveAspect.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLRemoveAspect.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLRemoveAspect.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLRemoveAspect.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLRemoveAspect)) return false;
CMLRemoveAspect other = (CMLRemoveAspect) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.aspect==null && other.getAspect()==null) ||
(this.aspect!=null &&
this.aspect.equals(other.getAspect()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAspect() != null) {
_hashCode += getAspect().hashCode();
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLRemoveAspect.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAspect"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("aspect");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "aspect"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,263 @@
/**
* CMLRemoveAssociation.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLRemoveAssociation implements java.io.Serializable {
private org.alfresco.example.webservice.types.Predicate from;
private java.lang.String from_id;
private org.alfresco.example.webservice.types.Predicate to;
private java.lang.String to_id;
private java.lang.String association;
public CMLRemoveAssociation() {
}
public CMLRemoveAssociation(
org.alfresco.example.webservice.types.Predicate from,
java.lang.String from_id,
org.alfresco.example.webservice.types.Predicate to,
java.lang.String to_id,
java.lang.String association) {
this.from = from;
this.from_id = from_id;
this.to = to;
this.to_id = to_id;
this.association = association;
}
/**
* Gets the from value for this CMLRemoveAssociation.
*
* @return from
*/
public org.alfresco.example.webservice.types.Predicate getFrom() {
return from;
}
/**
* Sets the from value for this CMLRemoveAssociation.
*
* @param from
*/
public void setFrom(org.alfresco.example.webservice.types.Predicate from) {
this.from = from;
}
/**
* Gets the from_id value for this CMLRemoveAssociation.
*
* @return from_id
*/
public java.lang.String getFrom_id() {
return from_id;
}
/**
* Sets the from_id value for this CMLRemoveAssociation.
*
* @param from_id
*/
public void setFrom_id(java.lang.String from_id) {
this.from_id = from_id;
}
/**
* Gets the to value for this CMLRemoveAssociation.
*
* @return to
*/
public org.alfresco.example.webservice.types.Predicate getTo() {
return to;
}
/**
* Sets the to value for this CMLRemoveAssociation.
*
* @param to
*/
public void setTo(org.alfresco.example.webservice.types.Predicate to) {
this.to = to;
}
/**
* Gets the to_id value for this CMLRemoveAssociation.
*
* @return to_id
*/
public java.lang.String getTo_id() {
return to_id;
}
/**
* Sets the to_id value for this CMLRemoveAssociation.
*
* @param to_id
*/
public void setTo_id(java.lang.String to_id) {
this.to_id = to_id;
}
/**
* Gets the association value for this CMLRemoveAssociation.
*
* @return association
*/
public java.lang.String getAssociation() {
return association;
}
/**
* Sets the association value for this CMLRemoveAssociation.
*
* @param association
*/
public void setAssociation(java.lang.String association) {
this.association = association;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLRemoveAssociation)) return false;
CMLRemoveAssociation other = (CMLRemoveAssociation) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.from==null && other.getFrom()==null) ||
(this.from!=null &&
this.from.equals(other.getFrom()))) &&
((this.from_id==null && other.getFrom_id()==null) ||
(this.from_id!=null &&
this.from_id.equals(other.getFrom_id()))) &&
((this.to==null && other.getTo()==null) ||
(this.to!=null &&
this.to.equals(other.getTo()))) &&
((this.to_id==null && other.getTo_id()==null) ||
(this.to_id!=null &&
this.to_id.equals(other.getTo_id()))) &&
((this.association==null && other.getAssociation()==null) ||
(this.association!=null &&
this.association.equals(other.getAssociation())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getFrom() != null) {
_hashCode += getFrom().hashCode();
}
if (getFrom_id() != null) {
_hashCode += getFrom_id().hashCode();
}
if (getTo() != null) {
_hashCode += getTo().hashCode();
}
if (getTo_id() != null) {
_hashCode += getTo_id().hashCode();
}
if (getAssociation() != null) {
_hashCode += getAssociation().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLRemoveAssociation.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAssociation"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("from");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("from_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("to_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("association");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "association"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,228 @@
/**
* CMLRemoveChild.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLRemoveChild implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference from;
private java.lang.String from_id;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
public CMLRemoveChild() {
}
public CMLRemoveChild(
org.alfresco.example.webservice.types.Reference from,
java.lang.String from_id,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id) {
this.from = from;
this.from_id = from_id;
this.where = where;
this.where_id = where_id;
}
/**
* Gets the from value for this CMLRemoveChild.
*
* @return from
*/
public org.alfresco.example.webservice.types.Reference getFrom() {
return from;
}
/**
* Sets the from value for this CMLRemoveChild.
*
* @param from
*/
public void setFrom(org.alfresco.example.webservice.types.Reference from) {
this.from = from;
}
/**
* Gets the from_id value for this CMLRemoveChild.
*
* @return from_id
*/
public java.lang.String getFrom_id() {
return from_id;
}
/**
* Sets the from_id value for this CMLRemoveChild.
*
* @param from_id
*/
public void setFrom_id(java.lang.String from_id) {
this.from_id = from_id;
}
/**
* Gets the where value for this CMLRemoveChild.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLRemoveChild.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLRemoveChild.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLRemoveChild.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLRemoveChild)) return false;
CMLRemoveChild other = (CMLRemoveChild) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.from==null && other.getFrom()==null) ||
(this.from!=null &&
this.from.equals(other.getFrom()))) &&
((this.from_id==null && other.getFrom_id()==null) ||
(this.from_id!=null &&
this.from_id.equals(other.getFrom_id()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getFrom() != null) {
_hashCode += getFrom().hashCode();
}
if (getFrom_id() != null) {
_hashCode += getFrom_id().hashCode();
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLRemoveChild.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeChild"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("from");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("from_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,208 @@
/**
* CMLUpdate.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class CMLUpdate implements java.io.Serializable {
private org.alfresco.example.webservice.types.NamedValue[] property;
private org.alfresco.example.webservice.types.Predicate where;
private java.lang.String where_id;
public CMLUpdate() {
}
public CMLUpdate(
org.alfresco.example.webservice.types.NamedValue[] property,
org.alfresco.example.webservice.types.Predicate where,
java.lang.String where_id) {
this.property = property;
this.where = where;
this.where_id = where_id;
}
/**
* Gets the property value for this CMLUpdate.
*
* @return property
*/
public org.alfresco.example.webservice.types.NamedValue[] getProperty() {
return property;
}
/**
* Sets the property value for this CMLUpdate.
*
* @param property
*/
public void setProperty(org.alfresco.example.webservice.types.NamedValue[] property) {
this.property = property;
}
public org.alfresco.example.webservice.types.NamedValue getProperty(int i) {
return this.property[i];
}
public void setProperty(int i, org.alfresco.example.webservice.types.NamedValue _value) {
this.property[i] = _value;
}
/**
* Gets the where value for this CMLUpdate.
*
* @return where
*/
public org.alfresco.example.webservice.types.Predicate getWhere() {
return where;
}
/**
* Sets the where value for this CMLUpdate.
*
* @param where
*/
public void setWhere(org.alfresco.example.webservice.types.Predicate where) {
this.where = where;
}
/**
* Gets the where_id value for this CMLUpdate.
*
* @return where_id
*/
public java.lang.String getWhere_id() {
return where_id;
}
/**
* Sets the where_id value for this CMLUpdate.
*
* @param where_id
*/
public void setWhere_id(java.lang.String where_id) {
this.where_id = where_id;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CMLUpdate)) return false;
CMLUpdate other = (CMLUpdate) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.property==null && other.getProperty()==null) ||
(this.property!=null &&
java.util.Arrays.equals(this.property, other.getProperty()))) &&
((this.where==null && other.getWhere()==null) ||
(this.where!=null &&
this.where.equals(other.getWhere()))) &&
((this.where_id==null && other.getWhere_id()==null) ||
(this.where_id!=null &&
this.where_id.equals(other.getWhere_id())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getProperty() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getProperty());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getProperty(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getWhere() != null) {
_hashCode += getWhere().hashCode();
}
if (getWhere_id() != null) {
_hashCode += getWhere_id().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CMLUpdate.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>update"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("property");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("where_id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,74 @@
/**
* Cardinality.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Cardinality implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected Cardinality(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _value1 = "0..1";
public static final java.lang.String _value2 = "1";
public static final java.lang.String _value3 = "*";
public static final java.lang.String _value4 = "1..*";
public static final Cardinality value1 = new Cardinality(_value1);
public static final Cardinality value2 = new Cardinality(_value2);
public static final Cardinality value3 = new Cardinality(_value3);
public static final Cardinality value4 = new Cardinality(_value4);
public java.lang.String getValue() { return _value_;}
public static Cardinality fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
Cardinality enumeration = (Cardinality)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static Cardinality fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Cardinality.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Cardinality"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}

View File

@@ -0,0 +1,191 @@
/**
* Category.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Category implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference id;
private java.lang.String title;
private java.lang.String description;
public Category() {
}
public Category(
org.alfresco.example.webservice.types.Reference id,
java.lang.String title,
java.lang.String description) {
this.id = id;
this.title = title;
this.description = description;
}
/**
* Gets the id value for this Category.
*
* @return id
*/
public org.alfresco.example.webservice.types.Reference getId() {
return id;
}
/**
* Sets the id value for this Category.
*
* @param id
*/
public void setId(org.alfresco.example.webservice.types.Reference id) {
this.id = id;
}
/**
* Gets the title value for this Category.
*
* @return title
*/
public java.lang.String getTitle() {
return title;
}
/**
* Sets the title value for this Category.
*
* @param title
*/
public void setTitle(java.lang.String title) {
this.title = title;
}
/**
* Gets the description value for this Category.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this Category.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Category)) return false;
Category other = (Category) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
this.title.equals(other.getTitle()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getTitle() != null) {
_hashCode += getTitle().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Category.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Category"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,364 @@
/**
* ClassDefinition.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ClassDefinition implements java.io.Serializable {
private java.lang.String name;
private java.lang.String title;
private java.lang.String description;
private java.lang.String superClass;
private boolean isAspect;
private org.alfresco.example.webservice.types.PropertyDefinition[] properties;
private org.alfresco.example.webservice.types.AssociationDefinition[] associations;
public ClassDefinition() {
}
public ClassDefinition(
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String superClass,
boolean isAspect,
org.alfresco.example.webservice.types.PropertyDefinition[] properties,
org.alfresco.example.webservice.types.AssociationDefinition[] associations) {
this.name = name;
this.title = title;
this.description = description;
this.superClass = superClass;
this.isAspect = isAspect;
this.properties = properties;
this.associations = associations;
}
/**
* Gets the name value for this ClassDefinition.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this ClassDefinition.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the title value for this ClassDefinition.
*
* @return title
*/
public java.lang.String getTitle() {
return title;
}
/**
* Sets the title value for this ClassDefinition.
*
* @param title
*/
public void setTitle(java.lang.String title) {
this.title = title;
}
/**
* Gets the description value for this ClassDefinition.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this ClassDefinition.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
/**
* Gets the superClass value for this ClassDefinition.
*
* @return superClass
*/
public java.lang.String getSuperClass() {
return superClass;
}
/**
* Sets the superClass value for this ClassDefinition.
*
* @param superClass
*/
public void setSuperClass(java.lang.String superClass) {
this.superClass = superClass;
}
/**
* Gets the isAspect value for this ClassDefinition.
*
* @return isAspect
*/
public boolean isIsAspect() {
return isAspect;
}
/**
* Sets the isAspect value for this ClassDefinition.
*
* @param isAspect
*/
public void setIsAspect(boolean isAspect) {
this.isAspect = isAspect;
}
/**
* Gets the properties value for this ClassDefinition.
*
* @return properties
*/
public org.alfresco.example.webservice.types.PropertyDefinition[] getProperties() {
return properties;
}
/**
* Sets the properties value for this ClassDefinition.
*
* @param properties
*/
public void setProperties(org.alfresco.example.webservice.types.PropertyDefinition[] properties) {
this.properties = properties;
}
public org.alfresco.example.webservice.types.PropertyDefinition getProperties(int i) {
return this.properties[i];
}
public void setProperties(int i, org.alfresco.example.webservice.types.PropertyDefinition _value) {
this.properties[i] = _value;
}
/**
* Gets the associations value for this ClassDefinition.
*
* @return associations
*/
public org.alfresco.example.webservice.types.AssociationDefinition[] getAssociations() {
return associations;
}
/**
* Sets the associations value for this ClassDefinition.
*
* @param associations
*/
public void setAssociations(org.alfresco.example.webservice.types.AssociationDefinition[] associations) {
this.associations = associations;
}
public org.alfresco.example.webservice.types.AssociationDefinition getAssociations(int i) {
return this.associations[i];
}
public void setAssociations(int i, org.alfresco.example.webservice.types.AssociationDefinition _value) {
this.associations[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ClassDefinition)) return false;
ClassDefinition other = (ClassDefinition) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
this.title.equals(other.getTitle()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
((this.superClass==null && other.getSuperClass()==null) ||
(this.superClass!=null &&
this.superClass.equals(other.getSuperClass()))) &&
this.isAspect == other.isIsAspect() &&
((this.properties==null && other.getProperties()==null) ||
(this.properties!=null &&
java.util.Arrays.equals(this.properties, other.getProperties()))) &&
((this.associations==null && other.getAssociations()==null) ||
(this.associations!=null &&
java.util.Arrays.equals(this.associations, other.getAssociations())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getTitle() != null) {
_hashCode += getTitle().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
if (getSuperClass() != null) {
_hashCode += getSuperClass().hashCode();
}
_hashCode += (isIsAspect() ? Boolean.TRUE : Boolean.FALSE).hashCode();
if (getProperties() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getProperties());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getProperties(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getAssociations() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAssociations());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAssociations(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ClassDefinition.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("superClass");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "superClass"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("isAspect");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "isAspect"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("properties");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "properties"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "PropertyDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("associations");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associations"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,226 @@
/**
* Classification.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Classification implements java.io.Serializable {
private java.lang.String classification;
private org.alfresco.example.webservice.types.Category rootCategory;
private java.lang.String title;
private java.lang.String description;
public Classification() {
}
public Classification(
java.lang.String classification,
org.alfresco.example.webservice.types.Category rootCategory,
java.lang.String title,
java.lang.String description) {
this.classification = classification;
this.rootCategory = rootCategory;
this.title = title;
this.description = description;
}
/**
* Gets the classification value for this Classification.
*
* @return classification
*/
public java.lang.String getClassification() {
return classification;
}
/**
* Sets the classification value for this Classification.
*
* @param classification
*/
public void setClassification(java.lang.String classification) {
this.classification = classification;
}
/**
* Gets the rootCategory value for this Classification.
*
* @return rootCategory
*/
public org.alfresco.example.webservice.types.Category getRootCategory() {
return rootCategory;
}
/**
* Sets the rootCategory value for this Classification.
*
* @param rootCategory
*/
public void setRootCategory(org.alfresco.example.webservice.types.Category rootCategory) {
this.rootCategory = rootCategory;
}
/**
* Gets the title value for this Classification.
*
* @return title
*/
public java.lang.String getTitle() {
return title;
}
/**
* Sets the title value for this Classification.
*
* @param title
*/
public void setTitle(java.lang.String title) {
this.title = title;
}
/**
* Gets the description value for this Classification.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this Classification.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Classification)) return false;
Classification other = (Classification) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.classification==null && other.getClassification()==null) ||
(this.classification!=null &&
this.classification.equals(other.getClassification()))) &&
((this.rootCategory==null && other.getRootCategory()==null) ||
(this.rootCategory!=null &&
this.rootCategory.equals(other.getRootCategory()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
this.title.equals(other.getTitle()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getClassification() != null) {
_hashCode += getClassification().hashCode();
}
if (getRootCategory() != null) {
_hashCode += getRootCategory().hashCode();
}
if (getTitle() != null) {
_hashCode += getTitle().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Classification.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Classification"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("classification");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "classification"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("rootCategory");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "rootCategory"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Category"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,163 @@
/**
* ContentFormat.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ContentFormat implements java.io.Serializable {
/** TODO: MinOccurs = 0?
* TODO: Define Constraints */
private java.lang.String mimetype;
/** TODO: MinOccurs = 0?
* TODO: Define Constraints */
private java.lang.String encoding;
public ContentFormat() {
}
public ContentFormat(
java.lang.String mimetype,
java.lang.String encoding) {
this.mimetype = mimetype;
this.encoding = encoding;
}
/**
* Gets the mimetype value for this ContentFormat.
*
* @return mimetype TODO: MinOccurs = 0?
* TODO: Define Constraints
*/
public java.lang.String getMimetype() {
return mimetype;
}
/**
* Sets the mimetype value for this ContentFormat.
*
* @param mimetype TODO: MinOccurs = 0?
* TODO: Define Constraints
*/
public void setMimetype(java.lang.String mimetype) {
this.mimetype = mimetype;
}
/**
* Gets the encoding value for this ContentFormat.
*
* @return encoding TODO: MinOccurs = 0?
* TODO: Define Constraints
*/
public java.lang.String getEncoding() {
return encoding;
}
/**
* Sets the encoding value for this ContentFormat.
*
* @param encoding TODO: MinOccurs = 0?
* TODO: Define Constraints
*/
public void setEncoding(java.lang.String encoding) {
this.encoding = encoding;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ContentFormat)) return false;
ContentFormat other = (ContentFormat) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.mimetype==null && other.getMimetype()==null) ||
(this.mimetype!=null &&
this.mimetype.equals(other.getMimetype()))) &&
((this.encoding==null && other.getEncoding()==null) ||
(this.encoding!=null &&
this.encoding.equals(other.getEncoding())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getMimetype() != null) {
_hashCode += getMimetype().hashCode();
}
if (getEncoding() != null) {
_hashCode += getEncoding().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ContentFormat.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("mimetype");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "mimetype"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>mimetype"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("encoding");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "encoding"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>encoding"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,120 @@
/**
* LocaleConfiguration.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class LocaleConfiguration implements java.io.Serializable {
private java.lang.String locale;
public LocaleConfiguration() {
}
public LocaleConfiguration(
java.lang.String locale) {
this.locale = locale;
}
/**
* Gets the locale value for this LocaleConfiguration.
*
* @return locale
*/
public java.lang.String getLocale() {
return locale;
}
/**
* Sets the locale value for this LocaleConfiguration.
*
* @param locale
*/
public void setLocale(java.lang.String locale) {
this.locale = locale;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LocaleConfiguration)) return false;
LocaleConfiguration other = (LocaleConfiguration) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.locale==null && other.getLocale()==null) ||
(this.locale!=null &&
this.locale.equals(other.getLocale())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getLocale() != null) {
_hashCode += getLocale().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LocaleConfiguration.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", "LocaleConfiguration"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("locale");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", "locale"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,154 @@
/**
* NamedValue.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class NamedValue implements java.io.Serializable {
private java.lang.String name;
private java.lang.String value;
public NamedValue() {
}
public NamedValue(
java.lang.String name,
java.lang.String value) {
this.name = name;
this.value = value;
}
/**
* Gets the name value for this NamedValue.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this NamedValue.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the value value for this NamedValue.
*
* @return value
*/
public java.lang.String getValue() {
return value;
}
/**
* Sets the value value for this NamedValue.
*
* @param value
*/
public void setValue(java.lang.String value) {
this.value = value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof NamedValue)) return false;
NamedValue other = (NamedValue) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.value==null && other.getValue()==null) ||
(this.value!=null &&
this.value.equals(other.getValue())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getValue() != null) {
_hashCode += getValue().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(NamedValue.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("value");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "value"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,154 @@
/**
* NamespaceConfigurationMapping.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class NamespaceConfigurationMapping implements java.io.Serializable {
private org.apache.axis.types.NCName prefix;
private java.lang.String uri;
public NamespaceConfigurationMapping() {
}
public NamespaceConfigurationMapping(
org.apache.axis.types.NCName prefix,
java.lang.String uri) {
this.prefix = prefix;
this.uri = uri;
}
/**
* Gets the prefix value for this NamespaceConfigurationMapping.
*
* @return prefix
*/
public org.apache.axis.types.NCName getPrefix() {
return prefix;
}
/**
* Sets the prefix value for this NamespaceConfigurationMapping.
*
* @param prefix
*/
public void setPrefix(org.apache.axis.types.NCName prefix) {
this.prefix = prefix;
}
/**
* Gets the uri value for this NamespaceConfigurationMapping.
*
* @return uri
*/
public java.lang.String getUri() {
return uri;
}
/**
* Sets the uri value for this NamespaceConfigurationMapping.
*
* @param uri
*/
public void setUri(java.lang.String uri) {
this.uri = uri;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof NamespaceConfigurationMapping)) return false;
NamespaceConfigurationMapping other = (NamespaceConfigurationMapping) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.prefix==null && other.getPrefix()==null) ||
(this.prefix!=null &&
this.prefix.equals(other.getPrefix()))) &&
((this.uri==null && other.getUri()==null) ||
(this.uri!=null &&
this.uri.equals(other.getUri())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getPrefix() != null) {
_hashCode += getPrefix().hashCode();
}
if (getUri() != null) {
_hashCode += getUri().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(NamespaceConfigurationMapping.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", ">NamespaceConfiguration>mapping"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("prefix");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", "prefix"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "NCName"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("uri");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", "uri"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,260 @@
/**
* Node.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Node implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference reference;
private java.lang.String type;
private java.lang.String[] aspects;
private org.alfresco.example.webservice.types.NamedValue[] properties;
public Node() {
}
public Node(
org.alfresco.example.webservice.types.Reference reference,
java.lang.String type,
java.lang.String[] aspects,
org.alfresco.example.webservice.types.NamedValue[] properties) {
this.reference = reference;
this.type = type;
this.aspects = aspects;
this.properties = properties;
}
/**
* Gets the reference value for this Node.
*
* @return reference
*/
public org.alfresco.example.webservice.types.Reference getReference() {
return reference;
}
/**
* Sets the reference value for this Node.
*
* @param reference
*/
public void setReference(org.alfresco.example.webservice.types.Reference reference) {
this.reference = reference;
}
/**
* Gets the type value for this Node.
*
* @return type
*/
public java.lang.String getType() {
return type;
}
/**
* Sets the type value for this Node.
*
* @param type
*/
public void setType(java.lang.String type) {
this.type = type;
}
/**
* Gets the aspects value for this Node.
*
* @return aspects
*/
public java.lang.String[] getAspects() {
return aspects;
}
/**
* Sets the aspects value for this Node.
*
* @param aspects
*/
public void setAspects(java.lang.String[] aspects) {
this.aspects = aspects;
}
public java.lang.String getAspects(int i) {
return this.aspects[i];
}
public void setAspects(int i, java.lang.String _value) {
this.aspects[i] = _value;
}
/**
* Gets the properties value for this Node.
*
* @return properties
*/
public org.alfresco.example.webservice.types.NamedValue[] getProperties() {
return properties;
}
/**
* Sets the properties value for this Node.
*
* @param properties
*/
public void setProperties(org.alfresco.example.webservice.types.NamedValue[] properties) {
this.properties = properties;
}
public org.alfresco.example.webservice.types.NamedValue getProperties(int i) {
return this.properties[i];
}
public void setProperties(int i, org.alfresco.example.webservice.types.NamedValue _value) {
this.properties[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Node)) return false;
Node other = (Node) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.reference==null && other.getReference()==null) ||
(this.reference!=null &&
this.reference.equals(other.getReference()))) &&
((this.type==null && other.getType()==null) ||
(this.type!=null &&
this.type.equals(other.getType()))) &&
((this.aspects==null && other.getAspects()==null) ||
(this.aspects!=null &&
java.util.Arrays.equals(this.aspects, other.getAspects()))) &&
((this.properties==null && other.getProperties()==null) ||
(this.properties!=null &&
java.util.Arrays.equals(this.properties, other.getProperties())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getReference() != null) {
_hashCode += getReference().hashCode();
}
if (getType() != null) {
_hashCode += getType().hashCode();
}
if (getAspects() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAspects());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAspects(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getProperties() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getProperties());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getProperties(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Node.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Node"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("reference");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "reference"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("type");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "type"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("aspects");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "aspects"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("properties");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "properties"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,172 @@
/**
* NodeDefinition.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class NodeDefinition implements java.io.Serializable {
private org.alfresco.example.webservice.types.ClassDefinition type;
private org.alfresco.example.webservice.types.ClassDefinition[] aspects;
public NodeDefinition() {
}
public NodeDefinition(
org.alfresco.example.webservice.types.ClassDefinition type,
org.alfresco.example.webservice.types.ClassDefinition[] aspects) {
this.type = type;
this.aspects = aspects;
}
/**
* Gets the type value for this NodeDefinition.
*
* @return type
*/
public org.alfresco.example.webservice.types.ClassDefinition getType() {
return type;
}
/**
* Sets the type value for this NodeDefinition.
*
* @param type
*/
public void setType(org.alfresco.example.webservice.types.ClassDefinition type) {
this.type = type;
}
/**
* Gets the aspects value for this NodeDefinition.
*
* @return aspects
*/
public org.alfresco.example.webservice.types.ClassDefinition[] getAspects() {
return aspects;
}
/**
* Sets the aspects value for this NodeDefinition.
*
* @param aspects
*/
public void setAspects(org.alfresco.example.webservice.types.ClassDefinition[] aspects) {
this.aspects = aspects;
}
public org.alfresco.example.webservice.types.ClassDefinition getAspects(int i) {
return this.aspects[i];
}
public void setAspects(int i, org.alfresco.example.webservice.types.ClassDefinition _value) {
this.aspects[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof NodeDefinition)) return false;
NodeDefinition other = (NodeDefinition) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.type==null && other.getType()==null) ||
(this.type!=null &&
this.type.equals(other.getType()))) &&
((this.aspects==null && other.getAspects()==null) ||
(this.aspects!=null &&
java.util.Arrays.equals(this.aspects, other.getAspects())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getType() != null) {
_hashCode += getType().hashCode();
}
if (getAspects() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAspects());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAspects(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(NodeDefinition.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NodeDefinition"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("type");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "type"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("aspects");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "aspects"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,156 @@
/**
* ParentReference.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ParentReference extends org.alfresco.example.webservice.types.Reference implements java.io.Serializable {
private java.lang.String associationType;
private java.lang.String childName;
public ParentReference() {
}
public ParentReference(
java.lang.String associationType,
java.lang.String childName) {
this.associationType = associationType;
this.childName = childName;
}
/**
* Gets the associationType value for this ParentReference.
*
* @return associationType
*/
public java.lang.String getAssociationType() {
return associationType;
}
/**
* Sets the associationType value for this ParentReference.
*
* @param associationType
*/
public void setAssociationType(java.lang.String associationType) {
this.associationType = associationType;
}
/**
* Gets the childName value for this ParentReference.
*
* @return childName
*/
public java.lang.String getChildName() {
return childName;
}
/**
* Sets the childName value for this ParentReference.
*
* @param childName
*/
public void setChildName(java.lang.String childName) {
this.childName = childName;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ParentReference)) return false;
ParentReference other = (ParentReference) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = super.equals(obj) &&
((this.associationType==null && other.getAssociationType()==null) ||
(this.associationType!=null &&
this.associationType.equals(other.getAssociationType()))) &&
((this.childName==null && other.getChildName()==null) ||
(this.childName!=null &&
this.childName.equals(other.getChildName())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = super.hashCode();
if (getAssociationType() != null) {
_hashCode += getAssociationType().hashCode();
}
if (getChildName() != null) {
_hashCode += getChildName().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ParentReference.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("associationType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("childName");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,209 @@
/**
* Predicate.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Predicate implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference[] nodes;
private org.alfresco.example.webservice.types.Store store;
private org.alfresco.example.webservice.types.Query query;
public Predicate() {
}
public Predicate(
org.alfresco.example.webservice.types.Reference[] nodes,
org.alfresco.example.webservice.types.Store store,
org.alfresco.example.webservice.types.Query query) {
this.nodes = nodes;
this.store = store;
this.query = query;
}
/**
* Gets the nodes value for this Predicate.
*
* @return nodes
*/
public org.alfresco.example.webservice.types.Reference[] getNodes() {
return nodes;
}
/**
* Sets the nodes value for this Predicate.
*
* @param nodes
*/
public void setNodes(org.alfresco.example.webservice.types.Reference[] nodes) {
this.nodes = nodes;
}
public org.alfresco.example.webservice.types.Reference getNodes(int i) {
return this.nodes[i];
}
public void setNodes(int i, org.alfresco.example.webservice.types.Reference _value) {
this.nodes[i] = _value;
}
/**
* Gets the store value for this Predicate.
*
* @return store
*/
public org.alfresco.example.webservice.types.Store getStore() {
return store;
}
/**
* Sets the store value for this Predicate.
*
* @param store
*/
public void setStore(org.alfresco.example.webservice.types.Store store) {
this.store = store;
}
/**
* Gets the query value for this Predicate.
*
* @return query
*/
public org.alfresco.example.webservice.types.Query getQuery() {
return query;
}
/**
* Sets the query value for this Predicate.
*
* @param query
*/
public void setQuery(org.alfresco.example.webservice.types.Query query) {
this.query = query;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Predicate)) return false;
Predicate other = (Predicate) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.nodes==null && other.getNodes()==null) ||
(this.nodes!=null &&
java.util.Arrays.equals(this.nodes, other.getNodes()))) &&
((this.store==null && other.getStore()==null) ||
(this.store!=null &&
this.store.equals(other.getStore()))) &&
((this.query==null && other.getQuery()==null) ||
(this.query!=null &&
this.query.equals(other.getQuery())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNodes() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getNodes());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getNodes(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getStore() != null) {
_hashCode += getStore().hashCode();
}
if (getQuery() != null) {
_hashCode += getQuery().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Predicate.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("nodes");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "nodes"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("store");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "store"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("query");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "query"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Query"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,182 @@
/**
* PropertyDefinition.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class PropertyDefinition extends org.alfresco.example.webservice.types.ValueDefinition implements java.io.Serializable {
private boolean mandatory;
private boolean readOnly;
private java.lang.String defaultValue;
public PropertyDefinition() {
}
public PropertyDefinition(
boolean mandatory,
boolean readOnly,
java.lang.String defaultValue) {
this.mandatory = mandatory;
this.readOnly = readOnly;
this.defaultValue = defaultValue;
}
/**
* Gets the mandatory value for this PropertyDefinition.
*
* @return mandatory
*/
public boolean isMandatory() {
return mandatory;
}
/**
* Sets the mandatory value for this PropertyDefinition.
*
* @param mandatory
*/
public void setMandatory(boolean mandatory) {
this.mandatory = mandatory;
}
/**
* Gets the readOnly value for this PropertyDefinition.
*
* @return readOnly
*/
public boolean isReadOnly() {
return readOnly;
}
/**
* Sets the readOnly value for this PropertyDefinition.
*
* @param readOnly
*/
public void setReadOnly(boolean readOnly) {
this.readOnly = readOnly;
}
/**
* Gets the defaultValue value for this PropertyDefinition.
*
* @return defaultValue
*/
public java.lang.String getDefaultValue() {
return defaultValue;
}
/**
* Sets the defaultValue value for this PropertyDefinition.
*
* @param defaultValue
*/
public void setDefaultValue(java.lang.String defaultValue) {
this.defaultValue = defaultValue;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof PropertyDefinition)) return false;
PropertyDefinition other = (PropertyDefinition) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = super.equals(obj) &&
this.mandatory == other.isMandatory() &&
this.readOnly == other.isReadOnly() &&
((this.defaultValue==null && other.getDefaultValue()==null) ||
(this.defaultValue!=null &&
this.defaultValue.equals(other.getDefaultValue())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = super.hashCode();
_hashCode += (isMandatory() ? Boolean.TRUE : Boolean.FALSE).hashCode();
_hashCode += (isReadOnly() ? Boolean.TRUE : Boolean.FALSE).hashCode();
if (getDefaultValue() != null) {
_hashCode += getDefaultValue().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(PropertyDefinition.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "PropertyDefinition"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("mandatory");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "mandatory"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("readOnly");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "readOnly"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("defaultValue");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "defaultValue"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,154 @@
/**
* Query.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Query implements java.io.Serializable {
private org.alfresco.example.webservice.types.QueryLanguageEnum language;
private java.lang.String statement;
public Query() {
}
public Query(
org.alfresco.example.webservice.types.QueryLanguageEnum language,
java.lang.String statement) {
this.language = language;
this.statement = statement;
}
/**
* Gets the language value for this Query.
*
* @return language
*/
public org.alfresco.example.webservice.types.QueryLanguageEnum getLanguage() {
return language;
}
/**
* Sets the language value for this Query.
*
* @param language
*/
public void setLanguage(org.alfresco.example.webservice.types.QueryLanguageEnum language) {
this.language = language;
}
/**
* Gets the statement value for this Query.
*
* @return statement
*/
public java.lang.String getStatement() {
return statement;
}
/**
* Sets the statement value for this Query.
*
* @param statement
*/
public void setStatement(java.lang.String statement) {
this.statement = statement;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Query)) return false;
Query other = (Query) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.language==null && other.getLanguage()==null) ||
(this.language!=null &&
this.language.equals(other.getLanguage()))) &&
((this.statement==null && other.getStatement()==null) ||
(this.statement!=null &&
this.statement.equals(other.getStatement())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getLanguage() != null) {
_hashCode += getLanguage().hashCode();
}
if (getStatement() != null) {
_hashCode += getStatement().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Query.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Query"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("language");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "language"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "QueryLanguageEnum"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("statement");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "statement"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,115 @@
/**
* QueryConfiguration.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class QueryConfiguration implements java.io.Serializable {
private int fetchSize;
public QueryConfiguration() {
}
public QueryConfiguration(
int fetchSize) {
this.fetchSize = fetchSize;
}
/**
* Gets the fetchSize value for this QueryConfiguration.
*
* @return fetchSize
*/
public int getFetchSize() {
return fetchSize;
}
/**
* Sets the fetchSize value for this QueryConfiguration.
*
* @param fetchSize
*/
public void setFetchSize(int fetchSize) {
this.fetchSize = fetchSize;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof QueryConfiguration)) return false;
QueryConfiguration other = (QueryConfiguration) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.fetchSize == other.getFetchSize();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getFetchSize();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(QueryConfiguration.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", "QueryConfiguration"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("fetchSize");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/headers/1.0", "fetchSize"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,72 @@
/**
* QueryLanguageEnum.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class QueryLanguageEnum implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected QueryLanguageEnum(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _lucene = "lucene";
public static final java.lang.String _xpath = "xpath";
public static final java.lang.String _cql = "cql";
public static final QueryLanguageEnum lucene = new QueryLanguageEnum(_lucene);
public static final QueryLanguageEnum xpath = new QueryLanguageEnum(_xpath);
public static final QueryLanguageEnum cql = new QueryLanguageEnum(_cql);
public java.lang.String getValue() { return _value_;}
public static QueryLanguageEnum fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
QueryLanguageEnum enumeration = (QueryLanguageEnum)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static QueryLanguageEnum fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(QueryLanguageEnum.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "QueryLanguageEnum"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}

View File

@@ -0,0 +1,191 @@
/**
* Reference.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Reference implements java.io.Serializable {
private org.alfresco.example.webservice.types.Store store;
private java.lang.String uuid;
private java.lang.String path;
public Reference() {
}
public Reference(
org.alfresco.example.webservice.types.Store store,
java.lang.String uuid,
java.lang.String path) {
this.store = store;
this.uuid = uuid;
this.path = path;
}
/**
* Gets the store value for this Reference.
*
* @return store
*/
public org.alfresco.example.webservice.types.Store getStore() {
return store;
}
/**
* Sets the store value for this Reference.
*
* @param store
*/
public void setStore(org.alfresco.example.webservice.types.Store store) {
this.store = store;
}
/**
* Gets the uuid value for this Reference.
*
* @return uuid
*/
public java.lang.String getUuid() {
return uuid;
}
/**
* Sets the uuid value for this Reference.
*
* @param uuid
*/
public void setUuid(java.lang.String uuid) {
this.uuid = uuid;
}
/**
* Gets the path value for this Reference.
*
* @return path
*/
public java.lang.String getPath() {
return path;
}
/**
* Sets the path value for this Reference.
*
* @param path
*/
public void setPath(java.lang.String path) {
this.path = path;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Reference)) return false;
Reference other = (Reference) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.store==null && other.getStore()==null) ||
(this.store!=null &&
this.store.equals(other.getStore()))) &&
((this.uuid==null && other.getUuid()==null) ||
(this.uuid!=null &&
this.uuid.equals(other.getUuid()))) &&
((this.path==null && other.getPath()==null) ||
(this.path!=null &&
this.path.equals(other.getPath())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getStore() != null) {
_hashCode += getStore().hashCode();
}
if (getUuid() != null) {
_hashCode += getUuid().hashCode();
}
if (getPath() != null) {
_hashCode += getPath().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Reference.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("store");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "store"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("uuid");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "uuid"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "UUID"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("path");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "path"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Path"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,204 @@
/**
* ResultSet.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ResultSet implements java.io.Serializable {
private org.alfresco.example.webservice.types.ResultSetRow[] rows;
private long totalRowCount;
private org.alfresco.example.webservice.types.ResultSetMetaData metaData;
public ResultSet() {
}
public ResultSet(
org.alfresco.example.webservice.types.ResultSetRow[] rows,
long totalRowCount,
org.alfresco.example.webservice.types.ResultSetMetaData metaData) {
this.rows = rows;
this.totalRowCount = totalRowCount;
this.metaData = metaData;
}
/**
* Gets the rows value for this ResultSet.
*
* @return rows
*/
public org.alfresco.example.webservice.types.ResultSetRow[] getRows() {
return rows;
}
/**
* Sets the rows value for this ResultSet.
*
* @param rows
*/
public void setRows(org.alfresco.example.webservice.types.ResultSetRow[] rows) {
this.rows = rows;
}
public org.alfresco.example.webservice.types.ResultSetRow getRows(int i) {
return this.rows[i];
}
public void setRows(int i, org.alfresco.example.webservice.types.ResultSetRow _value) {
this.rows[i] = _value;
}
/**
* Gets the totalRowCount value for this ResultSet.
*
* @return totalRowCount
*/
public long getTotalRowCount() {
return totalRowCount;
}
/**
* Sets the totalRowCount value for this ResultSet.
*
* @param totalRowCount
*/
public void setTotalRowCount(long totalRowCount) {
this.totalRowCount = totalRowCount;
}
/**
* Gets the metaData value for this ResultSet.
*
* @return metaData
*/
public org.alfresco.example.webservice.types.ResultSetMetaData getMetaData() {
return metaData;
}
/**
* Sets the metaData value for this ResultSet.
*
* @param metaData
*/
public void setMetaData(org.alfresco.example.webservice.types.ResultSetMetaData metaData) {
this.metaData = metaData;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ResultSet)) return false;
ResultSet other = (ResultSet) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.rows==null && other.getRows()==null) ||
(this.rows!=null &&
java.util.Arrays.equals(this.rows, other.getRows()))) &&
this.totalRowCount == other.getTotalRowCount() &&
((this.metaData==null && other.getMetaData()==null) ||
(this.metaData!=null &&
this.metaData.equals(other.getMetaData())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getRows() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getRows());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getRows(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
_hashCode += new Long(getTotalRowCount()).hashCode();
if (getMetaData() != null) {
_hashCode += getMetaData().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ResultSet.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("rows");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "rows"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetRow"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("totalRowCount");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "totalRowCount"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("metaData");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "metaData"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetMetaData"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,190 @@
/**
* ResultSetMetaData.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ResultSetMetaData implements java.io.Serializable {
private org.alfresco.example.webservice.types.ValueDefinition[] valueDefs;
private org.alfresco.example.webservice.types.ClassDefinition[] classDefs;
public ResultSetMetaData() {
}
public ResultSetMetaData(
org.alfresco.example.webservice.types.ValueDefinition[] valueDefs,
org.alfresco.example.webservice.types.ClassDefinition[] classDefs) {
this.valueDefs = valueDefs;
this.classDefs = classDefs;
}
/**
* Gets the valueDefs value for this ResultSetMetaData.
*
* @return valueDefs
*/
public org.alfresco.example.webservice.types.ValueDefinition[] getValueDefs() {
return valueDefs;
}
/**
* Sets the valueDefs value for this ResultSetMetaData.
*
* @param valueDefs
*/
public void setValueDefs(org.alfresco.example.webservice.types.ValueDefinition[] valueDefs) {
this.valueDefs = valueDefs;
}
public org.alfresco.example.webservice.types.ValueDefinition getValueDefs(int i) {
return this.valueDefs[i];
}
public void setValueDefs(int i, org.alfresco.example.webservice.types.ValueDefinition _value) {
this.valueDefs[i] = _value;
}
/**
* Gets the classDefs value for this ResultSetMetaData.
*
* @return classDefs
*/
public org.alfresco.example.webservice.types.ClassDefinition[] getClassDefs() {
return classDefs;
}
/**
* Sets the classDefs value for this ResultSetMetaData.
*
* @param classDefs
*/
public void setClassDefs(org.alfresco.example.webservice.types.ClassDefinition[] classDefs) {
this.classDefs = classDefs;
}
public org.alfresco.example.webservice.types.ClassDefinition getClassDefs(int i) {
return this.classDefs[i];
}
public void setClassDefs(int i, org.alfresco.example.webservice.types.ClassDefinition _value) {
this.classDefs[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ResultSetMetaData)) return false;
ResultSetMetaData other = (ResultSetMetaData) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.valueDefs==null && other.getValueDefs()==null) ||
(this.valueDefs!=null &&
java.util.Arrays.equals(this.valueDefs, other.getValueDefs()))) &&
((this.classDefs==null && other.getClassDefs()==null) ||
(this.classDefs!=null &&
java.util.Arrays.equals(this.classDefs, other.getClassDefs())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getValueDefs() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getValueDefs());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getValueDefs(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getClassDefs() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getClassDefs());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getClassDefs(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ResultSetMetaData.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetMetaData"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("valueDefs");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "valueDefs"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("classDefs");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "classDefs"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,240 @@
/**
* ResultSetRow.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ResultSetRow implements java.io.Serializable {
private long rowIndex;
private org.alfresco.example.webservice.types.NamedValue[] columns;
private java.lang.Float score;
private org.alfresco.example.webservice.types.ResultSetRowNode node;
public ResultSetRow() {
}
public ResultSetRow(
long rowIndex,
org.alfresco.example.webservice.types.NamedValue[] columns,
java.lang.Float score,
org.alfresco.example.webservice.types.ResultSetRowNode node) {
this.rowIndex = rowIndex;
this.columns = columns;
this.score = score;
this.node = node;
}
/**
* Gets the rowIndex value for this ResultSetRow.
*
* @return rowIndex
*/
public long getRowIndex() {
return rowIndex;
}
/**
* Sets the rowIndex value for this ResultSetRow.
*
* @param rowIndex
*/
public void setRowIndex(long rowIndex) {
this.rowIndex = rowIndex;
}
/**
* Gets the columns value for this ResultSetRow.
*
* @return columns
*/
public org.alfresco.example.webservice.types.NamedValue[] getColumns() {
return columns;
}
/**
* Sets the columns value for this ResultSetRow.
*
* @param columns
*/
public void setColumns(org.alfresco.example.webservice.types.NamedValue[] columns) {
this.columns = columns;
}
public org.alfresco.example.webservice.types.NamedValue getColumns(int i) {
return this.columns[i];
}
public void setColumns(int i, org.alfresco.example.webservice.types.NamedValue _value) {
this.columns[i] = _value;
}
/**
* Gets the score value for this ResultSetRow.
*
* @return score
*/
public java.lang.Float getScore() {
return score;
}
/**
* Sets the score value for this ResultSetRow.
*
* @param score
*/
public void setScore(java.lang.Float score) {
this.score = score;
}
/**
* Gets the node value for this ResultSetRow.
*
* @return node
*/
public org.alfresco.example.webservice.types.ResultSetRowNode getNode() {
return node;
}
/**
* Sets the node value for this ResultSetRow.
*
* @param node
*/
public void setNode(org.alfresco.example.webservice.types.ResultSetRowNode node) {
this.node = node;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ResultSetRow)) return false;
ResultSetRow other = (ResultSetRow) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.rowIndex == other.getRowIndex() &&
((this.columns==null && other.getColumns()==null) ||
(this.columns!=null &&
java.util.Arrays.equals(this.columns, other.getColumns()))) &&
((this.score==null && other.getScore()==null) ||
(this.score!=null &&
this.score.equals(other.getScore()))) &&
((this.node==null && other.getNode()==null) ||
(this.node!=null &&
this.node.equals(other.getNode())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += new Long(getRowIndex()).hashCode();
if (getColumns() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getColumns());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getColumns(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getScore() != null) {
_hashCode += getScore().hashCode();
}
if (getNode() != null) {
_hashCode += getNode().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ResultSetRow.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSetRow"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("rowIndex");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "rowIndex"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("columns");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "columns"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("score");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "score"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("node");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "node"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ResultSetRow>node"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,207 @@
/**
* ResultSetRowNode.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ResultSetRowNode implements java.io.Serializable {
private java.lang.String id;
private java.lang.String type;
private java.lang.String[] aspects;
public ResultSetRowNode() {
}
public ResultSetRowNode(
java.lang.String id,
java.lang.String type,
java.lang.String[] aspects) {
this.id = id;
this.type = type;
this.aspects = aspects;
}
/**
* Gets the id value for this ResultSetRowNode.
*
* @return id
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the id value for this ResultSetRowNode.
*
* @param id
*/
public void setId(java.lang.String id) {
this.id = id;
}
/**
* Gets the type value for this ResultSetRowNode.
*
* @return type
*/
public java.lang.String getType() {
return type;
}
/**
* Sets the type value for this ResultSetRowNode.
*
* @param type
*/
public void setType(java.lang.String type) {
this.type = type;
}
/**
* Gets the aspects value for this ResultSetRowNode.
*
* @return aspects
*/
public java.lang.String[] getAspects() {
return aspects;
}
/**
* Sets the aspects value for this ResultSetRowNode.
*
* @param aspects
*/
public void setAspects(java.lang.String[] aspects) {
this.aspects = aspects;
}
public java.lang.String getAspects(int i) {
return this.aspects[i];
}
public void setAspects(int i, java.lang.String _value) {
this.aspects[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ResultSetRowNode)) return false;
ResultSetRowNode other = (ResultSetRowNode) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.type==null && other.getType()==null) ||
(this.type!=null &&
this.type.equals(other.getType()))) &&
((this.aspects==null && other.getAspects()==null) ||
(this.aspects!=null &&
java.util.Arrays.equals(this.aspects, other.getAspects())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getType() != null) {
_hashCode += getType().hashCode();
}
if (getAspects() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAspects());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAspects(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ResultSetRowNode.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">ResultSetRow>node"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "UUID"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("type");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "type"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("aspects");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "aspects"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,156 @@
/**
* RoleDefinition.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class RoleDefinition implements java.io.Serializable {
private java.lang.String name;
private org.alfresco.example.webservice.types.Cardinality cardinality;
public RoleDefinition() {
}
public RoleDefinition(
java.lang.String name,
org.alfresco.example.webservice.types.Cardinality cardinality) {
this.name = name;
this.cardinality = cardinality;
}
/**
* Gets the name value for this RoleDefinition.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this RoleDefinition.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the cardinality value for this RoleDefinition.
*
* @return cardinality
*/
public org.alfresco.example.webservice.types.Cardinality getCardinality() {
return cardinality;
}
/**
* Sets the cardinality value for this RoleDefinition.
*
* @param cardinality
*/
public void setCardinality(org.alfresco.example.webservice.types.Cardinality cardinality) {
this.cardinality = cardinality;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof RoleDefinition)) return false;
RoleDefinition other = (RoleDefinition) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.cardinality==null && other.getCardinality()==null) ||
(this.cardinality!=null &&
this.cardinality.equals(other.getCardinality())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getCardinality() != null) {
_hashCode += getCardinality().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(RoleDefinition.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cardinality");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "cardinality"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Cardinality"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,154 @@
/**
* Store.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Store implements java.io.Serializable {
private org.alfresco.example.webservice.types.StoreEnum scheme;
private java.lang.String address;
public Store() {
}
public Store(
org.alfresco.example.webservice.types.StoreEnum scheme,
java.lang.String address) {
this.scheme = scheme;
this.address = address;
}
/**
* Gets the scheme value for this Store.
*
* @return scheme
*/
public org.alfresco.example.webservice.types.StoreEnum getScheme() {
return scheme;
}
/**
* Sets the scheme value for this Store.
*
* @param scheme
*/
public void setScheme(org.alfresco.example.webservice.types.StoreEnum scheme) {
this.scheme = scheme;
}
/**
* Gets the address value for this Store.
*
* @return address
*/
public java.lang.String getAddress() {
return address;
}
/**
* Sets the address value for this Store.
*
* @param address
*/
public void setAddress(java.lang.String address) {
this.address = address;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Store)) return false;
Store other = (Store) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.scheme==null && other.getScheme()==null) ||
(this.scheme!=null &&
this.scheme.equals(other.getScheme()))) &&
((this.address==null && other.getAddress()==null) ||
(this.address!=null &&
this.address.equals(other.getAddress())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getScheme() != null) {
_hashCode += getScheme().hashCode();
}
if (getAddress() != null) {
_hashCode += getAddress().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Store.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("scheme");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "scheme"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "StoreEnum"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("address");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "address"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", ">Store>address"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,78 @@
/**
* StoreEnum.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class StoreEnum implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected StoreEnum(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _workspace = "workspace";
public static final java.lang.String _versionStore = "versionStore";
public static final java.lang.String _user = "user";
public static final java.lang.String _search = "search";
public static final java.lang.String _http = "http";
public static final java.lang.String _system = "system";
public static final StoreEnum workspace = new StoreEnum(_workspace);
public static final StoreEnum versionStore = new StoreEnum(_versionStore);
public static final StoreEnum user = new StoreEnum(_user);
public static final StoreEnum search = new StoreEnum(_search);
public static final StoreEnum http = new StoreEnum(_http);
public static final StoreEnum system = new StoreEnum(_system);
public java.lang.String getValue() { return _value_;}
public static StoreEnum fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
StoreEnum enumeration = (StoreEnum)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static StoreEnum fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(StoreEnum.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "StoreEnum"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}

View File

@@ -0,0 +1,226 @@
/**
* ValueDefinition.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class ValueDefinition implements java.io.Serializable {
private java.lang.String name;
private java.lang.String title;
private java.lang.String description;
private java.lang.String dataType;
public ValueDefinition() {
}
public ValueDefinition(
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String dataType) {
this.name = name;
this.title = title;
this.description = description;
this.dataType = dataType;
}
/**
* Gets the name value for this ValueDefinition.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this ValueDefinition.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the title value for this ValueDefinition.
*
* @return title
*/
public java.lang.String getTitle() {
return title;
}
/**
* Sets the title value for this ValueDefinition.
*
* @param title
*/
public void setTitle(java.lang.String title) {
this.title = title;
}
/**
* Gets the description value for this ValueDefinition.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this ValueDefinition.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
/**
* Gets the dataType value for this ValueDefinition.
*
* @return dataType
*/
public java.lang.String getDataType() {
return dataType;
}
/**
* Sets the dataType value for this ValueDefinition.
*
* @param dataType
*/
public void setDataType(java.lang.String dataType) {
this.dataType = dataType;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ValueDefinition)) return false;
ValueDefinition other = (ValueDefinition) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
this.title.equals(other.getTitle()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
((this.dataType==null && other.getDataType()==null) ||
(this.dataType!=null &&
this.dataType.equals(other.getDataType())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getTitle() != null) {
_hashCode += getTitle().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
if (getDataType() != null) {
_hashCode += getDataType().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ValueDefinition.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dataType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "dataType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,311 @@
/**
* Version.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class Version implements java.io.Serializable {
private org.alfresco.example.webservice.types.Reference id;
private java.util.Calendar created;
private java.lang.String creator;
private java.lang.String label;
private boolean major;
private org.alfresco.example.webservice.types.NamedValue[] commentaries;
public Version() {
}
public Version(
org.alfresco.example.webservice.types.Reference id,
java.util.Calendar created,
java.lang.String creator,
java.lang.String label,
boolean major,
org.alfresco.example.webservice.types.NamedValue[] commentaries) {
this.id = id;
this.created = created;
this.creator = creator;
this.label = label;
this.major = major;
this.commentaries = commentaries;
}
/**
* Gets the id value for this Version.
*
* @return id
*/
public org.alfresco.example.webservice.types.Reference getId() {
return id;
}
/**
* Sets the id value for this Version.
*
* @param id
*/
public void setId(org.alfresco.example.webservice.types.Reference id) {
this.id = id;
}
/**
* Gets the created value for this Version.
*
* @return created
*/
public java.util.Calendar getCreated() {
return created;
}
/**
* Sets the created value for this Version.
*
* @param created
*/
public void setCreated(java.util.Calendar created) {
this.created = created;
}
/**
* Gets the creator value for this Version.
*
* @return creator
*/
public java.lang.String getCreator() {
return creator;
}
/**
* Sets the creator value for this Version.
*
* @param creator
*/
public void setCreator(java.lang.String creator) {
this.creator = creator;
}
/**
* Gets the label value for this Version.
*
* @return label
*/
public java.lang.String getLabel() {
return label;
}
/**
* Sets the label value for this Version.
*
* @param label
*/
public void setLabel(java.lang.String label) {
this.label = label;
}
/**
* Gets the major value for this Version.
*
* @return major
*/
public boolean isMajor() {
return major;
}
/**
* Sets the major value for this Version.
*
* @param major
*/
public void setMajor(boolean major) {
this.major = major;
}
/**
* Gets the commentaries value for this Version.
*
* @return commentaries
*/
public org.alfresco.example.webservice.types.NamedValue[] getCommentaries() {
return commentaries;
}
/**
* Sets the commentaries value for this Version.
*
* @param commentaries
*/
public void setCommentaries(org.alfresco.example.webservice.types.NamedValue[] commentaries) {
this.commentaries = commentaries;
}
public org.alfresco.example.webservice.types.NamedValue getCommentaries(int i) {
return this.commentaries[i];
}
public void setCommentaries(int i, org.alfresco.example.webservice.types.NamedValue _value) {
this.commentaries[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Version)) return false;
Version other = (Version) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.created==null && other.getCreated()==null) ||
(this.created!=null &&
this.created.equals(other.getCreated()))) &&
((this.creator==null && other.getCreator()==null) ||
(this.creator!=null &&
this.creator.equals(other.getCreator()))) &&
((this.label==null && other.getLabel()==null) ||
(this.label!=null &&
this.label.equals(other.getLabel()))) &&
this.major == other.isMajor() &&
((this.commentaries==null && other.getCommentaries()==null) ||
(this.commentaries!=null &&
java.util.Arrays.equals(this.commentaries, other.getCommentaries())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getCreated() != null) {
_hashCode += getCreated().hashCode();
}
if (getCreator() != null) {
_hashCode += getCreator().hashCode();
}
if (getLabel() != null) {
_hashCode += getLabel().hashCode();
}
_hashCode += (isMajor() ? Boolean.TRUE : Boolean.FALSE).hashCode();
if (getCommentaries() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCommentaries());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCommentaries(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Version.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Version"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("id");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("created");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "created"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("creator");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "creator"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("label");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "label"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("major");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "major"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("commentaries");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "commentaries"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,137 @@
/**
* VersionHistory.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.example.webservice.types;
public class VersionHistory implements java.io.Serializable {
private org.alfresco.example.webservice.types.Version[] versions;
public VersionHistory() {
}
public VersionHistory(
org.alfresco.example.webservice.types.Version[] versions) {
this.versions = versions;
}
/**
* Gets the versions value for this VersionHistory.
*
* @return versions
*/
public org.alfresco.example.webservice.types.Version[] getVersions() {
return versions;
}
/**
* Sets the versions value for this VersionHistory.
*
* @param versions
*/
public void setVersions(org.alfresco.example.webservice.types.Version[] versions) {
this.versions = versions;
}
public org.alfresco.example.webservice.types.Version getVersions(int i) {
return this.versions[i];
}
public void setVersions(int i, org.alfresco.example.webservice.types.Version _value) {
this.versions[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof VersionHistory)) return false;
VersionHistory other = (VersionHistory) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.versions==null && other.getVersions()==null) ||
(this.versions!=null &&
java.util.Arrays.equals(this.versions, other.getVersions())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getVersions() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getVersions());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getVersions(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(VersionHistory.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("versions");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "versions"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Version"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,157 @@
/**
* AuthenticationFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authentication;
public class AuthenticationFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public AuthenticationFault() {
}
public AuthenticationFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this AuthenticationFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this AuthenticationFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this AuthenticationFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this AuthenticationFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AuthenticationFault)) return false;
AuthenticationFault other = (AuthenticationFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AuthenticationFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,154 @@
/**
* AuthenticationResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authentication;
public class AuthenticationResult implements java.io.Serializable {
private java.lang.String username;
private java.lang.String ticket;
public AuthenticationResult() {
}
public AuthenticationResult(
java.lang.String username,
java.lang.String ticket) {
this.username = username;
this.ticket = ticket;
}
/**
* Gets the username value for this AuthenticationResult.
*
* @return username
*/
public java.lang.String getUsername() {
return username;
}
/**
* Sets the username value for this AuthenticationResult.
*
* @param username
*/
public void setUsername(java.lang.String username) {
this.username = username;
}
/**
* Gets the ticket value for this AuthenticationResult.
*
* @return ticket
*/
public java.lang.String getTicket() {
return ticket;
}
/**
* Sets the ticket value for this AuthenticationResult.
*
* @param ticket
*/
public void setTicket(java.lang.String ticket) {
this.ticket = ticket;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AuthenticationResult)) return false;
AuthenticationResult other = (AuthenticationResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.username==null && other.getUsername()==null) ||
(this.username!=null &&
this.username.equals(other.getUsername()))) &&
((this.ticket==null && other.getTicket()==null) ||
(this.ticket!=null &&
this.ticket.equals(other.getTicket())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getUsername() != null) {
_hashCode += getUsername().hashCode();
}
if (getTicket() != null) {
_hashCode += getTicket().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AuthenticationResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("username");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "username"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ticket");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "ticket"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,13 @@
/**
* AuthenticationServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authentication;
public interface AuthenticationServiceSoapPort extends java.rmi.Remote {
public org.alfresco.repo.webservice.authentication.AuthenticationResult startSession(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authentication.AuthenticationFault;
public void endSession() throws java.rmi.RemoteException, org.alfresco.repo.webservice.authentication.AuthenticationFault;
}

View File

@@ -0,0 +1,50 @@
<!-- Use this file to deploy some handlers/chains and services -->
<!-- Two ways to do this: -->
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
<!-- after the axis server is running -->
<!-- or -->
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
<!-- from the same directory that the Axis engine runs -->
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- Services from AuthenticationService WSDL service -->
<service name="AuthenticationService" provider="java:RPC" style="wrapped" use="literal">
<parameter name="wsdlTargetNamespace" value="http://www.alfresco.org/ws/service/authentication/1.0"/>
<parameter name="wsdlServiceElement" value="AuthenticationService"/>
<parameter name="schemaQualified" value="http://www.alfresco.org/ws/service/authentication/1.0"/>
<parameter name="wsdlServicePort" value="AuthenticationService"/>
<parameter name="className" value="org.alfresco.repo.webservice.authentication.AuthenticationServiceSoapBindingImpl"/>
<parameter name="wsdlPortType" value="AuthenticationServiceSoapPort"/>
<parameter name="typeMappingVersion" value="1.2"/>
<operation name="startSession" qname="operNS:startSession" xmlns:operNS="http://www.alfresco.org/ws/service/authentication/1.0" returnQName="retNS:startSessionReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authentication/1.0" returnType="rtns:AuthenticationResult" xmlns:rtns="http://www.alfresco.org/ws/service/authentication/1.0" soapAction="http://www.alfresco.org/ws/service/authentication/1.0/startSession" >
<parameter qname="pns:username" xmlns:pns="http://www.alfresco.org/ws/service/authentication/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<parameter qname="pns:password" xmlns:pns="http://www.alfresco.org/ws/service/authentication/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<fault name="AuthenticationFault" qname="fns:AuthenticationFault" xmlns:fns="http://www.alfresco.org/ws/service/authentication/1.0" class="org.alfresco.repo.webservice.authentication.AuthenticationFault" type="tns:AuthenticationFault" xmlns:tns="http://www.alfresco.org/ws/service/authentication/1.0"/>
</operation>
<operation name="endSession" qname="operNS:endSession" xmlns:operNS="http://www.alfresco.org/ws/service/authentication/1.0" soapAction="http://www.alfresco.org/ws/service/authentication/1.0/endSession" >
<fault name="AuthenticationFault" qname="fns:AuthenticationFault" xmlns:fns="http://www.alfresco.org/ws/service/authentication/1.0" class="org.alfresco.repo.webservice.authentication.AuthenticationFault" type="tns:AuthenticationFault" xmlns:tns="http://www.alfresco.org/ws/service/authentication/1.0"/>
</operation>
<parameter name="allowedMethods" value="startSession endSession"/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authentication/1.0"
qname="ns:AuthenticationResult"
type="java:org.alfresco.repo.webservice.authentication.AuthenticationResult"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authentication/1.0"
qname="ns:AuthenticationFault"
type="java:org.alfresco.repo.webservice.authentication.AuthenticationFault"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
</service>
</deployment>

View File

@@ -0,0 +1,157 @@
/**
* AuthoringFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class AuthoringFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public AuthoringFault() {
}
public AuthoringFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this AuthoringFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this AuthoringFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this AuthoringFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this AuthoringFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AuthoringFault)) return false;
AuthoringFault other = (AuthoringFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AuthoringFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

View File

@@ -0,0 +1,67 @@
/**
* AuthoringServiceSoapPort.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public interface AuthoringServiceSoapPort extends java.rmi.Remote {
/**
* Checkout a content resource for editing.
*/
public org.alfresco.repo.webservice.authoring.CheckoutResult checkout(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.types.ParentReference destination) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Checkin a content resource.
*/
public org.alfresco.repo.webservice.authoring.CheckinResult checkin(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.types.NamedValue[] comments, boolean keepCheckedOut) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Checkin an external content resource thus replacing the existing
* working content.
*/
public org.alfresco.repo.webservice.types.Reference checkinExternal(org.alfresco.repo.webservice.types.Reference items, org.alfresco.repo.webservice.types.NamedValue[] comments, boolean keepCheckedOut, org.alfresco.repo.webservice.types.ContentFormat format, byte[] content) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Cancels the checkout.
*/
public org.alfresco.repo.webservice.authoring.CancelCheckoutResult cancelCheckout(org.alfresco.repo.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Locks a content resource.
*/
public org.alfresco.repo.webservice.types.Reference[] lock(org.alfresco.repo.webservice.types.Predicate items, boolean lockChildren, org.alfresco.repo.webservice.authoring.LockTypeEnum lockType) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Unlocks a content resource.
*/
public org.alfresco.repo.webservice.types.Reference[] unlock(org.alfresco.repo.webservice.types.Predicate items, boolean unlockChildren) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Gets the lock status of the specified nodes.
*/
public org.alfresco.repo.webservice.authoring.LockStatus[] getLockStatus(org.alfresco.repo.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Create a snapshot of the specified node(s) in the version store.
*/
public org.alfresco.repo.webservice.authoring.VersionResult createVersion(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.types.NamedValue[] comments, boolean versionChildren) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Gets the version history for the specfied node.
*/
public org.alfresco.repo.webservice.types.VersionHistory getVersionHistory(org.alfresco.repo.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Revert a node to the snapshot of the specified version.
*/
public void revertVersion(org.alfresco.repo.webservice.types.Reference node, java.lang.String versionLabel) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
/**
* Delete all snapshot versions of the specified node.
*/
public org.alfresco.repo.webservice.types.VersionHistory deleteAllVersions(org.alfresco.repo.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault;
}

View File

@@ -0,0 +1,190 @@
/**
* CancelCheckoutResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class CancelCheckoutResult implements java.io.Serializable {
private org.alfresco.repo.webservice.types.Reference[] workingCopies;
private org.alfresco.repo.webservice.types.Reference[] originals;
public CancelCheckoutResult() {
}
public CancelCheckoutResult(
org.alfresco.repo.webservice.types.Reference[] workingCopies,
org.alfresco.repo.webservice.types.Reference[] originals) {
this.workingCopies = workingCopies;
this.originals = originals;
}
/**
* Gets the workingCopies value for this CancelCheckoutResult.
*
* @return workingCopies
*/
public org.alfresco.repo.webservice.types.Reference[] getWorkingCopies() {
return workingCopies;
}
/**
* Sets the workingCopies value for this CancelCheckoutResult.
*
* @param workingCopies
*/
public void setWorkingCopies(org.alfresco.repo.webservice.types.Reference[] workingCopies) {
this.workingCopies = workingCopies;
}
public org.alfresco.repo.webservice.types.Reference getWorkingCopies(int i) {
return this.workingCopies[i];
}
public void setWorkingCopies(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.workingCopies[i] = _value;
}
/**
* Gets the originals value for this CancelCheckoutResult.
*
* @return originals
*/
public org.alfresco.repo.webservice.types.Reference[] getOriginals() {
return originals;
}
/**
* Sets the originals value for this CancelCheckoutResult.
*
* @param originals
*/
public void setOriginals(org.alfresco.repo.webservice.types.Reference[] originals) {
this.originals = originals;
}
public org.alfresco.repo.webservice.types.Reference getOriginals(int i) {
return this.originals[i];
}
public void setOriginals(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.originals[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CancelCheckoutResult)) return false;
CancelCheckoutResult other = (CancelCheckoutResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.workingCopies==null && other.getWorkingCopies()==null) ||
(this.workingCopies!=null &&
java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies()))) &&
((this.originals==null && other.getOriginals()==null) ||
(this.originals!=null &&
java.util.Arrays.equals(this.originals, other.getOriginals())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getWorkingCopies() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getWorkingCopies());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getWorkingCopies(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getOriginals() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getOriginals());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getOriginals(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CancelCheckoutResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "CancelCheckoutResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("workingCopies");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "workingCopies"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("originals");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "originals"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,190 @@
/**
* CheckinResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class CheckinResult implements java.io.Serializable {
private org.alfresco.repo.webservice.types.Reference[] workingCopies;
private org.alfresco.repo.webservice.types.Reference[] checkedIn;
public CheckinResult() {
}
public CheckinResult(
org.alfresco.repo.webservice.types.Reference[] workingCopies,
org.alfresco.repo.webservice.types.Reference[] checkedIn) {
this.workingCopies = workingCopies;
this.checkedIn = checkedIn;
}
/**
* Gets the workingCopies value for this CheckinResult.
*
* @return workingCopies
*/
public org.alfresco.repo.webservice.types.Reference[] getWorkingCopies() {
return workingCopies;
}
/**
* Sets the workingCopies value for this CheckinResult.
*
* @param workingCopies
*/
public void setWorkingCopies(org.alfresco.repo.webservice.types.Reference[] workingCopies) {
this.workingCopies = workingCopies;
}
public org.alfresco.repo.webservice.types.Reference getWorkingCopies(int i) {
return this.workingCopies[i];
}
public void setWorkingCopies(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.workingCopies[i] = _value;
}
/**
* Gets the checkedIn value for this CheckinResult.
*
* @return checkedIn
*/
public org.alfresco.repo.webservice.types.Reference[] getCheckedIn() {
return checkedIn;
}
/**
* Sets the checkedIn value for this CheckinResult.
*
* @param checkedIn
*/
public void setCheckedIn(org.alfresco.repo.webservice.types.Reference[] checkedIn) {
this.checkedIn = checkedIn;
}
public org.alfresco.repo.webservice.types.Reference getCheckedIn(int i) {
return this.checkedIn[i];
}
public void setCheckedIn(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.checkedIn[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CheckinResult)) return false;
CheckinResult other = (CheckinResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.workingCopies==null && other.getWorkingCopies()==null) ||
(this.workingCopies!=null &&
java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies()))) &&
((this.checkedIn==null && other.getCheckedIn()==null) ||
(this.checkedIn!=null &&
java.util.Arrays.equals(this.checkedIn, other.getCheckedIn())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getWorkingCopies() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getWorkingCopies());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getWorkingCopies(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getCheckedIn() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCheckedIn());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCheckedIn(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CheckinResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "CheckinResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("workingCopies");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "workingCopies"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("checkedIn");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "checkedIn"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,190 @@
/**
* CheckoutResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class CheckoutResult implements java.io.Serializable {
private org.alfresco.repo.webservice.types.Reference[] originals;
private org.alfresco.repo.webservice.types.Reference[] workingCopies;
public CheckoutResult() {
}
public CheckoutResult(
org.alfresco.repo.webservice.types.Reference[] originals,
org.alfresco.repo.webservice.types.Reference[] workingCopies) {
this.originals = originals;
this.workingCopies = workingCopies;
}
/**
* Gets the originals value for this CheckoutResult.
*
* @return originals
*/
public org.alfresco.repo.webservice.types.Reference[] getOriginals() {
return originals;
}
/**
* Sets the originals value for this CheckoutResult.
*
* @param originals
*/
public void setOriginals(org.alfresco.repo.webservice.types.Reference[] originals) {
this.originals = originals;
}
public org.alfresco.repo.webservice.types.Reference getOriginals(int i) {
return this.originals[i];
}
public void setOriginals(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.originals[i] = _value;
}
/**
* Gets the workingCopies value for this CheckoutResult.
*
* @return workingCopies
*/
public org.alfresco.repo.webservice.types.Reference[] getWorkingCopies() {
return workingCopies;
}
/**
* Sets the workingCopies value for this CheckoutResult.
*
* @param workingCopies
*/
public void setWorkingCopies(org.alfresco.repo.webservice.types.Reference[] workingCopies) {
this.workingCopies = workingCopies;
}
public org.alfresco.repo.webservice.types.Reference getWorkingCopies(int i) {
return this.workingCopies[i];
}
public void setWorkingCopies(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.workingCopies[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CheckoutResult)) return false;
CheckoutResult other = (CheckoutResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.originals==null && other.getOriginals()==null) ||
(this.originals!=null &&
java.util.Arrays.equals(this.originals, other.getOriginals()))) &&
((this.workingCopies==null && other.getWorkingCopies()==null) ||
(this.workingCopies!=null &&
java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getOriginals() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getOriginals());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getOriginals(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getWorkingCopies() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getWorkingCopies());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getWorkingCopies(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CheckoutResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "CheckoutResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("originals");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "originals"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("workingCopies");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "workingCopies"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,191 @@
/**
* LockStatus.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class LockStatus implements java.io.Serializable {
private org.alfresco.repo.webservice.types.Reference node;
private org.alfresco.repo.webservice.authoring.LockTypeEnum lockType;
private java.lang.String lockOwner;
public LockStatus() {
}
public LockStatus(
org.alfresco.repo.webservice.types.Reference node,
org.alfresco.repo.webservice.authoring.LockTypeEnum lockType,
java.lang.String lockOwner) {
this.node = node;
this.lockType = lockType;
this.lockOwner = lockOwner;
}
/**
* Gets the node value for this LockStatus.
*
* @return node
*/
public org.alfresco.repo.webservice.types.Reference getNode() {
return node;
}
/**
* Sets the node value for this LockStatus.
*
* @param node
*/
public void setNode(org.alfresco.repo.webservice.types.Reference node) {
this.node = node;
}
/**
* Gets the lockType value for this LockStatus.
*
* @return lockType
*/
public org.alfresco.repo.webservice.authoring.LockTypeEnum getLockType() {
return lockType;
}
/**
* Sets the lockType value for this LockStatus.
*
* @param lockType
*/
public void setLockType(org.alfresco.repo.webservice.authoring.LockTypeEnum lockType) {
this.lockType = lockType;
}
/**
* Gets the lockOwner value for this LockStatus.
*
* @return lockOwner
*/
public java.lang.String getLockOwner() {
return lockOwner;
}
/**
* Sets the lockOwner value for this LockStatus.
*
* @param lockOwner
*/
public void setLockOwner(java.lang.String lockOwner) {
this.lockOwner = lockOwner;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LockStatus)) return false;
LockStatus other = (LockStatus) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.node==null && other.getNode()==null) ||
(this.node!=null &&
this.node.equals(other.getNode()))) &&
((this.lockType==null && other.getLockType()==null) ||
(this.lockType!=null &&
this.lockType.equals(other.getLockType()))) &&
((this.lockOwner==null && other.getLockOwner()==null) ||
(this.lockOwner!=null &&
this.lockOwner.equals(other.getLockOwner())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNode() != null) {
_hashCode += getNode().hashCode();
}
if (getLockType() != null) {
_hashCode += getLockType().hashCode();
}
if (getLockOwner() != null) {
_hashCode += getLockOwner().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LockStatus.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "LockStatus"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("node");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "node"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("lockType");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "lockType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "LockTypeEnum"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("lockOwner");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "lockOwner"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,70 @@
/**
* LockTypeEnum.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class LockTypeEnum implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected LockTypeEnum(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _read = "read";
public static final java.lang.String _write = "write";
public static final LockTypeEnum read = new LockTypeEnum(_read);
public static final LockTypeEnum write = new LockTypeEnum(_write);
public java.lang.String getValue() { return _value_;}
public static LockTypeEnum fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
LockTypeEnum enumeration = (LockTypeEnum)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static LockTypeEnum fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LockTypeEnum.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "LockTypeEnum"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}

View File

@@ -0,0 +1,190 @@
/**
* VersionResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.authoring;
public class VersionResult implements java.io.Serializable {
private org.alfresco.repo.webservice.types.Reference[] nodes;
private org.alfresco.repo.webservice.types.Version[] versions;
public VersionResult() {
}
public VersionResult(
org.alfresco.repo.webservice.types.Reference[] nodes,
org.alfresco.repo.webservice.types.Version[] versions) {
this.nodes = nodes;
this.versions = versions;
}
/**
* Gets the nodes value for this VersionResult.
*
* @return nodes
*/
public org.alfresco.repo.webservice.types.Reference[] getNodes() {
return nodes;
}
/**
* Sets the nodes value for this VersionResult.
*
* @param nodes
*/
public void setNodes(org.alfresco.repo.webservice.types.Reference[] nodes) {
this.nodes = nodes;
}
public org.alfresco.repo.webservice.types.Reference getNodes(int i) {
return this.nodes[i];
}
public void setNodes(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.nodes[i] = _value;
}
/**
* Gets the versions value for this VersionResult.
*
* @return versions
*/
public org.alfresco.repo.webservice.types.Version[] getVersions() {
return versions;
}
/**
* Sets the versions value for this VersionResult.
*
* @param versions
*/
public void setVersions(org.alfresco.repo.webservice.types.Version[] versions) {
this.versions = versions;
}
public org.alfresco.repo.webservice.types.Version getVersions(int i) {
return this.versions[i];
}
public void setVersions(int i, org.alfresco.repo.webservice.types.Version _value) {
this.versions[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof VersionResult)) return false;
VersionResult other = (VersionResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.nodes==null && other.getNodes()==null) ||
(this.nodes!=null &&
java.util.Arrays.equals(this.nodes, other.getNodes()))) &&
((this.versions==null && other.getVersions()==null) ||
(this.versions!=null &&
java.util.Arrays.equals(this.versions, other.getVersions())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNodes() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getNodes());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getNodes(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getVersions() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getVersions());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getVersions(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(VersionResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "VersionResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("nodes");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "nodes"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("versions");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "versions"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Version"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,387 @@
<!-- Use this file to deploy some handlers/chains and services -->
<!-- Two ways to do this: -->
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
<!-- after the axis server is running -->
<!-- or -->
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
<!-- from the same directory that the Axis engine runs -->
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- Services from AuthoringService WSDL service -->
<service name="AuthoringService" provider="java:RPC" style="wrapped" use="literal">
<parameter name="wsdlTargetNamespace" value="http://www.alfresco.org/ws/service/authoring/1.0"/>
<parameter name="wsdlServiceElement" value="AuthoringService"/>
<parameter name="schemaQualified" value="http://www.alfresco.org/ws/service/authoring/1.0,http://www.alfresco.org/ws/model/content/1.0"/>
<parameter name="wsdlServicePort" value="AuthoringService"/>
<parameter name="className" value="org.alfresco.repo.webservice.authoring.AuthoringServiceSoapBindingImpl"/>
<parameter name="wsdlPortType" value="AuthoringServiceSoapPort"/>
<parameter name="typeMappingVersion" value="1.2"/>
<operation name="checkout" qname="operNS:checkout" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:checkoutReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:CheckoutResult" xmlns:rtns="http://www.alfresco.org/ws/service/authoring/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/checkout" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:destination" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:ParentReference" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="checkin" qname="operNS:checkin" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:checkinReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:CheckinResult" xmlns:rtns="http://www.alfresco.org/ws/service/authoring/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/checkin" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:comments" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:NamedValue" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:keepCheckedOut" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="checkinExternal" qname="operNS:checkinExternal" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:checkinExternalReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:Reference" xmlns:rtns="http://www.alfresco.org/ws/model/content/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/checkinExternal" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Reference" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:comments" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:NamedValue" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:keepCheckedOut" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<parameter qname="pns:format" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:ContentFormat" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:content" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:base64Binary" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="cancelCheckout" qname="operNS:cancelCheckout" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:cancelCheckoutReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:CancelCheckoutResult" xmlns:rtns="http://www.alfresco.org/ws/service/authoring/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/cancelCheckout" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="lock" qname="operNS:lock" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:lockReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:Reference" xmlns:rtns="http://www.alfresco.org/ws/model/content/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/lock" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:lockChildren" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<parameter qname="pns:lockType" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:LockTypeEnum" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="unlock" qname="operNS:unlock" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:unlockReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:Reference" xmlns:rtns="http://www.alfresco.org/ws/model/content/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/unlock" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:unlockChildren" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="getLockStatus" qname="operNS:getLockStatus" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:getLockStatusReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:LockStatus" xmlns:rtns="http://www.alfresco.org/ws/service/authoring/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/getLockStatus" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="createVersion" qname="operNS:createVersion" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:createVersionReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:VersionResult" xmlns:rtns="http://www.alfresco.org/ws/service/authoring/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/createVersion" >
<parameter qname="pns:items" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Predicate" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:comments" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:NamedValue" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:versionChildren" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="getVersionHistory" qname="operNS:getVersionHistory" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:getVersionHistoryReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:VersionHistory" xmlns:rtns="http://www.alfresco.org/ws/model/content/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/getVersionHistory" >
<parameter qname="pns:node" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Reference" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="revertVersion" qname="operNS:revertVersion" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/revertVersion" >
<parameter qname="pns:node" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Reference" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<parameter qname="pns:versionLabel" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<operation name="deleteAllVersions" qname="operNS:deleteAllVersions" xmlns:operNS="http://www.alfresco.org/ws/service/authoring/1.0" returnQName="retNS:deleteAllVersionsReturn" xmlns:retNS="http://www.alfresco.org/ws/service/authoring/1.0" returnType="rtns:VersionHistory" xmlns:rtns="http://www.alfresco.org/ws/model/content/1.0" soapAction="http://www.alfresco.org/ws/service/authoring/1.0/deleteAllVersions" >
<parameter qname="pns:node" xmlns:pns="http://www.alfresco.org/ws/service/authoring/1.0" type="tns:Reference" xmlns:tns="http://www.alfresco.org/ws/model/content/1.0"/>
<fault name="AuthoringFault" qname="fns:AuthoringFault" xmlns:fns="http://www.alfresco.org/ws/service/authoring/1.0" class="org.alfresco.repo.webservice.authoring.AuthoringFault" type="tns:AuthoringFault" xmlns:tns="http://www.alfresco.org/ws/service/authoring/1.0"/>
</operation>
<parameter name="allowedMethods" value="checkinExternal getVersionHistory unlock lock checkout revertVersion deleteAllVersions createVersion getLockStatus checkin cancelCheckout"/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ParentReference"
type="java:org.alfresco.repo.webservice.types.ParentReference"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:QueryLanguageEnum"
type="java:org.alfresco.repo.webservice.types.QueryLanguageEnum"
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Cardinality"
type="java:org.alfresco.repo.webservice.types.Cardinality"
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ClassDefinition"
type="java:org.alfresco.repo.webservice.types.ClassDefinition"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ContentFormat"
type="java:org.alfresco.repo.webservice.types.ContentFormat"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Version"
type="java:org.alfresco.repo.webservice.types.Version"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:LockTypeEnum"
type="java:org.alfresco.repo.webservice.authoring.LockTypeEnum"
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Node"
type="java:org.alfresco.repo.webservice.types.Node"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Predicate"
type="java:org.alfresco.repo.webservice.types.Predicate"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ResultSetRow"
type="java:org.alfresco.repo.webservice.types.ResultSetRow"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Path"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ResultSet"
type="java:org.alfresco.repo.webservice.types.ResultSet"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ResultSetMetaData"
type="java:org.alfresco.repo.webservice.types.ResultSetMetaData"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:LockStatus"
type="java:org.alfresco.repo.webservice.authoring.LockStatus"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:CancelCheckoutResult"
type="java:org.alfresco.repo.webservice.authoring.CancelCheckoutResult"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:VersionResult"
type="java:org.alfresco.repo.webservice.authoring.VersionResult"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:NodeDefinition"
type="java:org.alfresco.repo.webservice.types.NodeDefinition"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Category"
type="java:org.alfresco.repo.webservice.types.Category"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:ValueDefinition"
type="java:org.alfresco.repo.webservice.types.ValueDefinition"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:>ContentFormat>mimetype"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Query"
type="java:org.alfresco.repo.webservice.types.Query"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:AuthoringFault"
type="java:org.alfresco.repo.webservice.authoring.AuthoringFault"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:StoreEnum"
type="java:org.alfresco.repo.webservice.types.StoreEnum"
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Reference"
type="java:org.alfresco.repo.webservice.types.Reference"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:NamedValue"
type="java:org.alfresco.repo.webservice.types.NamedValue"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:UUID"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:CheckinResult"
type="java:org.alfresco.repo.webservice.authoring.CheckinResult"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Name"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:>ResultSetRow>node"
type="java:org.alfresco.repo.webservice.types.ResultSetRowNode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:>ContentFormat>encoding"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/service/authoring/1.0"
qname="ns:CheckoutResult"
type="java:org.alfresco.repo.webservice.authoring.CheckoutResult"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Classification"
type="java:org.alfresco.repo.webservice.types.Classification"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:Store"
type="java:org.alfresco.repo.webservice.types.Store"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:>Store>address"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:AssociationDefinition"
type="java:org.alfresco.repo.webservice.types.AssociationDefinition"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:RoleDefinition"
type="java:org.alfresco.repo.webservice.types.RoleDefinition"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:PropertyDefinition"
type="java:org.alfresco.repo.webservice.types.PropertyDefinition"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
qname="ns:VersionHistory"
type="java:org.alfresco.repo.webservice.types.VersionHistory"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
</service>
</deployment>

View File

@@ -0,0 +1,172 @@
/**
* AppliedCategory.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.classification;
public class AppliedCategory implements java.io.Serializable {
private java.lang.String classification;
private org.alfresco.repo.webservice.types.Reference[] categories;
public AppliedCategory() {
}
public AppliedCategory(
java.lang.String classification,
org.alfresco.repo.webservice.types.Reference[] categories) {
this.classification = classification;
this.categories = categories;
}
/**
* Gets the classification value for this AppliedCategory.
*
* @return classification
*/
public java.lang.String getClassification() {
return classification;
}
/**
* Sets the classification value for this AppliedCategory.
*
* @param classification
*/
public void setClassification(java.lang.String classification) {
this.classification = classification;
}
/**
* Gets the categories value for this AppliedCategory.
*
* @return categories
*/
public org.alfresco.repo.webservice.types.Reference[] getCategories() {
return categories;
}
/**
* Sets the categories value for this AppliedCategory.
*
* @param categories
*/
public void setCategories(org.alfresco.repo.webservice.types.Reference[] categories) {
this.categories = categories;
}
public org.alfresco.repo.webservice.types.Reference getCategories(int i) {
return this.categories[i];
}
public void setCategories(int i, org.alfresco.repo.webservice.types.Reference _value) {
this.categories[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AppliedCategory)) return false;
AppliedCategory other = (AppliedCategory) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.classification==null && other.getClassification()==null) ||
(this.classification!=null &&
this.classification.equals(other.getClassification()))) &&
((this.categories==null && other.getCategories()==null) ||
(this.categories!=null &&
java.util.Arrays.equals(this.categories, other.getCategories())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getClassification() != null) {
_hashCode += getClassification().hashCode();
}
if (getCategories() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCategories());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCategories(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AppliedCategory.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("classification");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "classification"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("categories");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "categories"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,172 @@
/**
* CategoriesResult.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.classification;
public class CategoriesResult implements java.io.Serializable {
private org.alfresco.repo.webservice.types.Reference node;
private org.alfresco.repo.webservice.classification.AppliedCategory[] categories;
public CategoriesResult() {
}
public CategoriesResult(
org.alfresco.repo.webservice.types.Reference node,
org.alfresco.repo.webservice.classification.AppliedCategory[] categories) {
this.node = node;
this.categories = categories;
}
/**
* Gets the node value for this CategoriesResult.
*
* @return node
*/
public org.alfresco.repo.webservice.types.Reference getNode() {
return node;
}
/**
* Sets the node value for this CategoriesResult.
*
* @param node
*/
public void setNode(org.alfresco.repo.webservice.types.Reference node) {
this.node = node;
}
/**
* Gets the categories value for this CategoriesResult.
*
* @return categories
*/
public org.alfresco.repo.webservice.classification.AppliedCategory[] getCategories() {
return categories;
}
/**
* Sets the categories value for this CategoriesResult.
*
* @param categories
*/
public void setCategories(org.alfresco.repo.webservice.classification.AppliedCategory[] categories) {
this.categories = categories;
}
public org.alfresco.repo.webservice.classification.AppliedCategory getCategories(int i) {
return this.categories[i];
}
public void setCategories(int i, org.alfresco.repo.webservice.classification.AppliedCategory _value) {
this.categories[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CategoriesResult)) return false;
CategoriesResult other = (CategoriesResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.node==null && other.getNode()==null) ||
(this.node!=null &&
this.node.equals(other.getNode()))) &&
((this.categories==null && other.getCategories()==null) ||
(this.categories!=null &&
java.util.Arrays.equals(this.categories, other.getCategories())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNode() != null) {
_hashCode += getNode().hashCode();
}
if (getCategories() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getCategories());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getCategories(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CategoriesResult.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("node");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "node"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("categories");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "categories"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}

View File

@@ -0,0 +1,157 @@
/**
* ClassificationFault.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package org.alfresco.repo.webservice.classification;
public class ClassificationFault extends org.apache.axis.AxisFault implements java.io.Serializable {
private int errorCode;
private java.lang.String message1;
public ClassificationFault() {
}
public ClassificationFault(
int errorCode,
java.lang.String message1) {
this.errorCode = errorCode;
this.message1 = message1;
}
/**
* Gets the errorCode value for this ClassificationFault.
*
* @return errorCode
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the errorCode value for this ClassificationFault.
*
* @param errorCode
*/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
* Gets the message1 value for this ClassificationFault.
*
* @return message1
*/
public java.lang.String getMessage1() {
return message1;
}
/**
* Sets the message1 value for this ClassificationFault.
*
* @param message1
*/
public void setMessage1(java.lang.String message1) {
this.message1 = message1;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ClassificationFault)) return false;
ClassificationFault other = (ClassificationFault) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.errorCode == other.getErrorCode() &&
((this.message1==null && other.getMessage1()==null) ||
(this.message1!=null &&
this.message1.equals(other.getMessage1())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getErrorCode();
if (getMessage1() != null) {
_hashCode += getMessage1().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ClassificationFault.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorCode");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "errorCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message1");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/classification/1.0", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}

Some files were not shown because too many files have changed in this diff Show More