|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@RemoteServiceRelativePath(value="rpcservices/SecurityRpcService") public interface SecurityRpcService
| Method Summary | |
|---|---|
HashMap<String,Boolean> |
getPermissions(ArrayList<String> permissionNames)
Given a list of permission names returns the list of permissions and if the |
ArrayList<String> |
getPermissionsByType(PermissionType permissionType)
This is used to get all permissions assigned to the user based on a permission template. |
ArrayList<String> |
getPermissionsByType(PermissionType permissionType,
HashMap<String,String> attributes)
This is used to get all permissions assigned to the user based on a permission template. |
String |
getPrincipalUsername()
|
HashMap<String,Boolean> |
getScreenPermissions(ArrayList<String> screens)
Given a list of screen components, returns if user has permission for that screen element. |
Boolean |
hasPermissionByPermissionName(String permissionName)
This is used to check if the user has a specific permission by the permission name |
Boolean |
hasScreenPermission(String screenName)
This is used to check if the user has screen access based on a screen permission. |
| Method Detail |
|---|
String getPrincipalUsername()
Boolean hasScreenPermission(String screenName)
throws OperationFailedException
screenName -
OperationFailedException
HashMap<String,Boolean> getScreenPermissions(ArrayList<String> screens)
throws OperationFailedException
screens -
OperationFailedException
HashMap<String,Boolean> getPermissions(ArrayList<String> permissionNames)
throws OperationFailedException
permissionNames -
OperationFailedException
Boolean hasPermissionByPermissionName(String permissionName)
throws OperationFailedException
permissionName -
OperationFailedException
ArrayList<String> getPermissionsByType(PermissionType permissionType)
throws OperationFailedException
templateName -
OperationFailedException
ArrayList<String> getPermissionsByType(PermissionType permissionType,
HashMap<String,String> attributes)
throws OperationFailedException
permissionType - attributes -
OperationFailedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||