Class PermissionsApiService
- java.lang.Object
-
- org.wso2.carbon.permissions.rest.api.PermissionsApiService
-
- Direct Known Subclasses:
PermissionsApiServiceImpl
@Generated(value="io.swagger.codegen.languages.JavaMSF4JServerCodegen", date="2017-12-07T14:05:52.168Z") public abstract class PermissionsApiService extends Object
-
-
Constructor Summary
Constructors Constructor Description PermissionsApiService()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract javax.ws.rs.core.ResponseaddPermission(Permission body)abstract javax.ws.rs.core.ResponsedeletePermission(String permissionID)abstract javax.ws.rs.core.ResponsegetGrantedRoles(String permissionID)abstract javax.ws.rs.core.ResponsegetPermissionStrings(String appName)abstract javax.ws.rs.core.ResponsehasPermission(String permissionID, String roleName)abstract javax.ws.rs.core.ResponsemanipulateRolePermission(Permission body, String roleName, String action)abstract javax.ws.rs.core.ResponserevokePermission(String permissionID)
-
-
-
Method Detail
-
addPermission
public abstract javax.ws.rs.core.Response addPermission(Permission body) throws NotFoundException
- Throws:
NotFoundException
-
deletePermission
public abstract javax.ws.rs.core.Response deletePermission(String permissionID) throws NotFoundException
- Throws:
NotFoundException
-
getGrantedRoles
public abstract javax.ws.rs.core.Response getGrantedRoles(String permissionID) throws NotFoundException
- Throws:
NotFoundException
-
getPermissionStrings
public abstract javax.ws.rs.core.Response getPermissionStrings(String appName) throws NotFoundException
- Throws:
NotFoundException
-
hasPermission
public abstract javax.ws.rs.core.Response hasPermission(String permissionID, String roleName) throws NotFoundException
- Throws:
NotFoundException
-
manipulateRolePermission
public abstract javax.ws.rs.core.Response manipulateRolePermission(Permission body, String roleName, String action) throws NotFoundException
- Throws:
NotFoundException
-
revokePermission
public abstract javax.ws.rs.core.Response revokePermission(String permissionID) throws NotFoundException
- Throws:
NotFoundException
-
-