public interface IPublisher
Modifier and Type | Interface and Description |
---|---|
static interface |
IPublisher.IAddPolicyToServiceContext
|
static interface |
IPublisher.ICreateBusinessServiceContext
|
static interface |
IPublisher.IGetBusinessServiceCategoriesContext
|
static interface |
IPublisher.IKeyValidationEntry
Interface of
getKeyValidationEntries() . |
Modifier and Type | Method and Description |
---|---|
void |
addPolicyToService(IPublisher.IAddPolicyToServiceContext context)
Publishes a tModel containing the policy information for a service, and updates the service to
reference the policy tModel.
|
IBusinessService |
createBusinessService(IPublisher.ICreateBusinessServiceContext context)
Publishes a service to the UDDI server.
|
java.lang.String |
deleteBusinessService(java.lang.String serviceKey)
Deletes a business service from the UDDI server.
|
java.lang.String |
deleteTModel(java.lang.String tModelKey)
Deletes a
ITModel from the UDDI server. |
void |
disconnect()
This method is called when the plugin should pre-emptively release resources that it is consuming
|
java.util.List<IBusinessEntity> |
findPublishableBusinesses()
Retrieves all
IBusinessEntity s that the user has permission to write to. |
ICategoryBag |
getBusinessServiceCategories(IPublisher.IGetBusinessServiceCategoriesContext context)
Returns a
ICategoryBag of keyed references that are added to a business service when it
is published to the UDDI server. |
IInquiry |
getInquiry()
Returns the
IInquiry . |
ICategoryBag |
getKeyedReferencesForPublish()
Returns
ICategoryBag of keyed references that should be added to the categoryBag
of a service when it is published to the UDDI server. |
java.util.List<IPublisher.IKeyValidationEntry> |
getKeyValidationEntries()
This method returns a list of IKeyValidationEntry which identifies the tModel keys of
KeyedReferences that should be validated.
|
IUDDISettings |
getUDDISettings()
Returns the settings of the plugin.
|
IBindingTemplate |
saveBindingTemplate(IBindingTemplate binding)
Saves a
IBindingTemplate to the UDDI server. |
IBusinessService |
saveBusinessService(IBusinessService service)
Saves a
IBusinessService to the UDDI server. |
ITModel |
saveTModel(ITModel model)
Saves a
ITModel to the UDDI server. |
boolean |
supportsPublishingServices()
Returns true if this plugin supports publishing services to the UDDI server.
|
IUDDISettings getUDDISettings()
boolean supportsPublishingServices()
java.util.List<IBusinessEntity> findPublishableBusinesses() throws java.lang.Exception
IBusinessEntity
s that the user has permission to write to. The user
credentials used are within the the UDDI settings.java.lang.Exception
ITModel saveTModel(ITModel model) throws java.lang.Exception
ITModel
to the UDDI server.model
- The tModel to save.java.lang.Exception
IBusinessService saveBusinessService(IBusinessService service) throws java.lang.Exception
IBusinessService
to the UDDI server.service
- The business service to save.java.lang.Exception
IBindingTemplate saveBindingTemplate(IBindingTemplate binding) throws java.lang.Exception
IBindingTemplate
to the UDDI server.binding
- The binding template to save.java.lang.Exception
java.lang.String deleteTModel(java.lang.String tModelKey) throws java.lang.Exception
ITModel
from the UDDI server.tModelKey
- The key of the TModel to delete.java.lang.Exception
java.lang.String deleteBusinessService(java.lang.String serviceKey) throws java.lang.Exception
serviceKey
- The key of the business service to delete.java.lang.Exception
ICategoryBag getKeyedReferencesForPublish()
ICategoryBag
of keyed references that should be added to the categoryBag
of a service when it is published to the UDDI server.ICategoryBag getBusinessServiceCategories(IPublisher.IGetBusinessServiceCategoriesContext context) throws java.lang.Exception
ICategoryBag
of keyed references that are added to a business service when it
is published to the UDDI server.context
- The context for retrieving the categories.java.lang.Exception
IBusinessService createBusinessService(IPublisher.ICreateBusinessServiceContext context) throws java.lang.Exception
context
- The creation context.java.lang.Exception
java.util.List<IPublisher.IKeyValidationEntry> getKeyValidationEntries()
void addPolicyToService(IPublisher.IAddPolicyToServiceContext context) throws java.lang.Exception
context
- The context.
java.lang.Exception
void disconnect()