Uses of Interface
com.almworks.jira.structure.api.structure.Structure
Packages that use Structure
Package
Description
This package and subpackages contain Structure API, which can be used to integrate with and extend Structure add-on for JIRA.
This package features
StructureManager service,
which is used to create structures and change their properties (but not the forest), and
Structure interface, which represents structures.-
Uses of Structure in com.almworks.jira.structure.api
Methods in com.almworks.jira.structure.api that return types with arguments of type StructureModifier and TypeMethodDescriptionStructurePluginHelper.getStructureComparator(ApplicationUser user) Returns comparator for sorting structures by name, according to the given user's locale. -
Uses of Structure in com.almworks.jira.structure.api.structure
Methods in com.almworks.jira.structure.api.structure that return StructureModifier and TypeMethodDescriptionStructureManager.copyStructure(Long structureId, ApplicationUser newOwner, boolean copyPermissions) Copies the structure and the forest it contains into a new structure.StructureManager.copyStructureWithoutForest(Long structureId, ApplicationUser newOwner, boolean copyPermissions) Copies the structure into a new structure - only the properties (such as name, description, permissions) are copied, not the forest.StructureManager.createStructure()Creates an empty new structure.StructureManager.getStructure(Long structureId, PermissionLevel requiredLevel) Retrieves a structure given structure ID.Structure.saveChanges()Call this method to save the changes made withset...methods and update the database.Structure.setArchived(boolean archived) Changes the archived flag.Structure.setDescription(String description) Sets the description of the structure.Structure.setEditRequiresParentIssuePermission(boolean flag) Changes the security flag that requires the user to have Edit Issue permission on parent issues of the issues being moved, added or deleted from structure.Sets the name of the structure.default StructureStructure.setOwner(ApplicationUser owner) Sets the owner of the structure.Structure.setOwnerUserKey(String ownerUserKey) Sets the owner of the structure.Structure.setPermissions(Collection<? extends PermissionRule> permissions) Sets the permission rules for this structure.Methods in com.almworks.jira.structure.api.structure that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureManager.getAllStructures(PermissionLevel requiredLevel) Retrieves a list of all unarchived structures that are accessible to the current user at the specified permission level.StructureManager.getAllStructures(PermissionLevel requiredLevel, boolean includeArchived) Retrieves a list of all structures that are visible to the current user at the specified permission level.StructureManager.getArchivedStructures(PermissionLevel requiredLevel) Retrieves a list of all archived structures that are visible to the current user at the specified permission level.StructureManager.getStructuresByName(String name, PermissionLevel requiredLevel) Convenience method to search for unarchived structures with the specified name.StructureManager.getStructuresByName(String name, PermissionLevel requiredLevel, boolean searchArchivedStructures) Convenience method that searches for structures with the specified name.StructureManager.getStructuresOwnedBy(ApplicationUser user) Retrieves a list of all structures visible to the current user, for which the specified user is the owner.StructureManager.getViewableStructuresWithIssue(Long issueId) Retrieves all structures that contain the specified issue. -
Uses of Structure in com.almworks.jira.structure.api.structure.favorite
Methods in com.almworks.jira.structure.api.structure.favorite that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureFavoriteManager.filterByPopularity(List<Structure> structures, int minPopularity, int maxPopularity) Filters a list of structures, producing another list with structures that match popularity criteria, defined by minimum and maximum popularity.StructureFavoriteManager.getFavorites(ApplicationUser user) Returns a list of unarchived structures that are the user's favorite and that the user is allowed to see.StructureFavoriteManager.getFavorites(ApplicationUser user, boolean includeArchivedStructures) Returns a list of structures that are the user's favorite and that the user is allowed to see.Method parameters in com.almworks.jira.structure.api.structure.favorite with type arguments of type StructureModifier and TypeMethodDescriptionStructureFavoriteManager.filterByPopularity(List<Structure> structures, int minPopularity, int maxPopularity) Filters a list of structures, producing another list with structures that match popularity criteria, defined by minimum and maximum popularity.voidStructureFavoriteManager.sortByPopularity(List<Structure> structures, ApplicationUser user) Sorts a list of structures by their popularity (descending). -
Uses of Structure in com.almworks.jira.structure.api.template
Methods in com.almworks.jira.structure.api.template with parameters of type StructureModifier and TypeMethodDescriptionvoidEmptyTemplate.configureNewStructure(Structure structure, Map<String, Object> params) voidNewStructureTemplate.configureNewStructure(Structure structure, Map<String, Object> params) default StringNewStructureTemplate.prepareNewStructureUrl(Structure structure) -
Uses of Structure in com.almworks.jira.structure.api.view
Methods in com.almworks.jira.structure.api.view that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureViewManager.getAssociatedStructures(Long viewId) Retrieves all structures that are "associated" with the specified view, i.e.