|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional public interface EndpointManager
A manager of endpoints. Provides methods to create, retrieve, delete or update endpoints. Method arguments must be non null, unless the contrary is explicitly specified.
| Method Summary | |
|---|---|
void |
addCategory(java.lang.String endpointId,
java.lang.String categoryId,
java.lang.String categoryValueId)
Add a category to the given endpoint. |
void |
addCategory(java.lang.String endpointId,
java.lang.String categoryId,
java.lang.String categoryValue,
java.lang.String categoryDesc)
Add a category to the given endpoint. |
java.lang.String |
addServiceDefFile(org.w3c.dom.Document wsdlDoc,
java.lang.String wsdlFileName,
java.lang.String endpointId,
boolean storeEntities)
|
java.lang.String |
addServiceDefFile(java.net.URI wsdlURI,
java.lang.String wsdlFileName,
java.lang.String endpointId,
boolean storeEntities)
|
java.lang.String |
createEndpoint(java.lang.String epName,
java.lang.String epAddress,
java.lang.String servId)
Add a new endpoint to the registry linked to the specified service |
java.util.List<EndpointTO> |
getAllEndpoints(RequestOptionsTO requestOptionsTO)
Return the list of all endpoints in the registry. |
java.util.List<KeyedRefTO> |
getCategoriesForEndpoint(java.lang.String endpointId)
Return the list of categories related to the endpoint matching the given id |
EndpointTO |
getEndpoint(java.lang.String endpointId,
java.lang.String user)
Retrieve an endpoint matching the given ID |
java.util.List<EndpointTO> |
getEndpointsByBinding(java.lang.String bindingId,
RequestOptionsTO requestOptionsTO)
Return the list of all endpoints linked to the binding matching the given ID. |
java.util.List<EndpointTO> |
getEndpointsByTag(java.lang.String tag)
Get all Endpoints tagged by the String tag. |
java.util.List<EndpointTO> |
getEndpointsByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
Return the list of all endpoints linked to the technical service matching the given ID. |
void |
removeCategories(java.lang.String endpointId,
java.util.List<java.lang.String> categoryIds)
Remove the selected categories linked to a technical service |
void |
removeComment(java.lang.String serviceId,
java.lang.String commentId)
Remove a Comment from the endpoint. |
void |
removeEndpoint(java.lang.String endpointId)
Remove the endpoint matching the given ID from the registry |
void |
removeServiceSpec(java.lang.String endpointId,
java.lang.String serviceSpecificationId)
|
void |
removeTag(java.lang.String tag,
java.lang.String endpointId)
Remove a String tag from the endpoint. |
void |
updateComments(java.lang.String endpointId,
CommentTO comment)
Update the Comments of an Endpoint. |
java.lang.String |
updateEndpoint(EndpointTO endpointTO)
Update the endpoint in the registry. |
float |
updateGlobalRating(java.lang.String endpointId)
Calculate the global rating of a technical service. |
| Method Detail |
|---|
@Transactional(readOnly=true)
java.util.List<EndpointTO> getAllEndpoints(RequestOptionsTO requestOptionsTO)
throws DeploymentException
requestOptionsTO - sort, pagination and case sensitive parameters. Could be null.
List of all EndpointTO in the registry, not
null, can be empty
DeploymentException - if an error occurs during endpoints retrieval
@Transactional(readOnly=true)
EndpointTO getEndpoint(java.lang.String endpointId,
java.lang.String user)
throws DeploymentException
endpointId - an endpoint IDuser - a user login, could be null
EndpointTO matching the given ID, can be null
DeploymentException - if no Endpoint found matching the given id
@Transactional(readOnly=true)
java.util.List<EndpointTO> getEndpointsByBinding(java.lang.String bindingId,
RequestOptionsTO requestOptionsTO)
throws DeploymentException
bindingId - a binding IDrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of all EndpointTO linked to the binding
matching the given ID, not null, can be empty
DeploymentException - if an error occurs during endpoints retrieval
@Transactional(readOnly=true)
java.util.List<EndpointTO> getEndpointsByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
techServiceId - a tech service IDrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of all EndpointTO linked to the tech
service matching the given ID, not null, can be empty
java.lang.String createEndpoint(java.lang.String epName,
java.lang.String epAddress,
java.lang.String servId)
throws DeploymentException
epName - the endpoint nameepAddress - the enpoint network address. Could be null or emptyservId - the parent service id
DeploymentException - if an endpoint already exist with the given name linked to
the given service or the ep name is empty or the service id
is empty or the given service doesn't exist into the registry
void removeEndpoint(java.lang.String endpointId)
throws DeploymentException
endpointId - an endpoint ID
DeploymentException - if an error occurs during endpoint removal
java.lang.String updateEndpoint(EndpointTO endpointTO)
throws DeploymentException
endpointTO - EndpointTO to update
DeploymentException - if no Endpoint found for the given techServ id to
update or if an endpoint already exist with the given name
linked to the given service or the ep name is null or empty
or the service name is null or empty or the given service
doesn't exist into the registry
java.util.List<KeyedRefTO> getCategoriesForEndpoint(java.lang.String endpointId)
throws DeploymentException
endpointId - an Endpoint identifier
KeyedRefTO related to the
endpoint matching the given id
DeploymentException - if no Endpoint found for the given id
void addCategory(java.lang.String endpointId,
java.lang.String categoryId,
java.lang.String categoryValueId)
throws DeploymentException
endpointId - a Endpoint idcategoryId - a Category idcategoryValueId - an identifier of a CategoryValue containing category
info to add.
DeploymentException - if at least one of the given id doesn't exist in database
void addCategory(java.lang.String endpointId,
java.lang.String categoryId,
java.lang.String categoryValue,
java.lang.String categoryDesc)
throws DeploymentException
endpointId - a Endpoint idcategoryId - a Category idcategoryValue - a category value (UDDI: categoryValue)categoryDesc - a category description (UDDI: categoryName), could be null
DeploymentException - if at least one of the given id doesn't exist in database or
if value is null or empty
void removeCategories(java.lang.String endpointId,
java.util.List<java.lang.String> categoryIds)
throws DeploymentException
endpointId - an Endpoint identifiercategoryIds - ids of categories to remove, can be empty
DeploymentException - if no endpoint found for the given id or if no category found
for the given idsfloat updateGlobalRating(java.lang.String endpointId)
endpointId - the id of this endpoint.
void updateComments(java.lang.String endpointId,
CommentTO comment)
endpointId - The endpoint IDcomment - The comment to add to this endpoint.java.util.List<EndpointTO> getEndpointsByTag(java.lang.String tag)
tag - the tag.
void removeTag(java.lang.String tag,
java.lang.String endpointId)
endpointId - The endpoint IDtag - The tag to remove from.
void removeComment(java.lang.String serviceId,
java.lang.String commentId)
endpointId - The endpoint IDcommentId - The comment ID.
void removeServiceSpec(java.lang.String endpointId,
java.lang.String serviceSpecificationId)
throws DeploymentException
DeploymentException
java.lang.String addServiceDefFile(org.w3c.dom.Document wsdlDoc,
java.lang.String wsdlFileName,
java.lang.String endpointId,
boolean storeEntities)
throws DeploymentException,
java.util.concurrent.TimeoutException
DeploymentException
java.util.concurrent.TimeoutException
java.lang.String addServiceDefFile(java.net.URI wsdlURI,
java.lang.String wsdlFileName,
java.lang.String endpointId,
boolean storeEntities)
throws DeploymentException,
java.util.concurrent.TimeoutException
DeploymentException
java.util.concurrent.TimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||