Package | Description |
---|---|
dk.netarkivet.harvester.datamodel | |
dk.netarkivet.harvester.webinterface |
Modifier and Type | Method and Description |
---|---|
static Domain |
Domain.getDefaultDomain(String domainName)
Get a new domain, initialised with default values.
|
protected Domain |
DomainDBDAO.read(Connection c,
String domainName) |
protected abstract Domain |
DomainDAO.read(Connection connection,
String domainName)
Read a domain from the persistent storage.
|
Domain |
DomainDAO.read(String domainName)
Read a domain from the persistent storage.
|
protected Domain |
DomainDBDAO.readKnown(Connection c,
String domainName) |
protected abstract Domain |
DomainDAO.readKnown(Connection connection,
String domainName)
Read a domain from the persistent storage known to exist.
|
Domain |
DomainDAO.readKnown(String domainName)
Read a domain from the persistent storage known to exist.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Domain> |
DomainDBDAO.getAllDomains() |
abstract Iterator<Domain> |
DomainDAO.getAllDomains()
Gets list of all domains.
|
Iterator<Domain> |
DomainDBDAO.getAllDomainsInSnapshotHarvestOrder() |
abstract Iterator<Domain> |
DomainDAO.getAllDomainsInSnapshotHarvestOrder()
Gets list of all domains in the order expected by snapshot harvest job generation, that is order by template
name, then byte limit (descending), then domain name.
|
Iterator<Domain> |
DomainDAO.iterator()
Gets an iterator of all domains.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainConfiguration.addPassword(Domain domain,
Password password)
Add password to the configuration.
|
void |
DomainConfiguration.addSeedList(Domain domain,
SeedList seedlist)
Add a new seedlist to the configuration.
|
protected void |
DomainDBDAO.create(Connection connection,
Domain d) |
protected abstract void |
DomainDAO.create(Connection connection,
Domain domain)
Create a domain in persistent storage.
|
void |
DomainDAO.create(Domain domain)
Create a domain in persistent storage.
|
void |
DomainConfiguration.setPasswords(Domain domain,
List<Password> newPasswords)
Sets the used passwords to the given list.
|
void |
DomainConfiguration.setSeedLists(Domain domain,
List<SeedList> newSeedlists)
Sets the used seedlists to the given list.
|
void |
DomainDBDAO.update(Domain d) |
abstract void |
DomainDAO.update(Domain domain)
Update information about existing domain information.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainDAO.create(List<Domain> domains)
Create a list of domains in persistent storage.
|
Constructor and Description |
---|
DomainConfiguration(String theConfigName,
Domain domain,
List<SeedList> seedlists,
List<Password> passwords)
Create a new configuration for a domain.
|
Modifier and Type | Method and Description |
---|---|
static List<DomainConfiguration> |
DomainDefinition.getUsedConfiguration(Domain domain,
Locale locale)
Returns the list of domain configurations which are either used in a concrete harvest or is a 'default
configuration'.
|
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.