Class AbstractRegulatorySubmissionProcessor

java.lang.Object
com.ptc.qualitymanagement.regmstr.impl.AbstractRegulatorySubmissionProcessor
All Implemented Interfaces:
RegulatorySubmissionProcessorInterface
Direct Known Subclasses:
AbstractRegSubmission2Processor, RegulatorySubmission2Processor, SimpleRegulatorySubmissionProcessor

public class AbstractRegulatorySubmissionProcessor extends Object implements RegulatorySubmissionProcessorInterface
Provides default implementations for generic features required by all regulatory submissions. Many method will need to overridden to provide agency implementations.

Generally this class should not be directly extended instead, extend the five child classes of this class.

It is an anti-pattern to have switch or if statement based up the type of the RegulatorySubmission in this class. Instead, implement the type specific code in the correct child class.

Not all methods will have generic implementations that apply to all regulatory submission types. In some cases, a "demo" implementation should be implemented here for demo purposes. These methods should have javadoc indicating that they contain demo code. All methods need detailed javadoc describing what they do so customizations can understand if they need the behavior changed.



Supported API: true

Extendable: true

See Also: