Fixing javadoc

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146242 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-03-21 14:12:07 +00:00
parent f1987ca718
commit 6cdc2af21f
1 changed files with 24 additions and 15 deletions

View File

@ -47,14 +47,14 @@ public class ERManager {
/* Facets Methods */ /* Facets Methods */
/** /**
* e.g. PUT /resource-registry/entity/facet/ContactFacet * e.g. PUT /resource-registry/er/facet/ContactFacet
* *
* BODY: {...} * BODY: {...}
* *
* @param type * @param type
* @param definition * @param definition
* @return * @return
* @throws EntityException * @throws FacetAlreadyPresentException
* @throws ResourceRegistryException * @throws ResourceRegistryException
*/ */
@PUT @PUT
@ -72,7 +72,7 @@ public class ERManager {
} }
/** /**
* e.g. POST /resource-registry/entity/facet/4023d5b2-8601-47a5- * e.g. POST /resource-registry/er/facet/4023d5b2-8601-47a5-
* 83ef-49ffcbfc7d86 * 83ef-49ffcbfc7d86
* *
* BODY: {...} * BODY: {...}
@ -98,7 +98,7 @@ public class ERManager {
/** /**
* e.g. DELETE * e.g. DELETE
* /resource-registry/entity/facet/4023d5b2-8601-47a5-83ef-49ffcbfc7d86 * /resource-registry/er/facet/4023d5b2-8601-47a5-83ef-49ffcbfc7d86
* *
* @param uuid * @param uuid
* @return * @return
@ -118,14 +118,14 @@ public class ERManager {
/* Resources Methods */ /* Resources Methods */
/** /**
* e.g. PUT /resource-registry/entity/resource/HostingNode * e.g. PUT /resource-registry/er/resource/HostingNode
* *
* BODY: {...} * BODY: {...}
* *
* @param type * @param type
* @param definition * @param definition
* @return * @return
* @throws FacetNotFoundException * @throws ResourceAlreadyPresentException
* @throws ResourceRegistryException * @throws ResourceRegistryException
*/ */
@PUT @PUT
@ -142,6 +142,15 @@ public class ERManager {
return resourceManagement.create(); return resourceManagement.create();
} }
/**
* e.g. POST /resource-registry/er/resource/67062c11-9c3a-4906-870d-7df6a43408b0
*
* @param uuid
* @param json
* @return
* @throws ResourceNotFoundException
* @throws ResourceRegistryException
*/
@POST @POST
@Path(ERPath.RESOURCE_PATH_PART + "/{" + ID_PATH_PARAM + "}") @Path(ERPath.RESOURCE_PATH_PART + "/{" + ID_PATH_PARAM + "}")
@Consumes({ MediaType.TEXT_PLAIN, MediaType.APPLICATION_JSON }) @Consumes({ MediaType.TEXT_PLAIN, MediaType.APPLICATION_JSON })
@ -158,7 +167,7 @@ public class ERManager {
/** /**
* e.g. DELETE * e.g. DELETE
* /resource-registry/entity/resource/67062c11-9c3a-4906-870d-7df6a43408b0 * /resource-registry/er/resource/67062c11-9c3a-4906-870d-7df6a43408b0
* *
* @param uuid * @param uuid
* @return * @return
@ -179,7 +188,7 @@ public class ERManager {
/** /**
* e.g. PUT * e.g. PUT
* /resource-registry/entity/consistOf/source/bbf80a93-2284-424a-930c- * /resource-registry/er/consistsOf/source/bbf80a93-2284-424a-930c-
* 7ee20021aee1/target/f6931232-c034-4979-9b2f-7193d3fba7df/hasCreator * 7ee20021aee1/target/f6931232-c034-4979-9b2f-7193d3fba7df/hasCreator
* *
* BODY: {} * BODY: {}
@ -216,7 +225,7 @@ public class ERManager {
} }
/** /**
* e.g. DELETE /resource-registry/entity/consistOf/9bff49c8-c0a7-45de-827c- * e.g. DELETE /resource-registry/er/consistOf/9bff49c8-c0a7-45de-827c-
* accb71defbd3 * accb71defbd3
* *
* @param consistOfUUID * @param consistOfUUID
@ -235,7 +244,7 @@ public class ERManager {
/** /**
* e.g. PUT * e.g. PUT
* /resource-registry/entity/relatedTo/source/4a81008a-6300-4a32-857f * /resource-registry/er/isRelatedTo/source/4a81008a-6300-4a32-857f
* -cebe3f7b2925/target/985f7cf9-b6fa-463b-86c8-84ab0a77deea/callsFor * -cebe3f7b2925/target/985f7cf9-b6fa-463b-86c8-84ab0a77deea/callsFor
* *
* BODY: {...} * BODY: {...}
@ -277,7 +286,7 @@ public class ERManager {
/** /**
* e.g. DELETE * e.g. DELETE
* /resource-registry/entity/relatedTo/b3982715-a7aa-4530-9a5f-2f60008d256e * /resource-registry/er/isRelatedTo/b3982715-a7aa-4530-9a5f-2f60008d256e
* *
* @param relatedToUUID * @param relatedToUUID
* @return * @return
@ -295,7 +304,7 @@ public class ERManager {
/** /**
* e.g POST * e.g POST
* /resource-registry/add/resource/67062c11-9c3a-4906-870d-7df6a43408b0 * /resource-registry/er/add/resource/67062c11-9c3a-4906-870d-7df6a43408b0
* *
* @param uuid * @param uuid
* @return * @return
@ -318,7 +327,7 @@ public class ERManager {
/** /**
* e.g POST * e.g POST
* /resource-registry/add/facet/f6931232-c034-4979-9b2f-7193d3fba7df * /resource-registry/er/add/facet/f6931232-c034-4979-9b2f-7193d3fba7df
* *
* @param uuid * @param uuid
* @return * @return
@ -341,7 +350,7 @@ public class ERManager {
/** /**
* e.g POST * e.g POST
* /resource-registry/remove/resource/67062c11-9c3a-4906-870d-7df6a43408b0 * /resource-registry/er/remove/resource/67062c11-9c3a-4906-870d-7df6a43408b0
* *
* @param uuid * @param uuid
* @return * @return
@ -364,7 +373,7 @@ public class ERManager {
/** /**
* e.g POST * e.g POST
* /resource-registry/remove/facet/f6931232-c034-4979-9b2f-7193d3fba7df * /resource-registry/er/remove/facet/f6931232-c034-4979-9b2f-7193d3fba7df
* *
* @param uuid * @param uuid
* @return * @return