Package org.europa.together.service.acl
Class AccountService
java.lang.Object
org.europa.together.service.acl.AccountService
RESTful Service for Accounts.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- elmar.dott@gmail.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
createAccount
(org.europa.together.domain.acl.AccountDO account) jakarta.ws.rs.core.Response
deactivateAccount
(String accountId) jakarta.ws.rs.core.Response
deleteAccount
(String accountId) jakarta.ws.rs.core.Response
fetchAccount
(String accountId) jakarta.ws.rs.core.Response
fetchAccountsOfRole
(String role) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
fetchAllAccounts
(String accountId) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
fetchLoginsOfAccount
(String accountId) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
updateAccount
(org.europa.together.domain.acl.AccountDO account) jakarta.ws.rs.core.Response
verifyAccount
(String accountId)
-
Constructor Details
-
AccountService
public AccountService()
-
-
Method Details
-
fetchAccount
@GET @Path("/{account}") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchAccount(@PathParam("account") String accountId) -
deactivateAccount
@PUT @Path("/deactivate/{account}") @Consumes("text/plain") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response deactivateAccount(@PathParam("account") String accountId) -
verifyAccount
@PUT @Path("/verify/{account}") @Consumes("text/plain") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response verifyAccount(@PathParam("account") String accountId) -
updateAccount
@PUT @Consumes("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response updateAccount(org.europa.together.domain.acl.AccountDO account) -
createAccount
@POST @Consumes("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response createAccount(org.europa.together.domain.acl.AccountDO account) -
deleteAccount
@DELETE @Path("/{account}") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response deleteAccount(@PathParam("account") String accountId) -
fetchAllAccounts
@GET @Path("/list") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchAllAccounts(@PathParam("account") String accountId) -
fetchNotConfirmedAccount
@GET @Path("/list/not-confirmed") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchNotConfirmedAccount() -
fetchActivatedAccount
@GET @Path("/list/activated") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchActivatedAccount() -
fetchDeactivatedAccount
@GET @Path("/list/deactivated") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchDeactivatedAccount() -
fetchAccountsOfRole
@GET @Path("/list/{role}") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchAccountsOfRole(@PathParam("role") String role) -
fetchLoginsOfAccount
@GET @Path("/list/logins/{account}") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchLoginsOfAccount(@PathParam("account") String accountId)
-