⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uddiproxy.java

📁 可以实现UDDI
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
     *         structure returned will contain an empty businessServices structure.
     * @exception UDDIException
     * @exception TransportException
     * @deprecated This method has been deprecated. Use
     * {@link #find_service(String, Vector, CategoryBag, TModelBag, FindQualifiers, int)} instead
     *
     */
    public ServiceList find_service(String businessKey, String name, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
    {
        Vector names = new Vector();
        names.addElement(new Name(name));
        return find_service(businessKey, names, null, null, findQualifiers, maxRows);
    }

    /**
     * This function returns a serviceList on success.  In the event that no
     * matches were located for the specified criteria, the serviceList
     * structure returned will contain an empty businessServices structure.
     *
     * @param businessKey
     *                used to specify a particular  BusinessEntity instance.
     * @param categoryBag
     *                This is a list of category references.  The returned serviceList contains
     *                businessInfo structures matching all of the categories passed (logical AND).
     * @param findQualifiers
     *                used to alter the default behavior of search functionality.
     * @param maxRows allows the requesting program to limit the number of results returned.
     * @return This function returns a serviceList on success.  In the event that no
     *         matches were located for the specified criteria, the serviceList
     *         structure returned will contain an empty businessServices structure.
     * @exception UDDIException
     * @exception TransportException
     * @deprecated This method has been deprecated. Use
     * {@link #find_service(String, Vector, CategoryBag, TModelBag, FindQualifiers, int)} instead
     */
    public ServiceList find_service(String businessKey, CategoryBag categoryBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException,
            TransportException
    {
        return find_service(businessKey, new Vector(), categoryBag, null, findQualifiers, maxRows);
    }

    /**
     * This function returns a serviceList on success.  In the event that no
     * matches were located for the specified criteria, the serviceList
     * structure returned will contain an empty businessServices structure.
     *
     * @param businessKey
     *                This uuid_key is used to specify a particular  BusinessEntity instance.
     * @param tModelBag
     * @param findQualifiers
     *                used to alter the default behavior of search functionality.
     * @param maxRows allows the requesting program to limit the number of results returned.
     * @return This function returns a serviceList on success.  In the event that no
     *         matches were located for the specified criteria, the serviceList
     *         structure returned will contain an empty businessServices structure.
     * @exception UDDIException
     * @exception TransportException
     * @deprecated This method has been deprecated. Use
     * {@link #find_service(String, Vector, CategoryBag, TModelBag, FindQualifiers, int)} instead
     */
    public ServiceList find_service(String businessKey, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException,
            TransportException
    {
        return find_service(businessKey, new Vector(), null, tModelBag, findQualifiers, maxRows);
    }

    /**
     * This function returns a serviceList on success.  In the event that no
     * matches were located for the specified criteria, the serviceList
     * structure returned will contain an empty businessServices structure.
     *
     * @param businessKey
     *                 This optional uuid_key is used to specify a particular
     *                 BusinessEntity instance. This argument may be used to
     *                 specify an existing businessEntity in the registry or
     *                 may be specified as null or "" (empty string) to indicate
     *                 that all businessEntities are to be searched.
     * @param names    This optional Vector of Name objects represents one or more partial names qualified
     *                 with xml:lang attributes.  Any businessService data contained in the specified
     *                 businessEntity with a matching partial name value gets returned. A wildcard character %
     *                 may be used to signify any number of any characters.  Up to 5 name values may be
     *                 specified.  If multiple name values are passed, the match occurs on a logical OR basis
     *                 within any names supplied (e.g. any match on name/language pairs will cause a
     *                 registered service to be included in the final result set).
     * @param categoryBag
     *               : This is a list of category references.  The returned serviceList contains
     *                 businessInfo structures matching all of the categories passed (logical AND by
     *                 default).
     * @param tModelBag
     *                 This is a list of tModel uuid_key values that represent the technical fingerprint of
     *                 a bindingTemplate structure to find. Version 2.0 defines a  way  to  associate
     *                 businessService structures with more than one businessEntity. All bindingTemplate
     *                 structures within any businessService associated with the businessEntity specified by
     *                 the businessKey argument will be searched.  If more than one tModel key is specified
     *                 in this structure, only businessService structures that contain bindingTemplate
     *                 structures with fingerprint information that matches all of the tModel keys specified
     *                 will be returned (logical AND only).
     * @param findQualifiers
     *                 used to alter the default behavior of search functionality.
     * @param maxRows  allows the requesting program to limit the number of results returned.
     * @return         This function returns a serviceList on success.  In the event that no
     *                 matches were located for the specified criteria, the serviceList
     *                 structure returned will contain an empty businessServices structure.
     * @exception UDDIException
     * @exception TransportException
     */
    public ServiceList find_service(String businessKey, Vector names, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
            throws UDDIException, TransportException
    {
        FindService request = new FindService();
        request.setBusinessKey(businessKey);
        request.setNameVector(names);
        request.setCategoryBag(categoryBag);
        request.setTModelBag(tModelBag);
        request.setFindQualifiers(findQualifiers);
        if (maxRows > 0)
            request.setMaxRows(maxRows);
        return new ServiceList(send(request, true));
    }

    /**
     * This find_tModel message is for locating a list of tModel entries
     * that match a set of specific criteria. The response will be a list
     * of abbreviated information about tModels that match the criteria (tModelList).
     *
     * @param name    This string value  represents a partial name.  The returned tModelList
     *                contains tModelInfo structures for businesses whose name matches the
     *                value passed (leftmost match).
     * @param findQualifiers
     *                used to alter the default behavior of search functionality.
     * @param maxRows allows the requesting program to limit the number of results returned.
     * @return This function returns a tModelList on success.  In the event that no
     *         matches were located for the specified criteria, an empty tModelList
     *         object will be returned (e.g. will contain zero tModelInfo objects).
     *         This signifies zero matches
     * @exception UDDIException
     * @exception TransportException
     * @deprecated This method has been deprecated. Use
     * {@link #find_tModel(String, CategoryBag, IdentifierBag, FindQualifiers, int)} instead
     */
    public TModelList find_tModel(String name, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
    {
        return find_tModel(name, null, null, findQualifiers, maxRows);
    }

    /**
     * This find_tModel message is for locating a list of tModel entries
     * that match a set of specific criteria. The response will be a list
     * of abbreviated information about tModels that match the criteria (tModelList).
     *
     * @param categoryBag
     *                This is a list of category references.  The returned tModelList contains
     *                tModelInfo structures matching all of the categories passed (logical AND).
     * @param findQualifiers
     *                used to alter the default behavior of search functionality.
     * @param maxRows allows the requesting program to limit the number of results returned.
     * @return This function returns a tModelList on success.  In the event that no
     *         matches were located for the specified criteria, an empty tModelList
     *         object will be returned (e.g. will contain zero tModelInfo objects).
     *         This signifies zero matches
     * @exception UDDIException
     * @exception TransportException
     * @deprecated This method has been deprecated. Use
     * {@link #find_tModel(String, CategoryBag, IdentifierBag, FindQualifiers, int)} instead
     */
    public TModelList find_tModel(CategoryBag categoryBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
    {
        return find_tModel(null, categoryBag, null, findQualifiers, maxRows);
    }

    /**
     * This find_tModel message is for locating a list of tModel entries
     * that match a set of specific criteria. The response will be a list
     * of abbreviated information about tModels that match the criteria (tModelList).
     *
     * @param identifierBag
     *                This is a list of business identifier references. The returned tModelList
     *                contains tModelInfo structures matching any of the identifiers
     *                passed (logical OR).
     * @param findQualifiers
     *                used to alter the default behavior of search functionality.
     * @param maxRows allows the requesting program to limit the number of results returned.
     * @return This function returns a tModelList on success.  In the event that no
     *         matches were located for the specified criteria, an empty tModelList
     *         object will be returned (e.g. will contain zero tModelInfo objects).
     *         This signifies zero matches.
     * @exception UDDIException
     * @exception TransportException
     * @deprecated This method has been deprecated. Use
     * {@link #find_tModel(String, CategoryBag, IdentifierBag, FindQualifiers, int)} instead
     */
    public TModelList find_tModel(IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
    {
        return find_tModel(null, null, identifierBag, findQualifiers, maxRows);
    }

    /**
     * This find_tModel message is for locating a list of tModel entries
     * that match a set of specific criteria. The response will be a list
     * of abbreviated information about tModels that match the criteria (tModelList).
     *
     * @param name    This string value  represents a partial name.  Since tModel data only has a single name,
     *                only a single name may be passed.  A wildcard character % may be used to signify any
     *                number of any characters. The returned tModelList contains tModelInfo elements for
     *                tModels whose name matches the value passed (via lexical-order - i.e., leftmost in
     *                left-to-right languages - partial match or wild card treatment).
     *
     * @param categoryBag
     *                This is a list of category references.  The returned tModelList contains tModelInfo
     *                elements matching all of the categories passed (logical AND by default).  FindQualifier
     *                can be used to alter this logical AND behavior.
     * @param identifierBag
     *                This is a list of business identifier references. The returned tModelList
     *                contains tModelInfo structures matching any of the identifiers
     *                passed (logical OR).
     * @param findQualifiers
     *                used to alter the default behavior of search functionality.
     * @param maxRows allows the requesting program to limit the number of results returned.
     * @return This function returns a tModelList on success.  In the event that no
     *         matches were located for the specified criteria, an empty tModelList
     *         object will be returned (e.g. will contain zero tModelInfo objects).
     *         This signifies zero matches.
     * @exception UDDIException
     * @exception TransportException
     */
    public TModelList find_tModel(String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows)
            throws UDDIException, TransportException
    {
        FindTModel request = new FindTModel();
        request.setName(name);
        request.setCategoryBag(categoryBag);
        request.setIdentifierBag(identifierBag);
        request.setFindQualifiers(findQualifiers);
        if (maxRows > 0)
            request.setMaxRows(maxRows);
        return new TModelList(send(request, true));
    }

    /**
     * The get_bindingDetail message is for requesting the run-time
     * bindingTemplate information location information for the purpose of
     * invoking a registered business API.
     *
     * @param bindingKey uuid_key string that represent specific instance
     *                   of known bindingTemplate data.
     * @return This function returns a bindingDetail message on successful match
     * @exception UDDIException
     * @exception TransportException
     */
    public BindingDetail get_bindingDetail(String bindingKey) throws UDDIException, TransportException
    {
        GetBindingDetail request = new GetBindingDetail();
        Vector keys = new Vector();
        keys.addElement(bindingKey);
        request.setBindingKeyStrings(keys);
        return new BindingDetail(send(request, true));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -