@RolesAllowed(value="users")
public class ClientsManagementREST
extends java.lang.Object
implements org.exoplatform.services.rest.resource.ResourceContainer
ClientsManagementREST class.
| Constructor and Description |
|---|
ClientsManagementREST(ClientService clientService,
org.exoplatform.container.PortalContainer container)
Constructor for ClientsManagementREST.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createClient(Client client)
createClient.
|
javax.ws.rs.core.Response |
deleteClient(java.lang.Long clientId)
deleteClient.
|
javax.ws.rs.core.Response |
getClients()
getClients.
|
javax.ws.rs.core.Response |
updateClient(Client client)
updateClient.
|
public ClientsManagementREST(ClientService clientService, org.exoplatform.container.PortalContainer container)
Constructor for ClientsManagementREST.
clientService - a ClientService object.container - a PortalContainer object.@RolesAllowed(value="users") public javax.ws.rs.core.Response getClients()
getClients.
Response object.@RolesAllowed(value="time-tracking-managers") public javax.ws.rs.core.Response createClient(Client client)
createClient.
client - a Client object.Response object.@RolesAllowed(value="time-tracking-managers") public javax.ws.rs.core.Response updateClient(Client client)
updateClient.
client - a Client object.Response object.@RolesAllowed(value="time-tracking-managers") public javax.ws.rs.core.Response deleteClient(java.lang.Long clientId)
deleteClient.
clientId - a Long object.Response object.Copyright © 2003–2021 eXo Platform SAS. All rights reserved.