Class UsersGroupsController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.UsersGroupsController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class UsersGroupsController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
addOwnedSchemeToGroupPublished
(String projectName, org.eclipse.rdf4j.model.IRI groupIri, org.eclipse.rdf4j.model.IRI scheme) org.springframework.http.HttpEntity<String>
assignGroupToUserPublished
(String projectName, String email, org.eclipse.rdf4j.model.IRI groupIri) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>>
createGroupPublished
(String shortName, String fullName, String description, String webPage, String logoUrl, org.eclipse.rdf4j.model.IRI iri) org.springframework.http.HttpEntity<String>
deleteGroupPublished
(org.eclipse.rdf4j.model.IRI groupIri) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
getGroupPublished
(org.eclipse.rdf4j.model.IRI groupIri) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
getProjectGroupBindingPublished
(String projectName, org.eclipse.rdf4j.model.IRI groupIri) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
org.springframework.http.HttpEntity<String>
removeGroupFromUserPublished
(String projectName, String email) org.springframework.http.HttpEntity<String>
removeOwnedSchemeFromGroupPublished
(String projectName, org.eclipse.rdf4j.model.IRI groupIri, org.eclipse.rdf4j.model.IRI scheme) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setGroupLimitationsToUserPublished
(String projectName, String email, org.eclipse.rdf4j.model.IRI groupIri, boolean limitations) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>>
updateGroupDescriptionPublished
(org.eclipse.rdf4j.model.IRI groupIri, String description) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>>
updateGroupFullNamePublished
(org.eclipse.rdf4j.model.IRI groupIri, String fullName) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>>
updateGroupLogoUrlPublished
(org.eclipse.rdf4j.model.IRI groupIri, String logoUrl) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>>
updateGroupShortNamePublished
(org.eclipse.rdf4j.model.IRI groupIri, String shortName) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>>
updateGroupWebPagePublished
(org.eclipse.rdf4j.model.IRI groupIri, String webPage)
-
Constructor Details
-
UsersGroupsController
public UsersGroupsController()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
updateGroupWebPagePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/updateGroupWebPage", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>> updateGroupWebPagePublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("webPage") String webPage) throws UsersGroupException - Throws:
UsersGroupException
-
createGroupPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/createGroup", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>> createGroupPublished(@RequestParam("shortName") String shortName, @RequestParam(value="fullName",required=false) String fullName, @RequestParam(value="description",required=false) String description, @RequestParam(value="webPage",required=false) String webPage, @RequestParam(value="logoUrl",required=false) String logoUrl, @RequestParam(value="iri",required=false) org.eclipse.rdf4j.model.IRI iri) throws UsersGroupException, ProjectAccessException, ProjectBindingException -
updateGroupLogoUrlPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/updateGroupLogoUrl", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>> updateGroupLogoUrlPublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("logoUrl") String logoUrl) throws UsersGroupException - Throws:
UsersGroupException
-
setGroupLimitationsToUserPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/setGroupLimitationsToUser", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setGroupLimitationsToUserPublished(@RequestParam("projectName") String projectName, @RequestParam("email") String email, @RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("limitations") boolean limitations) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException, UserException -
updateGroupShortNamePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/updateGroupShortName", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>> updateGroupShortNamePublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("shortName") String shortName) throws UsersGroupException - Throws:
UsersGroupException
-
addOwnedSchemeToGroupPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/addOwnedSchemeToGroup", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addOwnedSchemeToGroupPublished(@RequestParam("projectName") String projectName, @RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("scheme") org.eclipse.rdf4j.model.IRI scheme) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException -
assignGroupToUserPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/assignGroupToUser", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> assignGroupToUserPublished(@RequestParam("projectName") String projectName, @RequestParam("email") String email, @RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException, UserException -
getGroupPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/getGroup", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getGroupPublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri) -
listGroupsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/listGroups", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> listGroupsPublished() -
updateGroupFullNamePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/updateGroupFullName", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>> updateGroupFullNamePublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("fullName") String fullName) throws UsersGroupException - Throws:
UsersGroupException
-
updateGroupDescriptionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/updateGroupDescription", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.node.ObjectNode>> updateGroupDescriptionPublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("description") String description) throws UsersGroupException - Throws:
UsersGroupException
-
deleteGroupPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/deleteGroup", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteGroupPublished(@RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri) throws Exception - Throws:
Exception
-
removeGroupFromUserPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/removeGroupFromUser", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeGroupFromUserPublished(@RequestParam("projectName") String projectName, @RequestParam("email") String email) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException, UserException -
removeOwnedSchemeFromGroupPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/removeOwnedSchemeFromGroup", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeOwnedSchemeFromGroupPublished(@RequestParam("projectName") String projectName, @RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri, @RequestParam("scheme") org.eclipse.rdf4j.model.IRI scheme) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException -
getProjectGroupBindingPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/UsersGroups/getProjectGroupBinding", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getProjectGroupBindingPublished(@RequestParam("projectName") String projectName, @RequestParam("groupIri") org.eclipse.rdf4j.model.IRI groupIri) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException
-