@Generated(value="io.swagger.codegen.languages.JavaMSF4JServerCodegen", date="2017-12-07T14:05:52.168Z") public class PermissionsApiServiceImpl extends PermissionsApiService
| Constructor and Description |
|---|
PermissionsApiServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addPermission(Permission body) |
javax.ws.rs.core.Response |
deletePermission(String permissionID) |
javax.ws.rs.core.Response |
getGrantedRoles(String permissionID) |
javax.ws.rs.core.Response |
getPermissionStrings(String appName) |
javax.ws.rs.core.Response |
hasPermission(String permissionID,
String roleName) |
javax.ws.rs.core.Response |
manipulateRolePermission(Permission body,
String roleID,
String action) |
javax.ws.rs.core.Response |
revokePermission(String permissionID) |
public javax.ws.rs.core.Response addPermission(Permission body) throws NotFoundException
addPermission in class PermissionsApiServiceNotFoundExceptionpublic javax.ws.rs.core.Response deletePermission(String permissionID) throws NotFoundException
deletePermission in class PermissionsApiServiceNotFoundExceptionpublic javax.ws.rs.core.Response getGrantedRoles(String permissionID) throws NotFoundException
getGrantedRoles in class PermissionsApiServiceNotFoundExceptionpublic javax.ws.rs.core.Response getPermissionStrings(String appName) throws NotFoundException
getPermissionStrings in class PermissionsApiServiceNotFoundExceptionpublic javax.ws.rs.core.Response hasPermission(String permissionID, String roleName) throws NotFoundException
hasPermission in class PermissionsApiServiceNotFoundExceptionpublic javax.ws.rs.core.Response manipulateRolePermission(Permission body, String roleID, String action) throws NotFoundException
manipulateRolePermission in class PermissionsApiServiceNotFoundExceptionpublic javax.ws.rs.core.Response revokePermission(String permissionID) throws NotFoundException
revokePermission in class PermissionsApiServiceNotFoundExceptionCopyright © 2019 WSO2. All rights reserved.