com.adobe.idp.um.api.infomodel
Interface Domain


public interface Domain

This is the interface containing domain information.


Nested Class Summary
static class Domain.DomainNameComprator
          Class used to compare domains.
 
Field Summary
static java.lang.String STATUS_CURRENT
          The domain is current.
static java.lang.String STATUS_OBSOLETE
          The domain is obsolete.
static java.lang.String STATUS_PRE_OBSOLETE
          Domains can have a pre-obsolete state if the directory synchronization process has not yet completely marked them as obsolete.
 
Method Summary
 java.lang.String getDomainCommonName()
          Retrieves the domain's common name.
 java.lang.String getDomainName()
          Retrieves the domain's canonical name.
 int getDomainSubtype()
          Retrieves the subtype of the domain
 java.lang.String getOid()
          Retrieves the domain's identifier.
 java.lang.String getStatus()
          Retrieves the domain's status.
 java.lang.String getSyncState()
          Retrieves the domain's synchronization state.
 int getVisibility()
          Retrieves the domain's visibility.
 boolean isAccountLockingEnabled()
          Determines whether account locking is enabled.
 boolean isLocal()
          Determines whether the domain is local.
 void setAccountLocking(boolean accountLocking)
          Enables or disables the domain's account locking.
 void setDomainCommonName(java.lang.String domainCommonName)
          Sets the domain's common name.
 void setVisibility(int visibility)
          Sets the domain's visibility.
 

Field Detail

STATUS_CURRENT

static final java.lang.String STATUS_CURRENT
The domain is current.


STATUS_PRE_OBSOLETE

static final java.lang.String STATUS_PRE_OBSOLETE
Domains can have a pre-obsolete state if the directory synchronization process has not yet completely marked them as obsolete. You may also use if (! STATUS_CURRENT) in your application code instead.


STATUS_OBSOLETE

static final java.lang.String STATUS_OBSOLETE
The domain is obsolete.

Method Detail

getDomainCommonName

java.lang.String getDomainCommonName()
Retrieves the domain's common name.

Returns:
The domain's common name.

getDomainName

java.lang.String getDomainName()
Retrieves the domain's canonical name.

Returns:
The domain's canonical name.

isLocal

boolean isLocal()
Determines whether the domain is local.

Returns:
true if the domain is local, false otherwise.

getOid

java.lang.String getOid()
Retrieves the domain's identifier.

Returns:
The domain's identifier.

isAccountLockingEnabled

boolean isAccountLockingEnabled()
Determines whether account locking is enabled.

Returns:
true if account locking is enabled, false otherwise.

getVisibility

int getVisibility()
Retrieves the domain's visibility.

Returns:
The domain's visibility.

setVisibility

void setVisibility(int visibility)
Sets the domain's visibility.

Parameters:
visibility - The domain's visibility.

setAccountLocking

void setAccountLocking(boolean accountLocking)
Enables or disables the domain's account locking.

Parameters:
accountLocking - true if account locking is enabled, false otherwise.

getStatus

java.lang.String getStatus()
Retrieves the domain's status.

Returns:
The domain's status.

getSyncState

java.lang.String getSyncState()
Retrieves the domain's synchronization state.

Returns:
The domain's synchronization state.

setDomainCommonName

void setDomainCommonName(java.lang.String domainCommonName)
Sets the domain's common name.

Parameters:
domainCommonName - The domain's common name.

getDomainSubtype

int getDomainSubtype()
Retrieves the subtype of the domain