|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uka.cmtm.serviceregistry.publish.uddi.UddiUtils
public class UddiUtils
Some utility methods to encapsulate UDDI calls
| Constructor Summary | |
|---|---|
UddiUtils(UDDIProxy uddiProxy)
Create new UddiUtils for querying only |
|
UddiUtils(UDDIProxy uddiProxy,
AuthToken authToken)
Create new UddiUtils for querying and publishing |
|
| Method Summary | |
|---|---|
List<BusinessInfo> |
findBusinesses(String name,
int maxNumber)
Find all businesses with a name starting with the contents of the name parameter |
List<ServiceInfo> |
findServices(String businessKey,
CategoryBag categoryBag,
int maxNumber)
Find all services belonging to a business with the given key and containing all references from the given CategoryBag. |
TModel |
findTModel(String name,
CategoryBag categoryBag)
Search for a tModel with the given name and CategoryBag |
AuthToken |
getAuthToken()
|
BusinessEntity |
getBusinessEntity(String businessKey)
Retrieve the BusinessEntity with the given key |
BusinessService |
getBusinessService(String serviceKey)
Retrieve the BusinessService with the given key |
TModel |
getTModel(String tModelKey)
Retrieve the TModel with the given key |
BindingTemplate |
publishBindingTemplate(AccessPoint accessPoint,
String serviceKey,
TModelInstanceDetails tModelInstanceDetails)
Publish a new BindingTemplate with the given parameters. |
BusinessEntity |
publishBusiness(String name,
String description)
Publish the business with given name and description and return it. |
BusinessService |
publishService(String name,
String description,
String businessKey,
CategoryBag categoryBag)
Publish a new BusinessService with the given parameters |
TModel |
publishTModel(String name,
String description,
String overviewUrl,
CategoryBag categoryBag)
Publish the tModel with given name, description overview URL and category bag and return it. |
void |
setAuthToken(AuthToken authToken)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UddiUtils(UDDIProxy uddiProxy)
uddiProxy - the UDDIProxy to be used
public UddiUtils(UDDIProxy uddiProxy,
AuthToken authToken)
uddiProxy - the UDDIProxy to be usedauthToken - the AuthToken to be used| Method Detail |
|---|
public List<BusinessInfo> findBusinesses(String name,
int maxNumber)
throws UDDIException,
TransportException
name - the beginning of the business name to be searchedmaxNumber - the maximum number of results to retrieve
UDDIException
TransportException
public List<ServiceInfo> findServices(String businessKey,
CategoryBag categoryBag,
int maxNumber)
throws UDDIException,
TransportException
businessKey - the key of the businesscategoryBag - the category bag constraintsmaxNumber - the maximum number of results to retrieve
UDDIException
TransportException
public TModel findTModel(String name,
CategoryBag categoryBag)
throws UDDIException,
TransportException
name - the name of the tModelcategoryBag - the category bag constraints
UDDIException
TransportException
public TModel getTModel(String tModelKey)
throws UDDIException,
TransportException
tModelKey - the key
UDDIException
TransportException
public BusinessEntity getBusinessEntity(String businessKey)
throws UDDIException,
TransportException
businessKey - the key
UDDIException
TransportException
public BusinessService getBusinessService(String serviceKey)
throws UDDIException,
TransportException
serviceKey - the key
UDDIException
TransportException
public BusinessEntity publishBusiness(String name,
String description)
throws TransportException,
UDDIException
name - the name of the businessdescription - the description of the business
TransportException
UDDIException
public TModel publishTModel(String name,
String description,
String overviewUrl,
CategoryBag categoryBag)
throws UDDIException,
TransportException
name - the name of the tModeldescription - the description of the tModeloverviewUrl - the overview URL of the tModelcategoryBag - the category bag of the tModel
UDDIException
TransportException
public BindingTemplate publishBindingTemplate(AccessPoint accessPoint,
String serviceKey,
TModelInstanceDetails tModelInstanceDetails)
throws TransportException,
UDDIException
accessPoint - the AccessPoint of the BindingTemplateserviceKey - the key of the servicetModelInstanceDetails - the TModelInstanceDetails
TransportException
UDDIException
public BusinessService publishService(String name,
String description,
String businessKey,
CategoryBag categoryBag)
throws TransportException,
UDDIException
name - the name of the servicedescription - the description of the servicebusinessKey - the key of the businesscategoryBag - the CategoryBag of the service
TransportException
UDDIExceptionpublic AuthToken getAuthToken()
public void setAuthToken(AuthToken authToken)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||