Class PermissionsApiServiceImpl
- java.lang.Object
-
- org.wso2.carbon.permissions.rest.api.PermissionsApiService
-
- org.wso2.carbon.permissions.rest.api.impl.PermissionsApiServiceImpl
-
@Generated(value="io.swagger.codegen.languages.JavaMSF4JServerCodegen", date="2017-12-07T14:05:52.168Z") public class PermissionsApiServiceImpl extends PermissionsApiService
PermissionsApi Services Implementation.
-
-
Constructor Summary
Constructors Constructor Description PermissionsApiServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseaddPermission(Permission body)javax.ws.rs.core.ResponsedeletePermission(String permissionID)javax.ws.rs.core.ResponsegetGrantedRoles(String permissionID)javax.ws.rs.core.ResponsegetPermissionStrings(String appName)javax.ws.rs.core.ResponsehasPermission(String permissionID, String roleName)javax.ws.rs.core.ResponsemanipulateRolePermission(Permission body, String roleID, String action)javax.ws.rs.core.ResponserevokePermission(String permissionID)
-
-
-
Method Detail
-
addPermission
public javax.ws.rs.core.Response addPermission(Permission body) throws NotFoundException
- Specified by:
addPermissionin classPermissionsApiService- Throws:
NotFoundException
-
deletePermission
public javax.ws.rs.core.Response deletePermission(String permissionID) throws NotFoundException
- Specified by:
deletePermissionin classPermissionsApiService- Throws:
NotFoundException
-
getGrantedRoles
public javax.ws.rs.core.Response getGrantedRoles(String permissionID) throws NotFoundException
- Specified by:
getGrantedRolesin classPermissionsApiService- Throws:
NotFoundException
-
getPermissionStrings
public javax.ws.rs.core.Response getPermissionStrings(String appName) throws NotFoundException
- Specified by:
getPermissionStringsin classPermissionsApiService- Throws:
NotFoundException
-
hasPermission
public javax.ws.rs.core.Response hasPermission(String permissionID, String roleName) throws NotFoundException
- Specified by:
hasPermissionin classPermissionsApiService- Throws:
NotFoundException
-
manipulateRolePermission
public javax.ws.rs.core.Response manipulateRolePermission(Permission body, String roleID, String action) throws NotFoundException
- Specified by:
manipulateRolePermissionin classPermissionsApiService- Throws:
NotFoundException
-
revokePermission
public javax.ws.rs.core.Response revokePermission(String permissionID) throws NotFoundException
- Specified by:
revokePermissionin classPermissionsApiService- Throws:
NotFoundException
-
-