org.camunda.bpm.engine.rest.dto.converter
Class PermissionConverter
java.lang.Object
org.camunda.bpm.engine.rest.dto.converter.PermissionConverter
public class PermissionConverter
- extends Object
Converts between the String-Array based representation of permissions in the REST API
and the Integer-based representation in the JAVA API.
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionConverter
public PermissionConverter()
getPermissionsForNames
public static Permission[] getPermissionsForNames(String[] names)
getNamesForPermissions
public static String[] getNamesForPermissions(Authorization authorization,
Permission[] permissions)
getAllPermissions
public static Permission[] getAllPermissions()
getPermissionForName
public static Permission getPermissionForName(String name)
Copyright © 2016 camunda services GmbH. All rights reserved.