|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRoleStore
An interface to access the role repository.
| Method Summary | |
|---|---|
void |
addRole(IRole pRole)
Add a new role to the role store. |
void |
addUsersToRole(String rolename,
String[] usernames)
Adds users to a role. |
void |
assignRoles(String userName,
String[] rolenames)
Assigns roles to a user. |
void |
deleteRole(String rolename)
Deletes a role from role store. |
boolean |
getAllRoles(String filter,
int maxCount,
IRole[][] roles)
Returns a maxCount of roles from the role store that match a particular filter. |
boolean |
getAllRolesPaged(int startIndex,
int pageSize,
IRole[][] roles)
Returns a pageSize of roles from the role store from the startIndex. |
IRole |
getRole(String rolename)
Returns a role from the role store. |
boolean |
getRolesForUser(String userName,
String filter,
int maxCount,
String[][] rolenames)
Returns roles assigned to a user that match a filter upto a maxCount number. |
int |
getTotalRoles()
Returns the total number of roles in the role store. |
boolean |
getUsersWithinRole(String rolename,
String filter,
int maxCount,
String[][] usernames)
Returns users within a role that match a filter upto a maxCount number. |
void |
initialize(IPropertySet pProps)
Connects to a role store. |
boolean |
isReadOnly()
Tests the connection to the role store. |
void |
removeRoles(String userName,
String[] rolenames)
Removes roles assigned to a user. |
void |
removeUsersFromRole(String rolename,
String[] usernames)
Removes users from a role. |
void |
testConnection(IPropertySet pProps)
Tests the connection to the role store. |
void |
updateRole(IRole pRole)
Update an existing role in the role store. |
| Method Detail |
|---|
void testConnection(IPropertySet pProps)
throws IOException,
AutomationException
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void initialize(IPropertySet pProps)
throws IOException,
AutomationException
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isReadOnly()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addRole(IRole pRole)
throws IOException,
AutomationException
pRole - A reference to a com.esri.arcgis.server.IRole (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void updateRole(IRole pRole)
throws IOException,
AutomationException
pRole - A reference to a com.esri.arcgis.server.IRole (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteRole(String rolename)
throws IOException,
AutomationException
rolename - The rolename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRole getRole(String rolename)
throws IOException,
AutomationException
rolename - The rolename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getTotalRoles()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean getAllRoles(String filter,
int maxCount,
IRole[][] roles)
throws IOException,
AutomationException
filter - The filter (in)maxCount - The maxCount (in)roles - A reference to a com.esri.arcgis.server.IRole array (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean getAllRolesPaged(int startIndex,
int pageSize,
IRole[][] roles)
throws IOException,
AutomationException
startIndex - The startIndex (in)pageSize - The pageSize (in)roles - A reference to a com.esri.arcgis.server.IRole array (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void assignRoles(String userName,
String[] rolenames)
throws IOException,
AutomationException
userName - The userName (in)rolenames - The rolenames (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void removeRoles(String userName,
String[] rolenames)
throws IOException,
AutomationException
userName - The userName (in)rolenames - The rolenames (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean getRolesForUser(String userName,
String filter,
int maxCount,
String[][] rolenames)
throws IOException,
AutomationException
userName - The userName (in)filter - The filter (in)maxCount - The maxCount (in)rolenames - The rolenames (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean getUsersWithinRole(String rolename,
String filter,
int maxCount,
String[][] usernames)
throws IOException,
AutomationException
rolename - The rolename (in)filter - The filter (in)maxCount - The maxCount (in)usernames - The usernames (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addUsersToRole(String rolename,
String[] usernames)
throws IOException,
AutomationException
rolename - The rolename (in)usernames - The usernames (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void removeUsersFromRole(String rolename,
String[] usernames)
throws IOException,
AutomationException
rolename - The rolename (in)usernames - The usernames (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||