Uses of Class
fr.paris.lutece.plugins.wiki.business.suggestedrevision.SuggestedRevision
Packages that use SuggestedRevision
Package
Description
-
Uses of SuggestedRevision in fr.paris.lutece.plugins.wiki.business.suggestedrevision
Methods in fr.paris.lutece.plugins.wiki.business.suggestedrevision that return SuggestedRevisionModifier and TypeMethodDescriptionstatic SuggestedRevisionSuggestedRevisionHome.create(SuggestedRevision suggestion) Persists a new suggestion.static SuggestedRevisionSuggestedRevisionHome.findByPrimaryKey(int nKey) Loads a suggestion by its primary key.static SuggestedRevisionSuggestedRevisionHome.updateStatus(SuggestedRevision suggestion) Updates the status, reviewer and review comment of an existing suggestion.Methods in fr.paris.lutece.plugins.wiki.business.suggestedrevision that return types with arguments of type SuggestedRevisionModifier and TypeMethodDescriptionstatic List<SuggestedRevision>SuggestedRevisionHome.getAllPending()Returns all pending suggestions across the wiki.static List<SuggestedRevision>SuggestedRevisionHome.getByAuthor(String strAuthorGuid) Returns the suggestions submitted by the given author.static Optional<SuggestedRevision>SuggestedRevisionHome.getPendingByEntityAndAuthor(int nEntityId, String strAuthorGuid) Returns the pending suggestion from a given author on a given entity, if any.ISuggestedRevisionDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads a suggestion by primary key.SuggestedRevisionDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads a suggestion by primary key.ISuggestedRevisionDAO.selectAllPending(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns every pending suggestion, ordered by creation date desc.SuggestedRevisionDAO.selectAllPending(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns every pending suggestion, ordered by creation date desc.ISuggestedRevisionDAO.selectByAuthor(String strAuthorGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the suggestions submitted by the given author, ordered by creation date desc.SuggestedRevisionDAO.selectByAuthor(String strAuthorGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the suggestions submitted by the given author, ordered by creation date desc.ISuggestedRevisionDAO.selectPendingByEntityAndAuthor(int nEntityId, String strAuthorGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the pending suggestion from a given author on a given entity, if any.SuggestedRevisionDAO.selectPendingByEntityAndAuthor(int nEntityId, String strAuthorGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the pending suggestion from a given author on a given entity, if any.Methods in fr.paris.lutece.plugins.wiki.business.suggestedrevision with parameters of type SuggestedRevisionModifier and TypeMethodDescriptionstatic SuggestedRevisionSuggestedRevisionHome.create(SuggestedRevision suggestion) Persists a new suggestion.voidISuggestedRevisionDAO.insert(SuggestedRevision suggestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Inserts a new suggestion.voidSuggestedRevisionDAO.insert(SuggestedRevision suggestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Inserts a new suggestion.voidISuggestedRevisionDAO.updateStatus(SuggestedRevision suggestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Updates the status, reviewer and review comment of a suggestion.voidSuggestedRevisionDAO.updateStatus(SuggestedRevision suggestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Updates the status, reviewer and review comment of a suggestion.static SuggestedRevisionSuggestedRevisionHome.updateStatus(SuggestedRevision suggestion) Updates the status, reviewer and review comment of an existing suggestion. -
Uses of SuggestedRevision in fr.paris.lutece.plugins.wiki.rs
Methods in fr.paris.lutece.plugins.wiki.rs with parameters of type SuggestedRevisionModifier and TypeMethodDescriptionWikiSuggestionRest.SuggestionDto.from(SuggestedRevision s, AbstractWikiItem target, String scope, int[] stats) Builds a DTO from a domain suggestion, its target wiki item, a scope and pre-computed diff statistics. -
Uses of SuggestedRevision in fr.paris.lutece.plugins.wiki.service
Methods in fr.paris.lutece.plugins.wiki.service that return SuggestedRevisionModifier and TypeMethodDescriptionstatic SuggestedRevisionSuggestedRevisionService.approve(int nSuggestionId, String reviewer, String strReviewComment, String strResolvedContent) Approves a pending suggestion.static SuggestedRevisionSuggestedRevisionService.create(SuggestedRevision suggestion) Persists a new pending suggestion proposed by a user without edit rights.static SuggestedRevisionSuggestedRevisionService.findById(int nId) Returns a suggestion by its primary key.static SuggestedRevisionSuggestedRevisionService.findMyPending(fr.paris.lutece.portal.service.security.LuteceUser user, int nEntityId) Returns the pending suggestion submitted by the given user on the given wiki item, if one exists.static SuggestedRevisionRejects a pending suggestion.Methods in fr.paris.lutece.plugins.wiki.service that return types with arguments of type SuggestedRevisionModifier and TypeMethodDescriptionstatic List<SuggestedRevision>SuggestedRevisionService.getMine(fr.paris.lutece.portal.service.security.LuteceUser user) Returns the suggestions submitted by the given user, regardless of status.static List<SuggestedRevision>SuggestedRevisionService.getReview(fr.paris.lutece.portal.service.security.LuteceUser user) Returns the list of pending suggestions targeting wiki items the given user has the right to edit.Methods in fr.paris.lutece.plugins.wiki.service with parameters of type SuggestedRevisionModifier and TypeMethodDescriptionstatic List<MergeBlock>SuggestedRevisionService.computeMergeBlocks(SuggestedRevision s, Revision current) Computes the three-way merge blocks for a suggestion against the given current revision.static SuggestedRevisionSuggestedRevisionService.create(SuggestedRevision suggestion) Persists a new pending suggestion proposed by a user without edit rights.static int[]SuggestedRevisionService.diffStats(SuggestedRevision s) Computes diff statistics for a suggestion against the revision that was current when it was proposed.Method parameters in fr.paris.lutece.plugins.wiki.service with type arguments of type SuggestedRevisionModifier and TypeMethodDescriptionstatic Map<Integer,AbstractWikiItem> SuggestedRevisionService.loadItemsByEntityId(List<SuggestedRevision> suggestions) Bulk-loads the wiki items referenced by a list of suggestions, in a single query.