org.codehaus.redback.xmlrpc.service
Class PermissionServiceImpl
java.lang.Object
org.codehaus.redback.xmlrpc.service.PermissionServiceImpl
- All Implemented Interfaces:
- PermissionService, Service
@Service
public class PermissionServiceImpl
- extends Object
- implements PermissionService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionServiceImpl
@Inject
public PermissionServiceImpl(@Named(value="rBACManager#cached")
RBACManager rbacManager)
createPermission
public Boolean createPermission(String permissionName,
String operationName,
String resourceName)
throws Exception
- Specified by:
createPermission in interface PermissionService
- Throws:
Exception
removePermission
public Boolean removePermission(String permissionName)
throws Exception
- Specified by:
removePermission in interface PermissionService
- Throws:
Exception
getPermission
public Permission getPermission(String permissionName)
throws Exception
- Specified by:
getPermission in interface PermissionService
- Throws:
Exception
getPermissions
public List<Permission> getPermissions()
throws Exception
- Specified by:
getPermissions in interface PermissionService
- Throws:
Exception
ping
public Boolean ping()
throws Exception
- Specified by:
ping in interface Service
- Throws:
Exception
Copyright © 2006-2011 Codehaus. All Rights Reserved.