📄 uddiproxy.java
字号:
names.addElement(new Name(name));
return find_business(names, null, null, null, null, findQualifiers, maxRows);
}
/**
* The find_business message returns a businessList message that matches
* the conditions specified in the arguments.
*
* @param identifierBag
* This is a list of business identifier references. The returned businessList
* contains businessInfo structures matching any of the identifiers passed
* (logical OR).
* @param findQualifiers
* can be 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 businessList on success. In the event that no
* matches were located for the specified criteria, a businessList
* structure with zero businessInfo structures is returned.
* @exception UDDIException
* @exception TransportException
* @deprecated This method has been deprecated. Use
* {@link #find_business(Vector, DiscoveryURLs, IdentifierBag, CategoryBag, TModelBag,
* FindQualifiers, int)} instead
*/
public BusinessList find_business(IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
{
return find_business(new Vector(), null, identifierBag, null, null, findQualifiers, maxRows);
}
/**
* The find_business message returns a businessList message that matches
* the conditions specified in the arguments.
*
* @param categoryBag
* This is a list of category references. The returned businessList
* contains businessInfo structures matching all of the categories
* passed (logical AND).
* @param findQualifiers
* can be 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 businessList on success. In the event that no
* matches were located for the specified criteria, a businessList
* structure with zero businessInfo structures is returned.
* @exception UDDIException
* @exception TransportException
* @deprecated This method has been deprecated. Use
* {@link #find_business(Vector, DiscoveryURLs, IdentifierBag, CategoryBag, TModelBag,
* FindQualifiers, int)} instead
*/
public BusinessList find_business(CategoryBag categoryBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
{
return find_business(new Vector(), null, null, categoryBag, null, findQualifiers, maxRows);
}
/**
* The find_business message returns a businessList message that matches
* the conditions specified in the arguments.
*
* @param tModelBag
* The registered businessEntity data contains bindingTemplates that in turn
* contain specific tModel references. The tModelBag argument lets you
* search for businesses that have bindings that are compatible with a
* specific tModel pattern. The returned businessList contains businessInfo
* structures that match all of the tModel keys passed (logical AND).
* tModelKey values must be formatted as URN qualified UUID values
* (e.g. prefixed with "uuid:")
* @param findQualifiers
* can be 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 businessList on success. In the event that no
* matches were located for the specified criteria, a businessList
* structure with zero businessInfo structures is returned.
* @exception UDDIException
* @exception TransportException
* @deprecated This method has been deprecated.Use
* {@link #find_business(Vector, DiscoveryURLs, IdentifierBag, CategoryBag, TModelBag,
* FindQualifiers, int)} instead
*/
public BusinessList find_business(TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
{
return find_business(new Vector(), null, null, null, tModelBag, findQualifiers, maxRows);
}
/**
* The find_business message returns a businessList message that matches
* the conditions specified in the arguments.
*
* @param discoveryURLs
* This is a list of URL's to be matched against the data associated
* with the discoveryURL's contents of registered businessEntity information.
* To search for URL without regard to useType attribute values, pass
* the useType component of the discoveryURL elements as empty attributes.
* If useType values are included, then the match will be made only on
* registered information that match both the useType and URL value.
* The returned businessList contains businessInfo structures matching
* any of the URL's passed (logical OR).
* @param findQualifiers
* can be 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 businessList on success. In the event that no
* matches were located for the specified criteria, a businessList
* structure with zero businessInfo structures is returned.
* @exception UDDIException
* @exception TransportException
* @deprecated This method has been deprecated. Use
* {@link #find_business(Vector, DiscoveryURLs, IdentifierBag, CategoryBag, TModelBag,
* FindQualifiers, int)} instead
*/
public BusinessList find_business(DiscoveryURLs discoveryURLs, FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
{
return find_business(new Vector(), discoveryURLs, null, null, null, findQualifiers, maxRows);
}
/**
* The find_business message returns a businessList message that matches
* the conditions specified in the arguments.
*
* @param names vector of Name objects .
* @param discoveryURLs
* This is a list of URL's to be matched against the data associated
* with the discoveryURL's contents of registered businessEntity information.
* To search for URL without regard to useType attribute values, pass
* the useType component of the discoveryURL elements as empty attributes.
* If useType values are included, then the match will be made only on
* registered information that match both the useType and URL value.
* The returned businessList contains businessInfo structures matching
* any of the URL's passed (logical OR).
* @param identifierBag
* This is a list of business identifier references. The returned businessList
* contains businessInfo structures matching any of the identifiers passed
* (logical OR).
* @param categoryBag
* This is a list of category references. The returned businessList
* contains businessInfo structures matching all of the categories
* passed (logical AND).
* @param tModelBag The registered businessEntity data contains bindingTemplates that in turn
* contain specific tModel references. The tModelBag argument lets you
* search for businesses that have bindings that are compatible with a
* specific tModel pattern. The returned businessList contains businessInfo
* structures that match all of the tModel keys passed (logical AND).
* tModelKey values must be formatted as URN qualified UUID values
* (e.g. prefixed with "uuid:")
* @param findQualifiers
* can be 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 businessList on success. In the event that no
* matches were located for the specified criteria, a businessList
* structure with zero businessInfo structures is returned.
* @exception UDDIException
* @exception TransportException
*/
public BusinessList find_business(Vector names, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag,
FindQualifiers findQualifiers, int maxRows) throws UDDIException, TransportException
{
FindBusiness request = new FindBusiness();
request.setNameVector(names);
request.setDiscoveryURLs(discoveryURLs);
request.setIdentifierBag(identifierBag);
request.setCategoryBag(categoryBag);
request.setTModelBag(tModelBag);
request.setFindQualifiers(findQualifiers);
if (maxRows > 0)
request.setMaxRows(maxRows);
return new BusinessList(send(request, true));
}
/**
* The find_relatedBusinesses API call is used to locate information about businessEntity
* registrations that are related to a specific business entity whose key is passed in the
* inquiry. The Related Businesses feature is used to manage registration of business units and
* subsequently relate them based on organizational hierarchies or business partner relationships.
*
* This returns zero or more relatedBusinessInfo structures .For the businessEntity specified in the
* the response reports complete business relationships with other businessEntity
* registrations. Business relationships are complete between two businessEntity registrations when the
* publishers controlling each of the businessEntity structures involved in the relationship set
* assertions affirming that relationship.
*
* @param businessKey
* This is used to specify a particular BusinessEntity instance.
* @param keyedReference
* This is a single, optional keyedReference element that is used to
* specify that only businesses that are related to the focal point
* in a specific way should be included in the results.
* @param findQualifiers
* Can be used to alter the default behavior of search functionality.
* @return This function returns a RelatedBusinessesList on success.
* @exception UDDIException
* @exception TransportException
* @deprecated UDDI version 2, errata 2 added maxrows as a parameter
* to this method. Use
* {@link #find_relatedBusinesses(String, KeyedReference, FindQualifiers, int)} instead
*/
public RelatedBusinessesList find_relatedBusinesses(String businessKey, KeyedReference keyedReference, FindQualifiers findQualifiers) throws UDDIException,
TransportException
{
FindRelatedBusinesses request = new FindRelatedBusinesses();
request.setBusinessKey(businessKey);
request.setKeyedReference(keyedReference);
request.setFindQualifiers(findQualifiers);
return new RelatedBusinessesList(send(request, true));
}
/**
* The find_relatedBusinesses API call is used to locate information about businessEntity
* registrations that are related to a specific business entity whose key is passed in the
* inquiry. The Related Businesses feature is used to manage registration of business units and
* subsequently relate them based on organizational hierarchies or business partner relationships.
*
* This returns zero or more relatedBusinessInfo structures .For the businessEntity specified in the
* the response reports complete business relationships with other businessEntity
* registrations. Business relationships are complete between two businessEntity registrations when the
* publishers controlling each of the businessEntity structures involved in the relationship set
* assertions affirming that relationship.
*
* @param businessKey This is used to specify a particular BusinessEntity instance.
*
* @param keyedReference This is a single, optional keyedReference element that is used to
* specify that only businesses that are related to the focal point
* in a specific way should be included in the results.
* @param findQualifiers
* Can be 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 RelatedBusinessesList on success.
* @exception UDDIException
* @exception TransportException
*/
public RelatedBusinessesList find_relatedBusinesses(String businessKey, KeyedReference keyedReference, FindQualifiers findQualifiers, int maxRows)
throws UDDIException, TransportException
{
FindRelatedBusinesses request = new FindRelatedBusinesses();
request.setBusinessKey(businessKey);
request.setKeyedReference(keyedReference);
request.setFindQualifiers(findQualifiers);
if (maxRows > 0)
request.setMaxRows(maxRows);
return new RelatedBusinessesList(send(request, true));
}
/**
* 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 name Represents a partial name. Any businessService data contained in
* the specified businessEntity with a matching partial name value gets returned.
* @param findQualifiers
* Used to alter the default behavior of search functionality.
* @param maxRows Allows the requesting program to limit the number of results returned.
* A value of 0 indicates no limit.
* @return This function returns a serviceList on success. In the event that no
* matches were located for the specified criteria, the serviceList
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -