mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Update to web repository web service to add association filter. Module management tool can now install AMP from a given directory.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -10,14 +10,14 @@ package org.alfresco.repo.webservice.repository;
|
||||
public class Association implements java.io.Serializable {
|
||||
private java.lang.String associationType;
|
||||
|
||||
private org.alfresco.repo.webservice.repository.AssociationDirectionEnum direction;
|
||||
private java.lang.String direction;
|
||||
|
||||
public Association() {
|
||||
}
|
||||
|
||||
public Association(
|
||||
java.lang.String associationType,
|
||||
org.alfresco.repo.webservice.repository.AssociationDirectionEnum direction) {
|
||||
java.lang.String direction) {
|
||||
this.associationType = associationType;
|
||||
this.direction = direction;
|
||||
}
|
||||
@@ -48,7 +48,7 @@ public class Association implements java.io.Serializable {
|
||||
*
|
||||
* @return direction
|
||||
*/
|
||||
public org.alfresco.repo.webservice.repository.AssociationDirectionEnum getDirection() {
|
||||
public java.lang.String getDirection() {
|
||||
return direction;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ public class Association implements java.io.Serializable {
|
||||
*
|
||||
* @param direction
|
||||
*/
|
||||
public void setDirection(org.alfresco.repo.webservice.repository.AssociationDirectionEnum direction) {
|
||||
public void setDirection(java.lang.String direction) {
|
||||
this.direction = direction;
|
||||
}
|
||||
|
||||
@@ -111,13 +111,13 @@ public class Association implements java.io.Serializable {
|
||||
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.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(false);
|
||||
elemField.setNillable(true);
|
||||
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);
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
|
@@ -1,70 +0,0 @@
|
||||
/**
|
||||
* AssociationDirectionEnum.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package org.alfresco.repo.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;
|
||||
}
|
||||
|
||||
}
|
@@ -39,7 +39,7 @@ public interface RepositoryServiceSoapPort extends java.rmi.Remote {
|
||||
* Executes a query to retrieve associated resources of the specified
|
||||
* resource.
|
||||
*/
|
||||
public org.alfresco.repo.webservice.repository.QueryResult queryAssociated(org.alfresco.repo.webservice.types.Reference node, org.alfresco.repo.webservice.repository.Association[] association) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault;
|
||||
public org.alfresco.repo.webservice.repository.QueryResult queryAssociated(org.alfresco.repo.webservice.types.Reference node, org.alfresco.repo.webservice.repository.Association association) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault;
|
||||
|
||||
/**
|
||||
* Fetches the next batch of query results.
|
||||
|
@@ -201,14 +201,6 @@
|
||||
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||
encodingStyle=""
|
||||
/>
|
||||
<typeMapping
|
||||
xmlns:ns="http://www.alfresco.org/ws/service/repository/1.0"
|
||||
qname="ns:AssociationDirectionEnum"
|
||||
type="java:org.alfresco.repo.webservice.repository.AssociationDirectionEnum"
|
||||
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:>ResultSetRow>node"
|
||||
|
Reference in New Issue
Block a user