mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Add javadoc to contact/host flows and mark them final
Also make minor javadoc tweaks to domain transfer flows to match what we are changing in contact/host flows. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133955677
This commit is contained in:
@@ -44,14 +44,21 @@ import javax.inject.Inject;
|
||||
import org.joda.time.Duration;
|
||||
|
||||
/**
|
||||
* An EPP flow that deletes a contact resource.
|
||||
/**
|
||||
* An EPP flow that deletes a contact.
|
||||
*
|
||||
* <p>Contacts that are in use by any domain cannot be deleted. The flow may return immediately if a
|
||||
* quick smoke check determines that deletion is impossible due to an existing reference. However, a
|
||||
* successful delete will always be asynchronous, as all existing domains must be checked for
|
||||
* references to the host before the deletion is allowed to proceed. A poll message will be written
|
||||
* with the success or failure message when the process is complete.
|
||||
*
|
||||
* @error {@link google.registry.flows.ResourceFlowUtils.ResourceNotOwnedException}
|
||||
* @error {@link google.registry.flows.exceptions.ResourceStatusProhibitsOperationException}
|
||||
* @error {@link google.registry.flows.exceptions.ResourceToDeleteIsReferencedException}
|
||||
* @error {@link google.registry.flows.exceptions.ResourceToMutateDoesNotExistException}
|
||||
*/
|
||||
public class ContactDeleteFlow extends LoggedInFlow implements TransactionalFlow {
|
||||
public final class ContactDeleteFlow extends LoggedInFlow implements TransactionalFlow {
|
||||
|
||||
private static final ImmutableSet<StatusValue> DISALLOWED_STATUSES = ImmutableSet.of(
|
||||
StatusValue.LINKED,
|
||||
|
||||
Reference in New Issue
Block a user