Uses of Class
com.almworks.jira.structure.api.permissions.PermissionRule
Packages that use PermissionRule
Package
Description
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 PermissionRule in com.almworks.jira.structure.api.permissions
Subclasses of PermissionRule in com.almworks.jira.structure.api.permissionsModifier and TypeClassDescriptionstatic classThis rules applies a list of rules taken from a Structure, identified by the structure ID.static classThis rule sets the permission level to a specific value in case the user matchesPermissionSubject.Methods in com.almworks.jira.structure.api.permissions that return PermissionRuleModifier and TypeMethodDescriptionPermissionRule.clone()static PermissionRulePermissionRule.fromEncodedString(String s) Restores permission rule from its encoded String form.static PermissionRulePermissionRule.fromEncodedString(String s, boolean usersAsUserNames) Restores permission rule from its encoded String form.Methods in com.almworks.jira.structure.api.permissions that return types with arguments of type PermissionRuleModifier and TypeMethodDescriptionstatic List<PermissionRule>PermissionRule.decodePermissions(String s) Deprecated.Please avoid using this method.Method parameters in com.almworks.jira.structure.api.permissions with type arguments of type PermissionRuleModifier and TypeMethodDescriptionabstract PermissionLevelPermissionRule.apply(ApplicationUser user, PermissionLevel pass, List<Object> callStack, La<Long, List<PermissionRule>> resolver) Apply permission rule and return the result.PermissionRule.ApplyStructure.apply(ApplicationUser user, PermissionLevel pass, List<Object> callStack, La<Long, List<PermissionRule>> resolver) PermissionRule.SetLevel.apply(ApplicationUser user, PermissionLevel pass, List<Object> callStack, La<Long, List<PermissionRule>> resolver) static StringPermissionRule.encodePermissions(List<PermissionRule> permissions) Deprecated.Please avoid using this method. -
Uses of PermissionRule in com.almworks.jira.structure.api.structure
Methods in com.almworks.jira.structure.api.structure that return types with arguments of type PermissionRuleModifier and TypeMethodDescriptionStructure.getPermissions()Returns a list of permissions for this structure.Method parameters in com.almworks.jira.structure.api.structure with type arguments of type PermissionRuleModifier and TypeMethodDescriptionStructure.setPermissions(Collection<? extends PermissionRule> permissions) Sets the permission rules for this structure. -
Uses of PermissionRule in com.almworks.jira.structure.api.util
Methods in com.almworks.jira.structure.api.util that return types with arguments of type PermissionRuleModifier and TypeMethodDescriptionstatic List<PermissionRule>StructureUtil.copyPermissions(Collection<? extends PermissionRule> permissions) static List<PermissionRule>StructureUtil.copyPermissionsOrNull(Collection<? extends PermissionRule> permissions) Method parameters in com.almworks.jira.structure.api.util with type arguments of type PermissionRuleModifier and TypeMethodDescriptionstatic PermissionLevelStructureUtil.applyPermissions(List<PermissionRule> permissions, ApplicationUser user, List<Object> stack, La<Long, List<PermissionRule>> resolver, PermissionLevel pass) static PermissionLevelStructureUtil.applyPermissions(List<PermissionRule> permissions, ApplicationUser user, List<Object> stack, La<Long, List<PermissionRule>> resolver, PermissionLevel pass) static List<PermissionRule>StructureUtil.copyPermissions(Collection<? extends PermissionRule> permissions) static List<PermissionRule>StructureUtil.copyPermissionsOrNull(Collection<? extends PermissionRule> permissions) -
Uses of PermissionRule in com.almworks.jira.structure.api.view
Methods in com.almworks.jira.structure.api.view that return types with arguments of type PermissionRuleModifier and TypeMethodDescriptionStructureView.getPermissions()Used to get permissions rules that are used to calculate user's access level.StructureViewBean.Builder.getPermissions()StructureViewBean.getPermissions()Method parameters in com.almworks.jira.structure.api.view with type arguments of type PermissionRuleModifier and TypeMethodDescriptionStructureView.setPermissions(Collection<? extends PermissionRule> permissions) Sets the permission rules for this view.voidStructureViewBean.Builder.setPermissions(Collection<? extends PermissionRule> permissions) Sets the permission rules.