Uses of Class
usecase.auth.AuthenticationRequired
-
Packages that use AuthenticationRequired Package Description usecase.auth Package contenente la logica relativa alle autorizzazioniusecase.comment Package contenente la logica relativa ai commentiusecase.follow Package contenente la logica relativa ai followusecase.post Package contenente la logica relativa ai postusecase.user Package contenente la logica relativa agli utentiusecase.vote Package contenente la logica relativa ai voti -
-
Uses of AuthenticationRequired in usecase.auth
Classes in usecase.auth with annotations of type AuthenticationRequired Modifier and Type Class Description classAuthenticationRequiredInterceptorClasse interceptor per confermare l'autenticazione -
Uses of AuthenticationRequired in usecase.comment
Methods in usecase.comment with annotations of type AuthenticationRequired Modifier and Type Method Description voidCommentService. delete(int id)Cancella un commento dato il suo idvoidCommentService. editComment(int id, @NotBlank @Size(max=65535) String text)Modifica un commento dato il suo idintCommentService. newComment(@NotBlank @Size(max=65535) String text, int postId)Crea un nuovo commento e ne restituisce l'idintCommentService. newCommentReply(@NotBlank @Size(max=65535) String text, int parentCommentId)Crea una risposta a un commento e ne restituisce l'id -
Uses of AuthenticationRequired in usecase.follow
Methods in usecase.follow with annotations of type AuthenticationRequired Modifier and Type Method Description voidFollowService. follow(int sectionId)Permette di seguire una sezionevoidFollowService. unFollow(int sectionId)Permette di togliere il follow ad una sezione -
Uses of AuthenticationRequired in usecase.post
Methods in usecase.post with annotations of type AuthenticationRequired Modifier and Type Method Description voidPostService. delete(int id)Elimina un post dato il suo idintPostService. newPost(@NotBlank @Size(max=255) String title, @NotNull BufferedInputStream content, @NotNull String sectionName)Aggiunge un post ad una sezioneintPostService. newPost(@NotBlank String title, @Size(max=65535) String body, @NotNull String sectionName)Aggiunge un post ad una sezione -
Uses of AuthenticationRequired in usecase.user
Methods in usecase.user with annotations of type AuthenticationRequired Modifier and Type Method Description voidUserService. edit(@Valid UserEditPage edit, int id)Modifica i dati di un utente dato un id -
Uses of AuthenticationRequired in usecase.vote
Methods in usecase.vote with annotations of type AuthenticationRequired Modifier and Type Method Description voidVoteService. downvoteComment(int id)Aggiunge un voto negativo ad un commentovoidVoteService. downvotePost(int id)Aggiunge un voto negativo ad un postvoidVoteService. unvoteComment(int id)Rimuove il voto ad un commentovoidVoteService. unvotePost(int id)Rimuove il voto ad un postvoidVoteService. upvoteComment(int id)Aggiunge un voto positivo ad un commentovoidVoteService. upvotePost(int id)Aggiunge un voto positivo ad un post
-