|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRoleStore
COM Interface 'IRoleStore'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriServer.olb'
Description: 'An interface to access the role repository.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static java.lang.String |
IID
Deprecated. Internal use only |
static int |
IID5ac20c1a_cf77_44c7_9eae_7bcd859e5ab8
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
void |
addRole(IRole pRole)
Add a new role to the role store. |
void |
addUsersToRole(java.lang.String rolename,
java.lang.String[] usernames)
Adds users to a role. |
void |
assignRoles(java.lang.String userName,
java.lang.String[] rolenames)
Assigns roles to a user. |
void |
deleteRole(java.lang.String rolename)
Deletes a role from role store. |
boolean |
getAllRoles(java.lang.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(java.lang.String rolename)
Returns a role from the role store. |
boolean |
getRolesForUser(java.lang.String userName,
java.lang.String filter,
int maxCount,
java.lang.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(java.lang.String rolename,
java.lang.String filter,
int maxCount,
java.lang.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(java.lang.String userName,
java.lang.String[] rolenames)
Removes roles assigned to a user. |
void |
removeUsersFromRole(java.lang.String rolename,
java.lang.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. |
Field Detail |
---|
static final int IID5ac20c1a_cf77_44c7_9eae_7bcd859e5ab8
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
void testConnection(IPropertySet pProps) throws java.io.IOException, AutomationException
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initialize(IPropertySet pProps) throws java.io.IOException, AutomationException
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReadOnly() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addRole(IRole pRole) throws java.io.IOException, AutomationException
pRole
- A reference to a com.esri.arcgis.server.IRole (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateRole(IRole pRole) throws java.io.IOException, AutomationException
pRole
- A reference to a com.esri.arcgis.server.IRole (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteRole(java.lang.String rolename) throws java.io.IOException, AutomationException
rolename
- The rolename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRole getRole(java.lang.String rolename) throws java.io.IOException, AutomationException
rolename
- The rolename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTotalRoles() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getAllRoles(java.lang.String filter, int maxCount, IRole[][] roles) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getAllRolesPaged(int startIndex, int pageSize, IRole[][] roles) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void assignRoles(java.lang.String userName, java.lang.String[] rolenames) throws java.io.IOException, AutomationException
userName
- The userName (in)rolenames
- The rolenames (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeRoles(java.lang.String userName, java.lang.String[] rolenames) throws java.io.IOException, AutomationException
userName
- The userName (in)rolenames
- The rolenames (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getRolesForUser(java.lang.String userName, java.lang.String filter, int maxCount, java.lang.String[][] rolenames) throws java.io.IOException, AutomationException
userName
- The userName (in)filter
- The filter (in)maxCount
- The maxCount (in)rolenames
- The rolenames (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getUsersWithinRole(java.lang.String rolename, java.lang.String filter, int maxCount, java.lang.String[][] usernames) throws java.io.IOException, AutomationException
rolename
- The rolename (in)filter
- The filter (in)maxCount
- The maxCount (in)usernames
- The usernames (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addUsersToRole(java.lang.String rolename, java.lang.String[] usernames) throws java.io.IOException, AutomationException
rolename
- The rolename (in)usernames
- The usernames (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeUsersFromRole(java.lang.String rolename, java.lang.String[] usernames) throws java.io.IOException, AutomationException
rolename
- The rolename (in)usernames
- The usernames (in)
java.io.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 |