Remove trunk directory

This commit is contained in:
Paulo Gustavo Veiga
2009-11-06 23:30:29 -02:00
parent 2494133fed
commit 75470a91fd
715 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.wisemapping.model.Colaborator" table="COLABORATOR">
<id name="id">
<generator class="increment"/>
</id>
<property name="email"/>
<property name="creationDate" column="creation_date"/>
<set name="mindmapUsers"
cascade="all, delete-orphan"
inverse="true">
<key column="COLABORATOR_ID" not-null="true"/>
<one-to-many class="com.wisemapping.model.MindmapUser"/>
</set>
<joined-subclass name="com.wisemapping.model.User" table="USER">
<key column="COLABORATOR_ID"/>
<property name="username" not-null="true"/>
<property name="firstname"/>
<property name="lastname"/>
<property name="password"/>
<property name="activationDate" column="activation_date"/>
<property name="activationCode"/>
<property name="allowSendEmail"/>
<set name="tags" table="TAG">
<key column="user_id"/>
<element column="name" type="string"/>
</set>
</joined-subclass>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.wisemapping.model.MindMap" table="MINDMAP">
<id name="id">
<generator class="increment"/>
</id>
<property name="title"/>
<property name="public"/>
<property name="description"/>
<property name="xml" column="XML"/>
<property name="lastModifierUser" column="last_editor"/>
<property name="lastModificationTime" column="edition_date"/>
<property name="creationTime" column="creation_date"/>
<property name="creator" column="creator_user"/>
<property name="tags" column="tags"/>
<property name="properties" column="editor_properties"/>
<many-to-one name="owner" column="owner_id" unique="true" not-null="true"/>
<many-to-one name="nativeBrowser" column="mindMapNative_id" unique="true" not-null="true"/>
<set name="mindmapUsers"
cascade="all, delete-orphan"
inverse="true">
<key column="MINDMAP_ID" not-null="true"/>
<one-to-many class="com.wisemapping.model.MindmapUser"/>
</set>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.wisemapping.model.MindMapHistory" table="MINDMAP_HISTORY">
<id name="id">
<generator class="increment"/>
</id>
<property name="mindmapId" column="mindmap_id"/>
<property name="xml" column="XML"/>
<property name="creationTime" column="creation_date"/>
<property name="creator" column="creator_user"/>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.wisemapping.model.MindMapNative" table="MINDMAP_NATIVE">
<id name="id">
<generator class="increment"/>
</id>
<property name="svgXml" type="binary">
<column name="SVG_XML" sql-type="blob"/>
</property>
<property name="vmlXml" type="binary">
<column name="VML_XML" sql-type="blob"/>
</property>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.wisemapping.model.MindmapUser" table="MINDMAP_COLABORATOR">
<id name="id">
<generator class="increment"/>
</id>
<property name="roleId" column="ROLE_ID" unique="true" not-null="true"/>
<!-- Read-only association property -->
<many-to-one name="mindMap"
column="MINDMAP_ID"
not-null="true"
class="com.wisemapping.model.MindMap"
/>
<many-to-one name="colaborator"
column="COLABORATOR_ID"
not-null="true"
class="com.wisemapping.model.Colaborator"
/>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.wisemapping.model.UserLogin" table="USER_LOGIN">
<id name="id">
<generator class="increment"/>
</id>
<property name="loginDate" column="login_Date"/>
<property name="email"/>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.wisemapping.org/mindmap"
xmlns="http://www.wisemapping.org/mindmap">
<xsd:element name="map" type="mapType"/>
<xsd:complexType name="mapType">
<xsd:sequence>
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
<xsd:element name="topic" type="topicType"/>
<xsd:complexType name="topicType">
<xsd:sequence>
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
</xsd:sequence>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="shape" type="xsd:string"/>
<xsd:attribute name="fontStyle" type="xsd:string"/>
<xsd:attribute name="bgColor" type="xsd:string"/>
<xsd:attribute name="brColor" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:int"/>
<xsd:attribute name="position" type="xsd:string"/>
<xsd:attribute name="central" type="xsd:boolean"/>
</xsd:complexType>
<xsd:complexType name="icon">
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="link">
<xsd:attribute name="url" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="note">
<xsd:attribute name="text" type="xsd:string"/>
</xsd:complexType>
</xsd:schema>

View File

@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:sch="http://www.wisemapping.org/ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.wisemapping.org/ws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.wisemapping.org/ws">
<wsdl:types>
<xsd:schema xmlns:wm="http://www.wisemapping.org/mindmap" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="http://www.wisemapping.org/ws">
<xsd:import namespace="http://www.wisemapping.org/mindmap" schemaLocation="mindmap.xsd"/>
<xsd:element name="loadMindmapRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="mapdId" type="xsd:long"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="loadMindmapResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="creator" type="xsd:string"/>
<xsd:element ref="wm:map"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="addMindmapRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="creator" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="description" type="xsd:string"/>
<xsd:element ref="wm:map"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="addMindmapResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="mapId" type="xsd:long"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="loadMindmapResponse">
<wsdl:part element="tns:loadMindmapResponse" name="loadMindmapResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="addMindmapRequest">
<wsdl:part element="tns:addMindmapRequest" name="addMindmapRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="loadMindmapRequest">
<wsdl:part element="tns:loadMindmapRequest" name="loadMindmapRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="addMindmapResponse">
<wsdl:part element="tns:addMindmapResponse" name="addMindmapResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="WiseServicesPortType">
<wsdl:operation name="loadMindmap">
<wsdl:input message="tns:loadMindmapRequest" name="loadMindmapRequest">
</wsdl:input>
<wsdl:output message="tns:loadMindmapResponse" name="loadMindmapResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addMindmap">
<wsdl:input message="tns:addMindmapRequest" name="addMindmapRequest">
</wsdl:input>
<wsdl:output message="tns:addMindmapResponse" name="addMindmapResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WiseServicesPortTypeSoap11" type="tns:WiseServicesPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="loadMindmap">
<soap:operation soapAction=""/>
<wsdl:input name="loadMindmapRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="loadMindmapResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addMindmap">
<soap:operation soapAction=""/>
<wsdl:input name="addMindmapRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addMindmapResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WiseServicesPortTypeService">
<wsdl:port binding="tns:WiseServicesPortTypeSoap11" name="WiseServicesPortTypeSoap11">
<soap:address location="http://localhost:8080/wise-webapp/ws/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>