|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.eng.rdlab.soa3.um.rest.jaxrs.RoleManager
public class RoleManager
This class is a RESTful WS that manages operations on roles
| Constructor Summary | |
|---|---|
RoleManager()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
createRole(RoleJaxbBean rolebean,
com.sun.jersey.api.core.HttpContext context)
Creates role by roleName |
javax.ws.rs.core.Response |
createRole(String organizationName,
RoleJaxbBean roleBean,
com.sun.jersey.api.core.HttpContext context)
Creates role by roleName and organizationName |
String |
getRoles(com.sun.jersey.api.core.HttpContext context)
Gets all roles |
String |
getRoles(String organizationName,
com.sun.jersey.api.core.HttpContext context)
Gets all roles by organizationName |
String |
getRolesOfUser(String username,
com.sun.jersey.api.core.HttpContext context)
Gets roles of user by userName |
String |
getRolesOfUser(String username,
String organizationName,
com.sun.jersey.api.core.HttpContext context)
Gets roles of user by userName and organizationName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoleManager()
throws Exception
Exception| Method Detail |
|---|
public javax.ws.rs.core.Response createRole(String organizationName,
RoleJaxbBean roleBean,
@Context
com.sun.jersey.api.core.HttpContext context)
roleBean - RoleJaxbBeanorganizationName - String
javax.ws.rs.WebApplicationException
public javax.ws.rs.core.Response createRole(RoleJaxbBean rolebean,
@Context
com.sun.jersey.api.core.HttpContext context)
roleBean - RoleJaxbBean
javax.ws.rs.WebApplicationException
public String getRoles(String organizationName,
@Context
com.sun.jersey.api.core.HttpContext context)
organizationName - String
WebApplicationException,JsonGenerationException,UMJSONParserException,IOException
public String getRoles(@Context
com.sun.jersey.api.core.HttpContext context)
WebApplicationException,JsonGenerationException,UMJSONParserException,IOException
public String getRolesOfUser(String username,
String organizationName,
@Context
com.sun.jersey.api.core.HttpContext context)
userName - StringorganizationName - String
WebApplicationException,JsonGenerationException,UMJSONParserException,IOException
public String getRolesOfUser(String username,
@Context
com.sun.jersey.api.core.HttpContext context)
userName - String
WebApplicationException,JsonGenerationException,UMJSONParserException,IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||