Uses of Class
model.validation.PostExists
-
Packages that use PostExists Package Description model.validation Package contenente validatori (JSR-380 compliant) riguardanti le entitàusecase.comment Package contenente la logica relativa ai commentiusecase.post Package contenente la logica relativa ai postusecase.vote Package contenente la logica relativa ai voti -
-
Uses of PostExists in model.validation
Methods in model.validation with parameters of type PostExists Modifier and Type Method Description voidPostExistsValidator. initialize(PostExists constraintAnnotation) -
Uses of PostExists in usecase.comment
Method parameters in usecase.comment with annotations of type PostExists Modifier and Type Method Description Map<Integer,List<CommentDTO>>CommentService. getPostComments(int postId)Ritorna una mappa la cui chiave è l'id del commento padre e il valore una lista di CommentDTOintCommentService. newComment(@NotBlank @Size(max=65535) String text, int postId)Crea un nuovo commento e ne restituisce l'id -
Uses of PostExists in usecase.post
Method parameters in usecase.post with annotations of type PostExists Modifier and Type Method Description voidPostService. delete(int id)Elimina un post dato il suo idPostPagePostService. getPost(int id)Ritorna un entità DTO relativa ad un post -
Uses of PostExists in usecase.vote
Method parameters in usecase.vote with annotations of type PostExists Modifier and Type Method Description voidVoteService. downvotePost(int id)Aggiunge un voto negativo ad un postvoidVoteService. unvotePost(int id)Rimuove il voto ad un postvoidVoteService. upvotePost(int id)Aggiunge un voto positivo ad un post
-