public interface ServerPermissionManager extends Remote
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_LIST_KEY |
static String |
USER_PERMISSIONS_KEY |
static String |
USER_PROFILE_PERMISSIONS_KEY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkActionPermission(String entity,
String action,
int sessionId,
long time)
Checks if the specified user has permissions to execute an action in the
specified entity
|
EntityResult |
getEntityList(int sessionId) |
PermissionGroupInfo[] |
getPermissionGroupsInfo() |
PermissionInfo |
getPermissionInfo(String entity,
String action,
int sessionId) |
EntityResult |
getServerPermissions(Hashtable userKeys,
int sessionId)
Get the user permissions
|
EntityResult |
getUserProfileServerPermissions(Hashtable profileKeys,
int sessionId)
Get the permission definition for a specified profile
|
EntityResult |
setServerPermissions(Hashtable keys,
int sessionId,
StringBuffer permissionXML)
Sets the server permissions value
|
EntityResult |
setUserProfileServerPermissions(Hashtable profileKeys,
StringBuffer permissions,
int sessionId) |
static final String ENTITY_LIST_KEY
static final String USER_PROFILE_PERMISSIONS_KEY
static final String USER_PERMISSIONS_KEY
EntityResult setServerPermissions(Hashtable keys, int sessionId, StringBuffer permissionXML) throws Exception
keys - Keys to identify the usersessionId - User session identifierpermissionXML - XML value to describes the server permissionsExceptionEntityResult getUserProfileServerPermissions(Hashtable profileKeys, int sessionId) throws Exception
profileKeys - Keys to identify a profilesessionId - User session identifierExceptionEntityResult setUserProfileServerPermissions(Hashtable profileKeys, StringBuffer permissions, int sessionId) throws Exception
ExceptionEntityResult getServerPermissions(Hashtable userKeys, int sessionId) throws Exception
userKeys - Keys to identify the usersessionId - User session identifierExceptionEntityResult getEntityList(int sessionId) throws Exception
Exceptionboolean checkActionPermission(String entity, String action, int sessionId, long time) throws Exception
entity - Entity nameaction - Action to checksessionId - User session identifiertime - ExceptionPermissionInfo getPermissionInfo(String entity, String action, int sessionId) throws Exception
ExceptionPermissionGroupInfo[] getPermissionGroupsInfo() throws Exception
ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.