@Test(priority = 1) @RunAsClient public void testCreateCard() throws Exception { Card createdCard = this.cardApi.createCard(testCard); Assert.assertNotNull(createdCard.getId()); Assert.assertEquals(createdCard.getTitle(), testCard.getTitle()); this.testCard = createdCard; }
@WebMethod @Override @RolesAllowed("user") public Card createCard(@WebParam Card card){ return cardService.createCard(card); }
CardSoapApi implements CardApi { @WebMethod @Override @RolesAllowed("user") public Card createCard(@WebParam Card card){ return cardService.createCard(card); } }
CardSoapApi implements CardApi { @WebMethod @Override @RolesAllowed("user") public Card createCard(@WebParam Card card){ return cardService.createCard(card); }  }
CardSoapApi implements CardApi { @WebMethod @Override @RolesAllowed("user") public Card createCard(@WebParam Card card){ return cardService.createCard(card); }  @WebMethod @Override @RolesAllowed("user") Card createCard(@WebParam Card card); @WebMethod @Override @RolesAllowed("user") Card updateCard(@WebParam Card card); @WebMethod @Override @RolesAllowed("user") Card getCard(@WebParam Long id); @WebMethod @Override @RolesAllowed("admin") void removeCard(@WebParam Long id); }
CardSoapApi implements CardApi { @WebMethod @Override @RolesAllowed("user") public Card createCard(@WebParam Card card){ return cardService.createCard(card); }  @WebMethod @Override @RolesAllowed("user") Card createCard(@WebParam Card card); @WebMethod @Override @RolesAllowed("user") Card updateCard(@WebParam Card card); @WebMethod @Override @RolesAllowed("user") Card getCard(@WebParam Long id); @WebMethod @Override @RolesAllowed("admin") void removeCard(@WebParam Long id);  }