Class ApplicationPartition
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.directoryservices.activedirectory.ActiveDirectoryPartition
-
- system.directoryservices.activedirectory.ApplicationPartition
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class ApplicationPartition extends ActiveDirectoryPartition
The base .NET class managing System.DirectoryServices.ActiveDirectory.ApplicationPartition, System.DirectoryServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.ApplicationPartition
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.StringassemblyFullNameFully assembly qualified name: System.DirectoryServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.DirectoryServicesstatic java.lang.StringclassNameQualified class name: System.DirectoryServices.ActiveDirectory.ApplicationPartitionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ApplicationPartition()ApplicationPartition(java.lang.Object instance)Internal constructor.ApplicationPartition(DirectoryContext context, java.lang.String distinguishedName)ApplicationPartition(DirectoryContext context, java.lang.String distinguishedName, java.lang.String objectClass)
-
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=8.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.ApplicationPartition- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationPartition
public ApplicationPartition(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ApplicationPartition
public ApplicationPartition() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ApplicationPartition
public ApplicationPartition(DirectoryContext context, java.lang.String distinguishedName, java.lang.String objectClass) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionSynchronizationLockException
-
ApplicationPartition
public ApplicationPartition(DirectoryContext context, java.lang.String distinguishedName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionSynchronizationLockException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classActiveDirectoryPartition- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classActiveDirectoryPartition- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classActiveDirectoryPartition- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classActiveDirectoryPartition- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classActiveDirectoryPartition
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classActiveDirectoryPartition- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ApplicationPartition cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoApplicationPartition, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ApplicationPartitioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
FindByName
public static ApplicationPartition FindByName(DirectoryContext context, java.lang.String distinguishedName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, IndexOutOfRangeException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetApplicationPartition
public static ApplicationPartition GetApplicationPartition(DirectoryContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, IndexOutOfRangeException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryObjectNotFoundException, AccessViolationException, InvalidEnumArgumentException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer(boolean forceRediscovery) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryObjectNotFoundException, AccessViolationException, InvalidEnumArgumentException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer(java.lang.String siteName, boolean forceRediscovery) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryObjectNotFoundException, AccessViolationException, InvalidEnumArgumentException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryObjectNotFoundException, AccessViolationException, InvalidEnumArgumentException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
FindAllDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDirectoryServers() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
FindAllDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDirectoryServers(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
FindAllDiscoverableDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDiscoverableDirectoryServers() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FindAllDiscoverableDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDiscoverableDirectoryServers(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
GetDirectoryEntry
public DirectoryEntry GetDirectoryEntry() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, AccessViolationException, OutOfMemoryException, ActiveDirectoryObjectNotFoundException, NotImplementedException
- Overrides:
GetDirectoryEntryin classActiveDirectoryPartition- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionAccessViolationExceptionOutOfMemoryExceptionActiveDirectoryObjectNotFoundExceptionNotImplementedException
-
Delete
public void Delete() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, FormatException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, CryptographicException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionCryptographicException
-
Save
public void Save() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, OverflowException, FormatException, ActiveDirectoryOperationException, InvalidEnumArgumentException, AccessViolationException, ActiveDirectoryObjectNotFoundException, NotImplementedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryExceptionOverflowExceptionFormatExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionAccessViolationExceptionActiveDirectoryObjectNotFoundExceptionNotImplementedException
-
getDirectoryServers
public DirectoryServerCollection getDirectoryServers() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
getSecurityReferenceDomain
public java.lang.String getSecurityReferenceDomain() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
setSecurityReferenceDomain
public void setSecurityReferenceDomain(java.lang.String SecurityReferenceDomain) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException, LockRecursionException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityExceptionLockRecursionExceptionSynchronizationLockException
-
-