| /* |
| * Copyright (c) 1998, 2020 Oracle and/or its affiliates. All rights reserved. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0, |
| * or the Eclipse Distribution License v. 1.0 which is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| */ |
| |
| // Contributors: |
| // Mike Norman - from Proof-of-concept, become production code |
| package org.eclipse.persistence.tools.dbws; |
| |
| //javase imports |
| import java.io.OutputStream; |
| import java.util.List; |
| |
| //Java extension library imports |
| import javax.wsdl.WSDLException; |
| |
| import org.eclipse.persistence.tools.oracleddl.metadata.CompositeDatabaseType; |
| |
| public interface DBWSBuilderHelper { |
| |
| public void buildDbArtifacts(); |
| |
| public void buildOROXProjects(NamingConventionTransformer nct); |
| public void buildOROXProjects(NamingConventionTransformer nct, List<CompositeDatabaseType> types); |
| |
| /** |
| * Builds a list of type instances based on procedure/function arguments. |
| */ |
| public List<CompositeDatabaseType> buildTypesList(List<OperationModel> operations); |
| |
| public void buildSchema(NamingConventionTransformer nct); |
| |
| public void buildSessionsXML(OutputStream dbwsSessionsStream); |
| |
| public void buildDBWSModel(NamingConventionTransformer nct, OutputStream dbwsServiceStream); |
| |
| public void buildProcedureOperation(ProcedureOperationModel procedureOperationModel); |
| |
| public void writeAttachmentSchema(OutputStream swarefStream); |
| |
| public void buildWSDL(OutputStream wsdlStream, NamingConventionTransformer nct) throws WSDLException; |
| |
| public void writeWebXML(OutputStream webXmlStream); |
| |
| /** |
| * Write the (optional) deployment descriptor to the given OutputStream. |
| */ |
| public void writeDeploymentDescriptor(OutputStream deploymentDescriptorStream); |
| |
| public void generateDBWSProvider(OutputStream sourceProviderStream, |
| OutputStream classProviderStream, OutputStream sourceProviderListenerStream, |
| OutputStream classProviderListenerStream); |
| |
| public void writeSchema(OutputStream dbwsSchemaStream); |
| |
| public void writeOROXProjects(OutputStream dbwsOrStream, OutputStream dbwsOxStream); |
| |
| public boolean hasTables(); |
| } |