com.atlassian.jira.plugin.workflow
Class AbstractWorkflowPermissionPluginFactory
java.lang.Object
com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory
com.atlassian.jira.plugin.workflow.AbstractWorkflowPermissionPluginFactory
- All Implemented Interfaces:
- WorkflowPluginFactory
- Direct Known Subclasses:
- WorkflowPermissionConditionFactoryImpl, WorkflowPermissionValidatorPluginFactory, WorkflowUserPermissionValidatorPluginFactory
public abstract class AbstractWorkflowPermissionPluginFactory
- extends AbstractWorkflowPluginFactory
A common base class for Workflow Plugin Factories that are concerned with Permissions.
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWorkflowPermissionPluginFactory
public AbstractWorkflowPermissionPluginFactory(SchemePermissions schemePermissions)
getVelocityParamsForInput
protected void getVelocityParamsForInput(Map<String,Object> velocityParams)
- Description copied from class:
AbstractWorkflowPluginFactory
- Get velocity parameters for 'input-parameters' velocity template.
- Specified by:
getVelocityParamsForInput
in class AbstractWorkflowPluginFactory
- Parameters:
velocityParams
- Map to populate.- See Also:
AbstractWorkflowPluginFactory.getVelocityParams(String, com.opensymphony.workflow.loader.AbstractDescriptor)
getGroupedPermissions
protected Map<String,Map<Integer,Permission>> getGroupedPermissions()
- JRA-14306: building a map of maps, so we can use optgroups to display each group of permissions.
Note: we have to catch any permissions that are in schemePermissions.getSchemePermissions() but not covered
by the specific group permissions
- Returns:
- a Map with keys as the i18n key of the group, and the value as the map of permissions for that group.
Copyright © 2002-2012 Atlassian. All Rights Reserved.