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=4.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.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.ApplicationPartitionstatic JCType
classType
The 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=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.ApplicationPartition- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationPartition
public ApplicationPartition(java.lang.Object instance) throws java.lang.Throwable
Internal 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) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, ArgumentException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, NotSupportedException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
MissingManifestResourceException
ArgumentException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
CultureNotFoundException
NotSupportedException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
FormatException
ObjectDisposedException
AbandonedMutexException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
ApplicationPartition
public ApplicationPartition(DirectoryContext context, java.lang.String distinguishedName, java.lang.String objectClass) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, ArgumentException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, NotSupportedException, ActiveDirectoryOperationException, SocketException, IndexOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
MissingManifestResourceException
ArgumentException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
CultureNotFoundException
NotSupportedException
ActiveDirectoryOperationException
SocketException
IndexOutOfRangeException
FormatException
ObjectDisposedException
AbandonedMutexException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
-
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 ApplicationPartition cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoApplicationPartition
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ApplicationPartition
instance- 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, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, MissingMethodException, TargetInvocationException, NotSupportedException, AccessViolationException, SecurityException, CultureNotFoundException, IndexOutOfRangeException, ActiveDirectoryOperationException, SocketException, FormatException, CryptographicException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
MissingMethodException
TargetInvocationException
NotSupportedException
AccessViolationException
SecurityException
CultureNotFoundException
IndexOutOfRangeException
ActiveDirectoryOperationException
SocketException
FormatException
CryptographicException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
-
GetApplicationPartition
public static ApplicationPartition GetApplicationPartition(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
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, CryptographicException, AccessViolationException, InvalidEnumArgumentException, ActiveDirectoryOperationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryObjectNotFoundException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
CryptographicException
AccessViolationException
InvalidEnumArgumentException
ActiveDirectoryOperationException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer(boolean forceRediscovery) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, CryptographicException, AccessViolationException, InvalidEnumArgumentException, ActiveDirectoryOperationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryObjectNotFoundException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
CryptographicException
AccessViolationException
InvalidEnumArgumentException
ActiveDirectoryOperationException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer(java.lang.String siteName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, CryptographicException, AccessViolationException, InvalidEnumArgumentException, ActiveDirectoryOperationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryObjectNotFoundException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
CryptographicException
AccessViolationException
InvalidEnumArgumentException
ActiveDirectoryOperationException
-
FindDirectoryServer
public DirectoryServer FindDirectoryServer(java.lang.String siteName, boolean forceRediscovery) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, CryptographicException, AccessViolationException, InvalidEnumArgumentException, ActiveDirectoryOperationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryObjectNotFoundException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
CryptographicException
AccessViolationException
InvalidEnumArgumentException
ActiveDirectoryOperationException
-
FindAllDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDirectoryServers() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryOperationException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, NotSupportedException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryOperationException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
NotSupportedException
OutOfMemoryException
SecurityException
-
FindAllDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDirectoryServers(java.lang.String siteName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryOperationException, InvalidEnumArgumentException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, NotSupportedException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryOperationException
InvalidEnumArgumentException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
NotSupportedException
OutOfMemoryException
SecurityException
-
FindAllDiscoverableDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDiscoverableDirectoryServers() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, AccessViolationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
AccessViolationException
-
FindAllDiscoverableDirectoryServers
public ReadOnlyDirectoryServerCollection FindAllDiscoverableDirectoryServers(java.lang.String siteName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, AccessViolationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
AccessViolationException
-
GetDirectoryEntry
public DirectoryEntry GetDirectoryEntry() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryOperationException, InvalidEnumArgumentException, SocketException, IndexOutOfRangeException, FormatException, AccessViolationException, PlatformNotSupportedException, OutOfMemoryException, ActiveDirectoryObjectNotFoundException
- Overrides:
GetDirectoryEntry
in classActiveDirectoryPartition
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryOperationException
InvalidEnumArgumentException
SocketException
IndexOutOfRangeException
FormatException
AccessViolationException
PlatformNotSupportedException
OutOfMemoryException
ActiveDirectoryObjectNotFoundException
-
Delete
public void Delete() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryOperationException, FormatException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, InvalidEnumArgumentException, CryptographicException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryOperationException
FormatException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
InvalidEnumArgumentException
CryptographicException
-
Save
public void Save() throws java.lang.Throwable, ObjectDisposedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, MissingManifestResourceException, NotSupportedException, ActiveDirectoryOperationException, InvalidEnumArgumentException, SocketException, FormatException, AccessViolationException, PlatformNotSupportedException, OutOfMemoryException, ActiveDirectoryObjectNotFoundException, NotImplementedException
- Throws:
java.lang.Throwable
ObjectDisposedException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
MissingManifestResourceException
NotSupportedException
ActiveDirectoryOperationException
InvalidEnumArgumentException
SocketException
FormatException
AccessViolationException
PlatformNotSupportedException
OutOfMemoryException
ActiveDirectoryObjectNotFoundException
NotImplementedException
-
getDirectoryServers
public DirectoryServerCollection getDirectoryServers() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException, InvalidEnumArgumentException, NotSupportedException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
InvalidOperationException
InvalidEnumArgumentException
NotSupportedException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
ActiveDirectoryOperationException
-
getSecurityReferenceDomain
public java.lang.String getSecurityReferenceDomain() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
OutOfMemoryException
SecurityException
-
setSecurityReferenceDomain
public void setSecurityReferenceDomain(java.lang.String SecurityReferenceDomain) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ActiveDirectoryOperationException, PlatformNotSupportedException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ActiveDirectoryOperationException
PlatformNotSupportedException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
OutOfMemoryException
SecurityException
-
-