Class ActiveDirectorySchema
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.directoryservices.activedirectory.ActiveDirectoryPartition
-
- system.directoryservices.activedirectory.ActiveDirectorySchema
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class ActiveDirectorySchema extends ActiveDirectoryPartition
The base .NET class managing System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema, System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.DirectoryServicesstatic java.lang.String
className
Qualified class name: System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemastatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ActiveDirectorySchema()
ActiveDirectorySchema(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.directoryservices.activedirectory.ActiveDirectoryPartition
close, Dispose, getName
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.DirectoryServices, 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- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema- See Also:
- Constant Field Values
-
-
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 classActiveDirectoryPartition
- 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 classActiveDirectoryPartition
- 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 classActiveDirectoryPartition
- 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 classActiveDirectoryPartition
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classActiveDirectoryPartition
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classActiveDirectoryPartition
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ActiveDirectorySchema cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoActiveDirectorySchema
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ActiveDirectorySchema
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetCurrentSchema
public static ActiveDirectorySchema GetCurrentSchema() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, CryptographicException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
NotSupportedException
OutOfMemoryException
CryptographicException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
GetSchema
public static ActiveDirectorySchema GetSchema(DirectoryContext context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OutOfMemoryException, FormatException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, CryptographicException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OutOfMemoryException
FormatException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
CryptographicException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
FindClass
public ActiveDirectorySchemaClass FindClass(java.lang.String ldapDisplayName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, ArgumentException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, NotSupportedException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, FormatException, AbandonedMutexException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
MissingManifestResourceException
ArgumentException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
CultureNotFoundException
NotSupportedException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
FormatException
AbandonedMutexException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
FindDefunctClass
public ActiveDirectorySchemaClass FindDefunctClass(java.lang.String commonName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryOperationException, IndexOutOfRangeException, FormatException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
InvalidEnumArgumentException
OutOfMemoryException
AccessViolationException
ActiveDirectoryObjectNotFoundException
ActiveDirectoryOperationException
IndexOutOfRangeException
FormatException
PlatformNotSupportedException
-
FindDefunctProperty
public ActiveDirectorySchemaProperty FindDefunctProperty(java.lang.String commonName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryOperationException, IndexOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AccessViolationException
ActiveDirectoryObjectNotFoundException
ActiveDirectoryOperationException
IndexOutOfRangeException
PlatformNotSupportedException
-
FindProperty
public ActiveDirectorySchemaProperty FindProperty(java.lang.String ldapDisplayName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, ArgumentException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, NotSupportedException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, FormatException, AbandonedMutexException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
MissingManifestResourceException
ArgumentException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
CultureNotFoundException
NotSupportedException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
FormatException
AbandonedMutexException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
FindAllClasses
public ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, InvalidEnumArgumentException, NotSupportedException, NotImplementedException, AccessViolationException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentException
MissingManifestResourceException
InvalidEnumArgumentException
NotSupportedException
NotImplementedException
AccessViolationException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
SecurityException
-
FindAllClasses
public ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses(SchemaClassType type) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AccessViolationException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
SecurityException
-
FindAllDefunctClasses
public ReadOnlyActiveDirectorySchemaClassCollection FindAllDefunctClasses() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, InvalidEnumArgumentException, NotSupportedException, NotImplementedException, AccessViolationException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentException
MissingManifestResourceException
InvalidEnumArgumentException
NotSupportedException
NotImplementedException
AccessViolationException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
SecurityException
-
FindAllDefunctProperties
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllDefunctProperties() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, InvalidEnumArgumentException, NotSupportedException, NotImplementedException, AccessViolationException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentException
MissingManifestResourceException
InvalidEnumArgumentException
NotSupportedException
NotImplementedException
AccessViolationException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
SecurityException
-
FindAllProperties
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, InvalidEnumArgumentException, NotSupportedException, NotImplementedException, AccessViolationException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentException
MissingManifestResourceException
InvalidEnumArgumentException
NotSupportedException
NotImplementedException
AccessViolationException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
SecurityException
-
FindAllProperties
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties(PropertyTypes type) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AccessViolationException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
SecurityException
-
GetDirectoryEntry
public DirectoryEntry GetDirectoryEntry() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ActiveDirectoryOperationException, InvalidEnumArgumentException, SocketException, FormatException, AccessViolationException, PlatformNotSupportedException, OutOfMemoryException, ActiveDirectoryObjectNotFoundException, NotImplementedException
- Overrides:
GetDirectoryEntry
in classActiveDirectoryPartition
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
CultureNotFoundException
NotSupportedException
IndexOutOfRangeException
InvalidOperationException
MissingManifestResourceException
ActiveDirectoryOperationException
InvalidEnumArgumentException
SocketException
FormatException
AccessViolationException
PlatformNotSupportedException
OutOfMemoryException
ActiveDirectoryObjectNotFoundException
NotImplementedException
-
RefreshSchema
public void RefreshSchema() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, InvalidOperationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
ArgumentNullException
ActiveDirectoryOperationException
InvalidEnumArgumentException
FormatException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
InvalidOperationException
-
getSchemaRoleOwner
public DirectoryServer getSchemaRoleOwner() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException, FormatException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, NotSupportedException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
AbandonedMutexException
CultureNotFoundException
InvalidOperationException
FormatException
OutOfMemoryException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
NotSupportedException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
-