com.esri.arcgis.server
Class IRoleStoreProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IRoleStoreProxy
All Implemented Interfaces:
IRoleStore, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for 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 =

public class IRoleStoreProxy
extends com.esri.arcgis.interop.Dispatch
implements IRoleStore, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.server.IRoleStore
IID, IID5ac20c1a_cf77_44c7_9eae_7bcd859e5ab8
 
Constructor Summary
  IRoleStoreProxy()
          Deprecated. For internal use only
  IRoleStoreProxy(java.lang.Object obj)
          Deprecated.  
protected IRoleStoreProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IRoleStoreProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IRoleStoreProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void addRole(IRole pRole)
          Deprecated. Add a new role to the role store.
 void addUsersToRole(java.lang.String rolename, java.lang.String[] usernames)
          Deprecated. Adds users to a role.
 void assignRoles(java.lang.String userName, java.lang.String[] rolenames)
          Deprecated. Assigns roles to a user.
 void deleteRole(java.lang.String rolename)
          Deprecated. Deletes a role from role store.
 boolean getAllRoles(java.lang.String filter, int maxCount, IRole[][] roles)
          Deprecated. Returns a maxCount of roles from the role store that match a particular filter.
 boolean getAllRolesPaged(int startIndex, int pageSize, IRole[][] roles)
          Deprecated. Returns a pageSize of roles from the role store from the startIndex.
 IRole getRole(java.lang.String rolename)
          Deprecated. Returns a role from the role store.
 boolean getRolesForUser(java.lang.String userName, java.lang.String filter, int maxCount, java.lang.String[][] rolenames)
          Deprecated. Returns roles assigned to a user that match a filter upto a maxCount number.
 int getTotalRoles()
          Deprecated. 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)
          Deprecated. Returns users within a role that match a filter upto a maxCount number.
 void initialize(IPropertySet pProps)
          Deprecated. Connects to a role store.
 boolean isReadOnly()
          Deprecated. Tests the connection to the role store.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void removeRoles(java.lang.String userName, java.lang.String[] rolenames)
          Deprecated. Removes roles assigned to a user.
 void removeUsersFromRole(java.lang.String rolename, java.lang.String[] usernames)
          Deprecated. Removes users from a role.
 void testConnection(IPropertySet pProps)
          Deprecated. Tests the connection to the role store.
 void updateRole(IRole pRole)
          Deprecated. Update an existing role in the role store.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IRoleStoreProxy

public IRoleStoreProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IRoleStoreProxy

public IRoleStoreProxy()
Deprecated. 
For internal use only


IRoleStoreProxy

public IRoleStoreProxy(java.lang.Object obj)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IRoleStoreProxy

protected IRoleStoreProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IRoleStoreProxy

protected IRoleStoreProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

testConnection

public void testConnection(IPropertySet pProps)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Tests the connection to the role store.

Specified by:
testConnection in interface IRoleStore
Parameters:
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

public void initialize(IPropertySet pProps)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Connects to a role store.

Specified by:
initialize in interface IRoleStore
Parameters:
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReadOnly

public boolean isReadOnly()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Tests the connection to the role store.

Specified by:
isReadOnly in interface IRoleStore
Returns:
The isReadOnly
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addRole

public void addRole(IRole pRole)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Add a new role to the role store.

Specified by:
addRole in interface IRoleStore
Parameters:
pRole - A reference to a com.esri.arcgis.server.IRole (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateRole

public void updateRole(IRole pRole)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Update an existing role in the role store.

Specified by:
updateRole in interface IRoleStore
Parameters:
pRole - A reference to a com.esri.arcgis.server.IRole (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRole

public void deleteRole(java.lang.String rolename)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Deletes a role from role store.

Specified by:
deleteRole in interface IRoleStore
Parameters:
rolename - The rolename (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRole

public IRole getRole(java.lang.String rolename)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Returns a role from the role store.

Specified by:
getRole in interface IRoleStore
Parameters:
rolename - The rolename (in)
Returns:
A reference to a com.esri.arcgis.server.IRole
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTotalRoles

public int getTotalRoles()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Returns the total number of roles in the role store.

Specified by:
getTotalRoles in interface IRoleStore
Returns:
The totalRoles
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllRoles

public boolean getAllRoles(java.lang.String filter,
                           int maxCount,
                           IRole[][] roles)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Returns a maxCount of roles from the role store that match a particular filter.

Specified by:
getAllRoles in interface IRoleStore
Parameters:
filter - The filter (in)
maxCount - The maxCount (in)
roles - A reference to a com.esri.arcgis.server.IRole array (out: use single element array)
Returns:
The hasMore
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllRolesPaged

public boolean getAllRolesPaged(int startIndex,
                                int pageSize,
                                IRole[][] roles)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Returns a pageSize of roles from the role store from the startIndex.

Specified by:
getAllRolesPaged in interface IRoleStore
Parameters:
startIndex - The startIndex (in)
pageSize - The pageSize (in)
roles - A reference to a com.esri.arcgis.server.IRole array (out: use single element array)
Returns:
The hasMore
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assignRoles

public void assignRoles(java.lang.String userName,
                        java.lang.String[] rolenames)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Assigns roles to a user.

Specified by:
assignRoles in interface IRoleStore
Parameters:
userName - The userName (in)
rolenames - The rolenames (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeRoles

public void removeRoles(java.lang.String userName,
                        java.lang.String[] rolenames)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Removes roles assigned to a user.

Specified by:
removeRoles in interface IRoleStore
Parameters:
userName - The userName (in)
rolenames - The rolenames (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRolesForUser

public boolean getRolesForUser(java.lang.String userName,
                               java.lang.String filter,
                               int maxCount,
                               java.lang.String[][] rolenames)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Returns roles assigned to a user that match a filter upto a maxCount number.

Specified by:
getRolesForUser in interface IRoleStore
Parameters:
userName - The userName (in)
filter - The filter (in)
maxCount - The maxCount (in)
rolenames - The rolenames (out: use single element array)
Returns:
The hasMore
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsersWithinRole

public boolean getUsersWithinRole(java.lang.String rolename,
                                  java.lang.String filter,
                                  int maxCount,
                                  java.lang.String[][] usernames)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Returns users within a role that match a filter upto a maxCount number.

Specified by:
getUsersWithinRole in interface IRoleStore
Parameters:
rolename - The rolename (in)
filter - The filter (in)
maxCount - The maxCount (in)
usernames - The usernames (out: use single element array)
Returns:
The hasMore
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addUsersToRole

public void addUsersToRole(java.lang.String rolename,
                           java.lang.String[] usernames)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Adds users to a role.

Specified by:
addUsersToRole in interface IRoleStore
Parameters:
rolename - The rolename (in)
usernames - The usernames (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeUsersFromRole

public void removeUsersFromRole(java.lang.String rolename,
                                java.lang.String[] usernames)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Removes users from a role.

Specified by:
removeUsersFromRole in interface IRoleStore
Parameters:
rolename - The rolename (in)
usernames - The usernames (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.