|
||||||||||
| 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 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 |
createEndpoint(EndpointTO endpointTO)
Add a new endpoint in registry. |
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)
|
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 techServiceId,
java.util.List<java.lang.String> categoryIds)
|
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 |
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 |
|---|
java.lang.String createEndpoint(EndpointTO endpointTO)
throws DeploymentException
endpointTO - the endpoint to add
DeploymentException - if an error occurs during endpoint creation
@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
EndpointTO matching the given ID, can be null
DeploymentException - if an error occurs during endpoint retrieval
@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
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)
throws DeploymentException
techServiceId - a tech service IDrequestOptionsTO - sort, pagination and case sensitive parameters
List of all EndpointTO linked to the tech
service matching the given ID, not null, can be empty
DeploymentException - if an error occurs during endpoints retrieval
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 - endpoint to update
DeploymentException - if an error occurs during endpoint update
java.util.List<KeyedRefTO> getCategoriesForEndpoint(java.lang.String endpointId)
throws DeploymentException
DeploymentException
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)
DeploymentException - if at least one of the given id doesn't exist in database
void removeCategories(java.lang.String techServiceId,
java.util.List<java.lang.String> categoryIds)
float 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||