Class AccountService

java.lang.Object
org.europa.together.service.acl.AccountService

@Service @Path("/acl/1/account") public class AccountService extends Object
RESTful Service for Accounts.
Since:
1.0
Version:
1.0
Author:
elmar.dott@gmail.com
  • 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(AccountDO account)
    • createAccount

      @POST @Consumes("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response createAccount(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)