Class SearchRequest
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.directoryservices.protocols.DirectoryOperation
-
- system.directoryservices.protocols.DirectoryRequest
-
- system.directoryservices.protocols.SearchRequest
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SearchRequest extends DirectoryRequest
The base .NET class managing System.DirectoryServices.Protocols.SearchRequest, System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.Protocols.SearchRequest
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.DirectoryServices.Protocolsstatic java.lang.String
className
Qualified class name: System.DirectoryServices.Protocols.SearchRequeststatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SearchRequest()
SearchRequest(java.lang.Object instance)
Internal constructor.SearchRequest(java.lang.String distinguishedName, java.lang.String ldapFilter, SearchScope searchScope, java.lang.String... attributeList)
SearchRequest(java.lang.String distinguishedName, XmlDocument filter, SearchScope searchScope, java.lang.String... attributeList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchRequest
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSearchRequest
, a cast assert is made to check if types are compatible.DereferenceAlias
getAliases()
StringCollection
getAttributes()
java.lang.String
getDistinguishedName()
NetObject
getFilter()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeSearchScope
getScope()
int
getSizeLimit()
TimeSpan
getTimeLimit()
boolean
getTypesOnly()
void
setAliases(DereferenceAlias Aliases)
void
setDistinguishedName(java.lang.String DistinguishedName)
void
setFilter(NetObject Filter)
void
setJCOInstance(JCObject instance)
void
setScope(SearchScope Scope)
void
setSizeLimit(int SizeLimit)
void
setTimeLimit(TimeSpan TimeLimit)
void
setTypesOnly(boolean TypesOnly)
-
Methods inherited from class system.directoryservices.protocols.DirectoryRequest
getControls, getRequestId, setRequestId
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.DirectoryServices.Protocols- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.DirectoryServices.Protocols.SearchRequest- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchRequest
public SearchRequest(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SearchRequest
public SearchRequest() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException
-
SearchRequest
public SearchRequest(java.lang.String distinguishedName, java.lang.String ldapFilter, SearchScope searchScope, java.lang.String... attributeList) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException
-
SearchRequest
public SearchRequest(java.lang.String distinguishedName, XmlDocument filter, SearchScope searchScope, java.lang.String... attributeList) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDirectoryRequest
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDirectoryRequest
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDirectoryRequest
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDirectoryRequest
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDirectoryRequest
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDirectoryRequest
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SearchRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSearchRequest
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SearchRequest
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getTypesOnly
public boolean getTypesOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTypesOnly
public void setTypesOnly(boolean TypesOnly) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSizeLimit
public int getSizeLimit() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSizeLimit
public void setSizeLimit(int SizeLimit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getAttributes
public StringCollection getAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAliases
public DereferenceAlias getAliases() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAliases
public void setAliases(DereferenceAlias Aliases) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
getScope
public SearchScope getScope() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setScope
public void setScope(SearchScope Scope) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
getFilter
public NetObject getFilter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFilter
public void setFilter(NetObject Filter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getDistinguishedName
public java.lang.String getDistinguishedName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDistinguishedName
public void setDistinguishedName(java.lang.String DistinguishedName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTimeLimit
public TimeSpan getTimeLimit() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTimeLimit
public void setTimeLimit(TimeSpan TimeLimit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
-