Uses of Class
fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
Packages that use AbstractWikiItem
Package
Description
-
Uses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.business.item
Methods in fr.paris.lutece.plugins.wiki.business.item that return AbstractWikiItemModifier and TypeMethodDescriptionAbstractWikiItem.clone()Clone the wiki itemstatic AbstractWikiItemWikiItemFactory.create(WikiItemType type) Create a new wiki item instance based on the given typestatic AbstractWikiItemWikiItemHome.create(AbstractWikiItem wikiItem) Create a new wiki itemAbstractWikiItem.getParent()Get the parent wiki itemstatic AbstractWikiItemWikiItemHome.update(AbstractWikiItem wikiItem) Update an existing wiki itemMethods in fr.paris.lutece.plugins.wiki.business.item that return types with arguments of type AbstractWikiItemModifier and TypeMethodDescriptionstatic Optional<AbstractWikiItem>WikiItemHome.findByCode(String strCode) Find a wiki item by its codestatic List<AbstractWikiItem>Bulk-loads wiki items matching the provided primary keys, in a single query.static Optional<AbstractWikiItem>WikiItemHome.findByPrimaryKey(int nKey) Find a wiki item by its primary keyAbstractWikiItem.getChildren()Get the list of childrenstatic List<AbstractWikiItem>WikiItemHome.getDescendants(int nRootId) Loads all descendants of the given root item using breadth-first bulk queries.static Map<Integer,List<AbstractWikiItem>> WikiItemHome.getDescendantsByParent(int nRootId) Loads all descendants of the given root item and returns them grouped by parent id.static List<AbstractWikiItem>WikiItemHome.getWikiItemsByParent(int nIdParent) Get all wiki items by parent idstatic List<AbstractWikiItem>WikiItemHome.getWikiItemsByParentAndType(int nIdParent, WikiItemType type) Get all wiki items by parent id and typestatic List<AbstractWikiItem>WikiItemHome.getWikiItemsByType(WikiItemType type) Get all wiki items by typeIWikiItemDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a wiki item by its keyWikiItemDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a wiki item by its keystatic List<AbstractWikiItem>WikiItemHome.remove(int nKey) Remove a wiki item by its key.IWikiItemDAO.selectByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select a wiki item by its codeWikiItemDAO.selectByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select a wiki item by its codeIWikiItemDAO.selectWikiItemsByIds(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items whose primary key is in the given listWikiItemDAO.selectWikiItemsByIds(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items whose primary key is in the given listIWikiItemDAO.selectWikiItemsByParent(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items by parent idWikiItemDAO.selectWikiItemsByParent(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items by parent idIWikiItemDAO.selectWikiItemsByParentAndType(int nIdParent, WikiItemType type, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items by parent id and typeWikiItemDAO.selectWikiItemsByParentAndType(int nIdParent, WikiItemType type, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items by parent id and typeIWikiItemDAO.selectWikiItemsByParentIds(List<Integer> listParentIds, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items whose parent id is in the given listWikiItemDAO.selectWikiItemsByParentIds(List<Integer> listParentIds, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items whose parent id is in the given listIWikiItemDAO.selectWikiItemsByType(WikiItemType type, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items by typeWikiItemDAO.selectWikiItemsByType(WikiItemType type, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select all wiki items by typeMethods in fr.paris.lutece.plugins.wiki.business.item with parameters of type AbstractWikiItemModifier and TypeMethodDescriptionstatic AbstractWikiItemWikiItemHome.create(AbstractWikiItem wikiItem) Create a new wiki itemvoidIWikiItemDAO.insert(AbstractWikiItem wikiItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new wiki itemvoidWikiItemDAO.insert(AbstractWikiItem wikiItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new wiki itemvoidIWikiItemDAO.store(AbstractWikiItem wikiItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update an existing wiki itemvoidWikiItemDAO.store(AbstractWikiItem wikiItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update an existing wiki itemstatic AbstractWikiItemWikiItemHome.update(AbstractWikiItem wikiItem) Update an existing wiki itemMethod parameters in fr.paris.lutece.plugins.wiki.business.item with type arguments of type AbstractWikiItemModifier and TypeMethodDescriptionvoidAbstractWikiItem.setChildren(List<AbstractWikiItem> listChildren) Set the list of children -
Uses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.business.item.impl
Subclasses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.business.item.impl -
Uses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.rs
Methods in fr.paris.lutece.plugins.wiki.rs with parameters of type AbstractWikiItemModifier 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 AbstractWikiItem in fr.paris.lutece.plugins.wiki.service
Methods in fr.paris.lutece.plugins.wiki.service that return AbstractWikiItemModifier and TypeMethodDescriptionstatic AbstractWikiItemWikiItemService.create(AbstractWikiItem item, fr.paris.lutece.portal.service.security.LuteceUser user, Locale locale) Creates a new wiki itemstatic AbstractWikiItemWikiItemService.findByCode(String strCode) Finds a wiki item by its codestatic AbstractWikiItemWikiItemService.findById(int itemId) Finds a wiki item by its identifierMethods in fr.paris.lutece.plugins.wiki.service that return types with arguments of type AbstractWikiItemModifier and TypeMethodDescriptionstatic List<AbstractWikiItem>WikiItemService.findAncestors(AbstractWikiItem item) Gets the ancestors of an item, from the root to its direct parent, with their current revision.static List<AbstractWikiItem>WikiItemService.getItemsByParent(int parentId) Gets all items by parent identifierstatic List<AbstractWikiItem>WikiItemService.getItemsByType(WikiItemType type) Gets all items by typestatic List<AbstractWikiItem>WikiItemService.getItemsByTypes(Set<WikiItemType> types) Gets all items by multiple typesstatic List<AbstractWikiItem>WikiItemService.getPublishedItemsByParent(int parentId) Gets all published items by parent identifierstatic List<AbstractWikiItem>WikiItemService.getPublishedItemsByType(WikiItemType type) Gets all published items by typestatic Map<Integer,AbstractWikiItem> SuggestedRevisionService.loadItemsByEntityId(List<SuggestedRevision> suggestions) Bulk-loads the wiki items referenced by a list of suggestions, in a single query.Methods in fr.paris.lutece.plugins.wiki.service with parameters of type AbstractWikiItemModifier and TypeMethodDescriptionstatic StringWikiUrlService.buildParentViewUrl(AbstractWikiItem item) Builds the view URL for the parent of an itemstatic StringWikiUrlService.buildViewUrl(AbstractWikiItem item) Builds the view URL for an itemstatic AbstractWikiItemWikiItemService.create(AbstractWikiItem item, fr.paris.lutece.portal.service.security.LuteceUser user, Locale locale) Creates a new wiki itemstatic List<AbstractWikiItem>WikiItemService.findAncestors(AbstractWikiItem item) Gets the ancestors of an item, from the root to its direct parent, with their current revision.static booleanSuggestedRevisionService.isSuggestible(AbstractWikiItem item) Tells whether suggestions are allowed on the given item type.static voidWikiItemService.move(AbstractWikiItem item, int newParentId, Locale locale) Moves an item to a new parentstatic voidWikiItemService.update(AbstractWikiItem item, Locale locale) Updates a wiki item -
Uses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.service.activity
Methods in fr.paris.lutece.plugins.wiki.service.activity that return AbstractWikiItemMethods in fr.paris.lutece.plugins.wiki.service.activity with parameters of type AbstractWikiItemConstructors in fr.paris.lutece.plugins.wiki.service.activity with parameters of type AbstractWikiItemModifierConstructorDescriptionActivityItem(Revision revision, AbstractWikiItem item, boolean bIsCreation) Constructor with parameters -
Uses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.service.permission
Methods in fr.paris.lutece.plugins.wiki.service.permission with parameters of type AbstractWikiItemModifier and TypeMethodDescriptionstatic List<WikiItemAttributePermission>WikiPermissionService.getAttributesWithPermission(AbstractWikiItem item, String strPermissionType) Returns the populations holding a permission on an item, as attribute rules.static List<WikiItemUserPermission>WikiPermissionService.getUsersWithPermission(AbstractWikiItem item, String strPermissionType) Returns the users holding a permission on an item.static voidWikiPermissionService.grant(AbstractWikiItem item, String strUserGuid, String strDisplayName, String strPermissionType) Grants a permission to a user on an item.static voidWikiPermissionService.grantCreatorPermissions(AbstractWikiItem item, fr.paris.lutece.portal.service.security.LuteceUser creator) Grants the creator the right to edit the item they just created, when that item is private.static booleanWikiPermissionService.grantToAttribute(AbstractWikiItem item, String strAttributeName, String strAttributeValue, String strAttributeLabel, String strPermissionType) Grants a permission to everyone carrying a directory attribute value, rather than to named users.static voidWikiPermissionService.revoke(AbstractWikiItem item, String strUserGuid, String strPermissionType) Revokes a permission held by a user on an item.static voidWikiPermissionService.revokeFromAttribute(AbstractWikiItem item, String strAttributeName, String strAttributeValue, String strPermissionType) Revokes a permission granted to the holders of an attribute value. -
Uses of AbstractWikiItem in fr.paris.lutece.plugins.wiki.service.security
Methods in fr.paris.lutece.plugins.wiki.service.security that return types with arguments of type AbstractWikiItemModifier and TypeMethodDescriptionstatic List<AbstractWikiItem>WikiAccessControlService.getAncestors(AbstractWikiItem item) Returns the ancestors of an item, from the root to its direct parent.Methods in fr.paris.lutece.plugins.wiki.service.security with parameters of type AbstractWikiItemModifier and TypeMethodDescriptionstatic booleanWikiAccessControlService.canEdit(WikiUserPermissions permissions, AbstractWikiItem item) Checks if the user can edit the specified wiki item, against already loaded permissions.static booleanWikiAccessControlService.canEdit(fr.paris.lutece.portal.service.security.LuteceUser user, AbstractWikiItem item) Checks if the user can edit the specified wiki item.static booleanWikiAccessControlService.canView(WikiUserPermissions permissions, AbstractWikiItem item) Checks if the user can view the specified wiki item, against already loaded permissions.static booleanWikiAccessControlService.canView(fr.paris.lutece.portal.service.security.LuteceUser user, AbstractWikiItem item) Checks if the user can view the specified wiki item.static List<AbstractWikiItem>WikiAccessControlService.getAncestors(AbstractWikiItem item) Returns the ancestors of an item, from the root to its direct parent.booleanWikiUserPermissions.isAllowedToEdit(AbstractWikiItem item) Tells whether the user is allowed to edit the item, either individually or through a role.booleanWikiUserPermissions.isAllowedToView(AbstractWikiItem item) Tells whether the user is allowed to view the item, either individually or through a role.