public class ConfigurationServiceImpl extends Object implements ConfigurationService
| Constructor and Description |
|---|
ConfigurationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddress(Collection<org.nhindirect.config.store.Address> address)
Add an Address.
|
void |
addAnchors(Collection<org.nhindirect.config.store.Anchor> anchors)
Add a collection of Anchors.
|
void |
addCertificates(Collection<org.nhindirect.config.store.Certificate> certs)
Add a Certificate.
|
void |
addDNS(Collection<org.nhindirect.config.store.DNSRecord> records)
Adds multiple new DNS records to the store.
|
void |
addDomain(org.nhindirect.config.store.Domain domain)
Add a new Domain.
|
void |
addPolicy(org.nhindirect.config.store.CertPolicy policy) |
void |
addPolicyGroup(org.nhindirect.config.store.CertPolicyGroup group) |
void |
addPolicyUseToGroup(long groupId,
long policyId,
org.nhindirect.config.store.CertPolicyUse policyUse,
boolean incoming,
boolean outgoing) |
void |
addSetting(String name,
String value) |
void |
addTrustBundle(org.nhindirect.config.store.TrustBundle bundle)
Adds a trust bundle to the system.
|
void |
associatePolicyGroupToDomain(long domainId,
long policyGroupId) |
void |
associateTrustBundleToDomain(long domainId,
long trustBundleId,
boolean incoming,
boolean outgoing)
Associates a domain to a trust bundle.
|
boolean |
contains(org.nhindirect.config.store.Certificate cert)
Determines if a certificate exists in the certificate store.
|
void |
deletePolicies(long[] policyIds) |
void |
deletePolicyGroups(long[] groupIds) |
void |
deleteSetting(Collection<String> names) |
void |
deleteTrustBundles(long[] trustBundleIds)
Deletes a set of trust bundle from the system.
|
void |
disassociatePolicyGroupFromDomain(long domainId,
long policyGroupId) |
void |
disassociatePolicyGroupFromDomains(long policyGroupId) |
void |
disassociatePolicyGroupsFromDomain(long domainId) |
void |
disassociateTrustBundleFromDomain(long domainId,
long trustBundleId)
Dissociates a domain from a trust bundle.
|
void |
disassociateTrustBundleFromDomains(long trustBundleId)
Dissociates a trust bundle from all domains.
|
void |
disassociateTrustBundlesFromDomain(long domainId)
Dissociates a domain from all trust bundles.
|
Collection<org.nhindirect.config.store.Address> |
getAddress(Collection<String> addressNames,
org.nhindirect.config.store.EntityStatus status)
Get a collection of all Addresses matching the parameters.
|
int |
getAddressCount()
Get a count of Addresses.
|
AddressService |
getAddressSvc()
Get the AddressService object.
|
Collection<org.nhindirect.config.store.Setting> |
getAllSettings() |
org.nhindirect.config.store.Anchor |
getAnchor(String owner,
String thumbprint,
CertificateGetOptions options)
Get an Anchor.
|
Collection<org.nhindirect.config.store.Anchor> |
getAnchors(Collection<Long> anchorIds,
CertificateGetOptions options)
Get a collection of Anchors.
|
Collection<org.nhindirect.config.store.Anchor> |
getAnchorsForOwner(String owner,
CertificateGetOptions options)
Get a collection of Anchors for an owner.
|
AnchorService |
getAnchorSvc()
Get the AnchorService object.
|
org.nhindirect.config.store.Certificate |
getCertificate(String owner,
String thumbprint,
CertificateGetOptions options)
Get a Certificate.
|
CertificatePolicyService |
getCertificatePolicySvc()
Get the CertificatePolicyService object.
|
Collection<org.nhindirect.config.store.Certificate> |
getCertificates(Collection<Long> certIds,
CertificateGetOptions options)
Get a collection of Certificates.
|
Collection<org.nhindirect.config.store.Certificate> |
getCertificatesForOwner(String owner,
CertificateGetOptions options)
Get a collection of Certificates for an owner.
|
CertificateService |
getCertSvc()
Get the CertificateService object.
|
Collection<org.nhindirect.config.store.DNSRecord> |
getDNSByName(String name)
Gets DNS records by record name.
|
Collection<org.nhindirect.config.store.DNSRecord> |
getDNSByNameAndType(String name,
int type)
Gets DNS records by record name and a specific record type.
|
org.nhindirect.config.store.DNSRecord |
getDNSByRecordId(long recordId)
Gets a single DNS record for an internal record id.
|
Collection<org.nhindirect.config.store.DNSRecord> |
getDNSByRecordIds(long[] recordIds)
Gets DNS records by the internal record ids.
|
Collection<org.nhindirect.config.store.DNSRecord> |
getDNSByType(int type)
Gets all DNS records or a given type.
|
int |
getDNSCount()
Gets the number of records in the DNS store.
|
DNSService |
getDNSSvc()
Get the DNSService object.
|
org.nhindirect.config.store.Domain |
getDomain(Long id)
Return a Domain matching the given ID.
|
int |
getDomainCount()
Get a count of Domains.
|
Collection<org.nhindirect.config.store.Domain> |
getDomains(Collection<String> domainNames,
org.nhindirect.config.store.EntityStatus status)
Get a collection of all Domains matching the parameters.
|
DomainService |
getDomainSvc()
Get the DomainService object.
|
Collection<org.nhindirect.config.store.Anchor> |
getIncomingAnchors(String owner,
CertificateGetOptions options)
Get a collection of incoming Anchors.
|
Collection<org.nhindirect.config.store.Anchor> |
getOutgoingAnchors(String owner,
CertificateGetOptions options)
Get a collection of outgoing Anchors.
|
Collection<org.nhindirect.config.store.CertPolicy> |
getPolicies() |
org.nhindirect.config.store.CertPolicy |
getPolicyById(long id) |
org.nhindirect.config.store.CertPolicy |
getPolicyByName(String policyName) |
org.nhindirect.config.store.CertPolicyGroup |
getPolicyGroupById(long id) |
org.nhindirect.config.store.CertPolicyGroup |
getPolicyGroupByName(String policyGroupName) |
Collection<org.nhindirect.config.store.CertPolicyGroupDomainReltn> |
getPolicyGroupDomainReltns() |
Collection<org.nhindirect.config.store.CertPolicyGroup> |
getPolicyGroups() |
Collection<org.nhindirect.config.store.CertPolicyGroupDomainReltn> |
getPolicyGroupsByDomain(long domainId) |
org.nhindirect.config.store.Setting |
getSettingByName(String name) |
Collection<org.nhindirect.config.store.Setting> |
getSettingsByNames(Collection<String> names) |
SettingService |
getSettingSvc()
Get the SettingService object.
|
org.nhindirect.config.store.TrustBundle |
getTrustBundleById(long id)
Gets a specific trust bundle by its internal id.
|
org.nhindirect.config.store.TrustBundle |
getTrustBundleByName(String bundleName)
Gets a specific trust bundle by name.
|
Collection<org.nhindirect.config.store.TrustBundle> |
getTrustBundles(boolean fetchAnchors)
Gets a collection of all trust bundles in the system
|
Collection<org.nhindirect.config.store.TrustBundleDomainReltn> |
getTrustBundlesByDomain(long domainId,
boolean fetchAnchors)
Gets all trust bundles associated with a domain
|
TrustBundleService |
getTrustBundleSvc()
Get the TrustBundleService object.
|
void |
init()
Initialization method.
|
Collection<org.nhindirect.config.store.Address> |
listAddresss(String lastAddressName,
int maxResults)
Return a list of Addresses matching the parameters.
|
Collection<org.nhindirect.config.store.Anchor> |
listAnchors(Long lastAnchorID,
int maxResults,
CertificateGetOptions options)
Get a collection of Anchors.
|
Collection<org.nhindirect.config.store.Certificate> |
listCertificates(long lastCertificateId,
int maxResults,
CertificateGetOptions options)
Get a collection of Certificates.
|
Collection<org.nhindirect.config.store.Domain> |
listDomains(String lastDomainName,
int maxResults)
Return a list of Domains matching the parameters.
|
void |
refreshTrustBundle(long id)
Forces an on demand refresh of a trust bundle regardless of its refresh internal.
|
void |
removeAddress(String addressName)
Remove an Address.
|
void |
removeAnchors(Collection<Long> anchorIds)
Remove an Anchor.
|
void |
removeAnchorsForOwner(String owner)
Remove the Anchors for an owner.
|
void |
removeCertificates(Collection<Long> certificateIds)
Remove a Certificate.
|
void |
removeCertificatesForOwner(String owner)
Remove the Certificates for an owner.
|
void |
removeDNS(Collection<org.nhindirect.config.store.DNSRecord> records)
Removes DNS records matching the DNS records' name and type.
|
void |
removeDNSByRecordId(long recordId)
Removes a single DNS record by an existing internal record id.
|
void |
removeDNSByRecordIds(long[] recordIds)
Removes DNS records by existing internal record ids.
|
void |
removeDomain(String domainName)
Deprecated.
|
void |
removeDomainById(Long domainId)
Remove a Domain.
|
void |
removePolicyUseFromGroup(long policyGroupReltnId) |
Collection<org.nhindirect.config.store.Domain> |
searchDomain(String domain,
org.nhindirect.config.store.EntityStatus status)
Return a collection of Domains matching the parameters.
|
void |
setAddressSvc(AddressService addressSvc)
Set the AddressService object.
|
void |
setAnchorStatusForOwner(String owner,
org.nhindirect.config.store.EntityStatus status)
Set an Anchor status for a given owner.
|
void |
setAnchorSvc(AnchorService anchorSvc)
Set the AnchorService object.
|
void |
setCertificatePolicySvc(CertificatePolicyService certPolicySvc)
Set the CertificatePolicyService object.
|
void |
setCertificateStatus(Collection<Long> certificateIds,
org.nhindirect.config.store.EntityStatus status)
Set a Certificate status.
|
void |
setCertificateStatusForOwner(String owner,
org.nhindirect.config.store.EntityStatus status)
Set the Certificate status for an owner.
|
void |
setCertSvc(CertificateService certSvc)
Set the CertificateService object.
|
void |
setDNSSvc(DNSService dnsSvc)
Set the DNSService object.
|
void |
setDomainSvc(DomainService domainSvc)
Set the DomainService object.
|
void |
setSettingSvc(SettingService settingSvc)
Set the SettingService object.
|
void |
setTrustBundleSvc(TrustBundleService trustBundleSvc)
Set the TrustBundleService object.
|
void |
updateAddress(org.nhindirect.config.store.Address address)
Update an Address.
|
void |
updateDNS(long recordId,
org.nhindirect.config.store.DNSRecord record)
Update a DNS record for a specific internal id.
|
void |
updateDomain(org.nhindirect.config.store.Domain domain)
Update a Domain.
|
void |
updateGroupAttributes(long id,
String groupName) |
void |
updateLastUpdateError(long trustBundleId,
Calendar attemptTime,
org.nhindirect.config.store.BundleRefreshError error)
Updates the last error that occurred when trying to download or refresh the bundle from its URL.
|
void |
updatePolicyAttributes(long id,
String policyName,
org.nhindirect.policy.PolicyLexicon lexicon,
byte[] policyData) |
void |
updateSetting(String name,
String value) |
void |
updateTrustBundleAttributes(long trustBundleId,
String bundleName,
String bundleUrl,
org.nhindirect.config.store.Certificate signingCert,
int refreshInterval)
Updates multiple attributes of a trust bundle.
|
void |
updateTrustBundleSigningCertificate(long trustBundleId,
org.nhindirect.config.store.Certificate signingCert)
Updates the signing certificate used to validate the authenticity of a bundle.
|
public void init()
@FaultAction(className=ConfigurationFault.class) public void addAddress(Collection<org.nhindirect.config.store.Address> address) throws ConfigurationServiceException
AddressServiceaddAddress in interface AddressServiceaddress - The Address to add.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateAddress(org.nhindirect.config.store.Address address) throws ConfigurationServiceException
AddressServiceupdateAddress in interface AddressServiceaddress - The Address to update.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public int getAddressCount() throws ConfigurationServiceException
AddressServicegetAddressCount in interface AddressServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Address> getAddress(Collection<String> addressNames, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
AddressServicegetAddress in interface AddressServiceaddressNames - A collection of address names.status - An EntityStatus object.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeAddress(String addressName) throws ConfigurationServiceException
AddressServiceremoveAddress in interface AddressServiceaddressName - The address name.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Address> listAddresss(String lastAddressName, int maxResults) throws ConfigurationServiceException
AddressServicelistAddresss in interface AddressServicelastAddressName - The last address name.maxResults - The maximum number of results.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addDomain(org.nhindirect.config.store.Domain domain) throws ConfigurationServiceException
DomainServiceaddDomain in interface DomainServicedomain - The Domain to add.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateDomain(org.nhindirect.config.store.Domain domain) throws ConfigurationServiceException
DomainServiceupdateDomain in interface DomainServicedomain - The Domain to update.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public int getDomainCount() throws ConfigurationServiceException
DomainServicegetDomainCount in interface DomainServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Domain> getDomains(Collection<String> domainNames, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
DomainServicegetDomains in interface DomainServicedomainNames - A collection of domain names.status - An EntityStatus object.ConfigurationServiceException@Deprecated @FaultAction(className=ConfigurationFault.class) public void removeDomain(String domainName) throws ConfigurationServiceException
DomainServiceremoveDomain in interface DomainServicedomainName - The name of the Domain to remove.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeDomainById(Long domainId) throws ConfigurationServiceException
DomainServiceremoveDomainById in interface DomainServicedomainId - The id of the Domain to remove.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Domain> listDomains(String lastDomainName, int maxResults) throws ConfigurationServiceException
DomainServicelistDomains in interface DomainServicelastDomainName - The last domain name.maxResults - The maximum number of results.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Domain> searchDomain(String domain, org.nhindirect.config.store.EntityStatus status)
DomainServicesearchDomain in interface DomainServicedomain - The Domain name.status - The Domain EntityStatus.@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.Domain getDomain(Long id)
DomainServicegetDomain in interface DomainServiceid - The ID of the Domain.@FaultAction(className=ConfigurationFault.class) public void addCertificates(Collection<org.nhindirect.config.store.Certificate> certs) throws ConfigurationServiceException
CertificateServiceaddCertificates in interface CertificateServicecerts - The Certificate.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void setCertificateStatus(Collection<Long> certificateIds, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
CertificateServicesetCertificateStatus in interface CertificateServicecertificateIds - A collection of Certificates.status - The Certificate status.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void setCertificateStatusForOwner(String owner, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
CertificateServicesetCertificateStatusForOwner in interface CertificateServiceowner - The Certificate owner.status - The Certificate status.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeCertificates(Collection<Long> certificateIds) throws ConfigurationServiceException
CertificateServiceremoveCertificates in interface CertificateServicecertificateIds - A collection of Certificate IDs.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeCertificatesForOwner(String owner) throws ConfigurationServiceException
CertificateServiceremoveCertificatesForOwner in interface CertificateServiceowner - The Certificate owner.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public boolean contains(org.nhindirect.config.store.Certificate cert)
CertificateServicecontains in interface CertificateServicecert - The certificate to search for.@FaultAction(className=ConfigurationFault.class) public void addAnchors(Collection<org.nhindirect.config.store.Anchor> anchors) throws ConfigurationServiceException
AnchorServiceaddAnchors in interface AnchorServiceanchors - A collection of Anchors.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void setAnchorStatusForOwner(String owner, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
AnchorServicesetAnchorStatusForOwner in interface AnchorServiceowner - The anchor owner.status - The anchor status.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeAnchors(Collection<Long> anchorIds) throws ConfigurationServiceException
AnchorServiceremoveAnchors in interface AnchorServiceanchorIds - A collection of Anchor IDs.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeAnchorsForOwner(String owner) throws ConfigurationServiceException
AnchorServiceremoveAnchorsForOwner in interface AnchorServiceowner - The Anchor owner.ConfigurationServiceExceptionpublic DomainService getDomainSvc()
@Autowired public void setDomainSvc(DomainService domainSvc)
domainSvc - The DomainService object.public AddressService getAddressSvc()
@Autowired public void setAddressSvc(AddressService addressSvc)
addressSvc - The ADdressService object.public CertificateService getCertSvc()
@Autowired public void setCertSvc(CertificateService certSvc)
certSvc - The CertificateService object.public SettingService getSettingSvc()
@Autowired public void setSettingSvc(SettingService settingSvc)
settingSvc - The SettingService object.public AnchorService getAnchorSvc()
@Autowired public void setAnchorSvc(AnchorService anchorSvc)
anchorSvc - The AnchorService object.public DNSService getDNSSvc()
@Autowired public void setDNSSvc(DNSService dnsSvc)
anchorSvc - The DNSService object.public TrustBundleService getTrustBundleSvc()
@Autowired public void setTrustBundleSvc(TrustBundleService trustBundleSvc)
trustBundleSvc - The TrustBundleService object.public CertificatePolicyService getCertificatePolicySvc()
@Autowired public void setCertificatePolicySvc(CertificatePolicyService certPolicySvc)
certPolicySvc - The CertificatePolicyService object.@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.Certificate getCertificate(String owner, String thumbprint, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicegetCertificate in interface CertificateServiceowner - The Certificate owner.thumbprint - The Certificate thumbprint.options - The Certificate options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Certificate> getCertificates(Collection<Long> certIds, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicegetCertificates in interface CertificateServicecertIds - A collection of Certificate IDs.options - The Certificate options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Certificate> getCertificatesForOwner(String owner, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicegetCertificatesForOwner in interface CertificateServiceowner - The Certificate owner.options - The Certificate options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Certificate> listCertificates(long lastCertificateId, int maxResults, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicelistCertificates in interface CertificateServicelastCertificateId - The last Certificate ID.maxResults - The maximum number of results.options - The Certificate options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.Anchor getAnchor(String owner, String thumbprint, CertificateGetOptions options) throws ConfigurationServiceException
AnchorServicegetAnchor in interface AnchorServiceowner - The Anchor owner.thumbprint - The Anchor thumbprint.options - The Anchor options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Anchor> getAnchors(Collection<Long> anchorIds, CertificateGetOptions options) throws ConfigurationServiceException
AnchorServicegetAnchors in interface AnchorServiceanchorIds - A collection of Anchor IDs.options - The Anchor options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Anchor> getAnchorsForOwner(String owner, CertificateGetOptions options) throws ConfigurationServiceException
AnchorServicegetAnchorsForOwner in interface AnchorServiceowner - The Anchor owner.options - The Anchor options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Anchor> getIncomingAnchors(String owner, CertificateGetOptions options) throws ConfigurationServiceException
AnchorServicegetIncomingAnchors in interface AnchorServiceowner - The Anchor owner.options - The Anchor options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Anchor> getOutgoingAnchors(String owner, CertificateGetOptions options) throws ConfigurationServiceException
AnchorServicegetOutgoingAnchors in interface AnchorServiceowner - The Anchor owner.options - The Anchor options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Anchor> listAnchors(Long lastAnchorID, int maxResults, CertificateGetOptions options) throws ConfigurationServiceException
AnchorServicelistAnchors in interface AnchorServicelastAnchorID - The last Anchor ID.maxResults - The maximum number of results.options - The Anchor options.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addSetting(String name, String value) throws ConfigurationServiceException
addSetting in interface SettingServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Setting> getAllSettings() throws ConfigurationServiceException
getAllSettings in interface SettingServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.Setting getSettingByName(String name) throws ConfigurationServiceException
getSettingByName in interface SettingServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.Setting> getSettingsByNames(Collection<String> names) throws ConfigurationServiceException
getSettingsByNames in interface SettingServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateSetting(String name, String value) throws ConfigurationServiceException
updateSetting in interface SettingServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void deleteSetting(Collection<String> names) throws ConfigurationServiceException
deleteSetting in interface SettingServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addDNS(Collection<org.nhindirect.config.store.DNSRecord> records) throws ConfigurationServiceException
addDNS in interface DNSServicerecords - The records to add the store. If a record already exists, then an exception is thrown.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.DNSRecord> getDNSByName(String name) throws ConfigurationServiceException
getDNSByName in interface DNSServicename - The record name.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.DNSRecord> getDNSByNameAndType(String name, int type) throws ConfigurationServiceException
getDNSByNameAndType in interface DNSServicename - The record name.type - The record type to search for.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.DNSRecord getDNSByRecordId(long recordId) throws ConfigurationServiceException
getDNSByRecordId in interface DNSServicerecordId - The internal record id to search for.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.DNSRecord> getDNSByRecordIds(long[] recordIds) throws ConfigurationServiceException
getDNSByRecordIds in interface DNSServicerecordIds - Array of record ids to search for.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.DNSRecord> getDNSByType(int type) throws ConfigurationServiceException
getDNSByType in interface DNSServicetype - The record type to search for.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public int getDNSCount() throws ConfigurationServiceException
getDNSCount in interface DNSServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeDNS(Collection<org.nhindirect.config.store.DNSRecord> records) throws ConfigurationServiceException
removeDNS in interface DNSServicerecords - Records to delete. Matching is done by name and type.ConfigurationServiceExceptionpublic void removeDNSByRecordId(long recordId)
throws ConfigurationServiceException
DNSServiceremoveDNSByRecordId in interface DNSServicerecordId - The internal record id to delete.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removeDNSByRecordIds(long[] recordIds) throws ConfigurationServiceException
removeDNSByRecordIds in interface DNSServicerecordIds - The internal record ids to delete.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateDNS(long recordId, org.nhindirect.config.store.DNSRecord record) throws ConfigurationServiceException
updateDNS in interface DNSServicerecordId - The internal record id to update.record - Data to update the record with.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.TrustBundle> getTrustBundles(boolean fetchAnchors) throws ConfigurationServiceException
getTrustBundles in interface TrustBundleServicefetchAnchors - Indicates if the anchors should be fetched. When only the trust bundle names are needed, it is desireable
to suppress returning the list of anchors for efficiency.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.TrustBundle getTrustBundleByName(String bundleName) throws ConfigurationServiceException
getTrustBundleByName in interface TrustBundleServicebundleName - The bundle name.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.TrustBundle getTrustBundleById(long id) throws ConfigurationServiceException
getTrustBundleById in interface TrustBundleServiceid - The internal trust bundle id.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addTrustBundle(org.nhindirect.config.store.TrustBundle bundle) throws ConfigurationServiceException
addTrustBundle in interface TrustBundleServicebundle - The bundle to add.ConfigurationServiceException - Throw if a bundle with the same name already exists of if required properties
are empty or null.@FaultAction(className=ConfigurationFault.class) public void refreshTrustBundle(long id) throws ConfigurationServiceException
refreshTrustBundle in interface TrustBundleServiceid - The id of the trust bundle to refresh.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateLastUpdateError(long trustBundleId, Calendar attemptTime, org.nhindirect.config.store.BundleRefreshError error) throws ConfigurationServiceException
updateLastUpdateError in interface TrustBundleServicetrustBundleId - The id of the bundle.attemptTime - The time the bundle update was attemptederror - The reason for the error.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void deleteTrustBundles(long[] trustBundleIds) throws ConfigurationServiceException
deleteTrustBundles in interface TrustBundleServicetrustBundleIds - The ids of the bundles to delete.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateTrustBundleSigningCertificate(long trustBundleId, org.nhindirect.config.store.Certificate signingCert) throws ConfigurationServiceException
updateTrustBundleSigningCertificate in interface TrustBundleServicetrustBundleId - The trust bundle id.signingCert - The certificate used to sign the bundleConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateTrustBundleAttributes(long trustBundleId, String bundleName, String bundleUrl, org.nhindirect.config.store.Certificate signingCert, int refreshInterval) throws ConfigurationServiceException
TrustBundleServiceupdateTrustBundleAttributes in interface TrustBundleServicetrustBundleId - The id of the bundle to update.bundleName - The new bundle name. If empty or null, then the name is not updated. If the URL changes, a bundle refresh is forced.bundleUrl - The new bundle url. If empty or null, then the url is not updated.signingCert - The new certificate used to sign the bundle. The attributes will be applied even if the signingCert is null.refreshInterval - The new refresh interval.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void associateTrustBundleToDomain(long domainId, long trustBundleId, boolean incoming, boolean outgoing) throws ConfigurationServiceException
associateTrustBundleToDomain in interface TrustBundleServicedomainId - The id of the domain.trustBundleId - The id of the trust bundle.incoming - Indicates if the trust should allow incoming messages.outgoing - Indicates if the trust should allow outgoing messages.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void disassociateTrustBundleFromDomain(long domainId, long trustBundleId) throws ConfigurationServiceException
disassociateTrustBundleFromDomain in interface TrustBundleServicedomainId - The id of the domaintrustBundleId - The id of the trust bundleConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void disassociateTrustBundlesFromDomain(long domainId) throws ConfigurationServiceException
disassociateTrustBundlesFromDomain in interface TrustBundleServicedomainId - The id of the domainConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void disassociateTrustBundleFromDomains(long trustBundleId) throws ConfigurationServiceException
disassociateTrustBundleFromDomains in interface TrustBundleServicetrustBundleId - The trust bundle id.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.TrustBundleDomainReltn> getTrustBundlesByDomain(long domainId, boolean fetchAnchors) throws ConfigurationServiceException
getTrustBundlesByDomain in interface TrustBundleServicedomainId - The domain idfetchAnchors - Indicates if the anchors should be returned with each bundle. When only the trust bundle names are needed, it is desirable
to suppress returning the list of anchors for efficiency.ConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.CertPolicy> getPolicies() throws ConfigurationServiceException
getPolicies in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.CertPolicy getPolicyByName(String policyName) throws ConfigurationServiceException
getPolicyByName in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.CertPolicy getPolicyById(long id) throws ConfigurationServiceException
getPolicyById in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addPolicy(org.nhindirect.config.store.CertPolicy policy) throws ConfigurationServiceException
addPolicy in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void deletePolicies(long[] policyIds) throws ConfigurationServiceException
deletePolicies in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updatePolicyAttributes(long id, String policyName, org.nhindirect.policy.PolicyLexicon lexicon, byte[] policyData) throws ConfigurationServiceException
updatePolicyAttributes in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.CertPolicyGroup> getPolicyGroups() throws ConfigurationServiceException
getPolicyGroups in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.CertPolicyGroup getPolicyGroupByName(String policyGroupName) throws ConfigurationServiceException
getPolicyGroupByName in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public org.nhindirect.config.store.CertPolicyGroup getPolicyGroupById(long id) throws ConfigurationServiceException
getPolicyGroupById in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addPolicyGroup(org.nhindirect.config.store.CertPolicyGroup group) throws ConfigurationServiceException
addPolicyGroup in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void deletePolicyGroups(long[] groupIds) throws ConfigurationServiceException
deletePolicyGroups in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void updateGroupAttributes(long id, String groupName) throws ConfigurationServiceException
updateGroupAttributes in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void addPolicyUseToGroup(long groupId, long policyId, org.nhindirect.config.store.CertPolicyUse policyUse, boolean incoming, boolean outgoing) throws ConfigurationServiceException
addPolicyUseToGroup in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void removePolicyUseFromGroup(long policyGroupReltnId) throws ConfigurationServiceException
removePolicyUseFromGroup in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void associatePolicyGroupToDomain(long domainId, long policyGroupId) throws ConfigurationServiceException
associatePolicyGroupToDomain in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void disassociatePolicyGroupFromDomain(long domainId, long policyGroupId) throws ConfigurationServiceException
disassociatePolicyGroupFromDomain in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void disassociatePolicyGroupsFromDomain(long domainId) throws ConfigurationServiceException
disassociatePolicyGroupsFromDomain in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public void disassociatePolicyGroupFromDomains(long policyGroupId) throws ConfigurationServiceException
disassociatePolicyGroupFromDomains in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.CertPolicyGroupDomainReltn> getPolicyGroupDomainReltns() throws ConfigurationServiceException
getPolicyGroupDomainReltns in interface CertificatePolicyServiceConfigurationServiceException@FaultAction(className=ConfigurationFault.class) public Collection<org.nhindirect.config.store.CertPolicyGroupDomainReltn> getPolicyGroupsByDomain(long domainId) throws ConfigurationServiceException
getPolicyGroupsByDomain in interface CertificatePolicyServiceConfigurationServiceExceptionCopyright © 2015. All Rights Reserved.