Interface RegulatoryContentService
public interface RegulatoryContentService
This class defines the methods used to manipulate regulatory content information, which will primarily wrap the
ContentHelper and ContentSvrHelper services
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
StandardRegulatoryContentServiceRegulatoryContentHelper
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllRegulatoryContent(RegulatorySubmission submission) Deletes all content associated with the regulatory submission.deleteRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category) Deletes the content associated with the provided regulatory submission on the category.getPrimaryContent(RegulatorySubmission submission) Get the Primary content associated with respective Regulatory Submission.getRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category) Returns the ContentItem associated with the provided regulatory submission on the category or null if no content is associated with the regulatory submission on the category
Supported API: truestorePrimaryContent(RegulatorySubmission submission, InputStream is, String fileName) Stores the given content as ApplicationData for the given Regulatory submission under PrimaryContent.storeRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category, File content) Stores the given content as ApplicationData for the given regulatory submission under the provided category.storeRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category, String fileName, InputStream is) Stores the given content as ApplicationData for the given regulatory submission under the provided category.storeRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category, String fileName, String content) Stores the given content as ApplicationData for the given regulatory submission under the provided category.
-
Method Details
-
storeRegulatoryContent
RegulatorySubmission storeRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category, File content) throws IOException, WTException, PropertyVetoException Stores the given content as ApplicationData for the given regulatory submission under the provided category. Will throw an error if a submission already has content on the provided category. Will iterate the regulatory submission if it is not already checked out and is revisable
Supported API: true- Parameters:
submission-category-content-- Returns:
- Throws:
IOExceptionWTExceptionPropertyVetoException
-
storeRegulatoryContent
RegulatorySubmission storeRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category, String fileName, InputStream is) throws IOException, WTException, PropertyVetoException Stores the given content as ApplicationData for the given regulatory submission under the provided category. Will throw a WTException if a submission already has content on the provided category. Will iterate the regulatory submission if it is not already checked out and is revisable
Supported API: true- Parameters:
submission-category-fileName-is-- Returns:
- Throws:
IOExceptionWTExceptionPropertyVetoException
-
storeRegulatoryContent
RegulatorySubmission storeRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category, String fileName, String content) throws IOException, WTException, PropertyVetoException Stores the given content as ApplicationData for the given regulatory submission under the provided category. Will throw WTException if a submission already has content on the provided category. Will iterate the regulatory submission if it is not already checked out and is revisable
Supported API: true- Parameters:
submission-category-fileName-content-- Returns:
- Throws:
IOExceptionWTExceptionPropertyVetoException
-
getRegulatoryContent
ContentItem getRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category) throws WTException, PropertyVetoException Returns the ContentItem associated with the provided regulatory submission on the category or null if no content is associated with the regulatory submission on the category
Supported API: true- Parameters:
submission-category-- Returns:
- ContentItem
- Throws:
WTExceptionPropertyVetoException
-
deleteRegulatoryContent
RegulatorySubmission deleteRegulatoryContent(RegulatorySubmission submission, RegulatoryContentCategory category) throws WTPropertyVetoException, WTException Deletes the content associated with the provided regulatory submission on the category. Will throw a WTException if the submission does not have content on the category. Will iterate the regulatory submission if it is not already checked out and is revisable
Supported API: true- Parameters:
submission-category-- Throws:
WTPropertyVetoExceptionWTException
-
deleteAllRegulatoryContent
void deleteAllRegulatoryContent(RegulatorySubmission submission) throws WTPropertyVetoException, WTException Deletes all content associated with the regulatory submission. Will iterate the regulatory submission if it is not already checked out and is revisable
Supported API: true- Parameters:
submission-- Throws:
WTPropertyVetoExceptionWTException
-
storePrimaryContent
RegulatorySubmission storePrimaryContent(RegulatorySubmission submission, InputStream is, String fileName) throws IOException, WTException, PropertyVetoException Stores the given content as ApplicationData for the given Regulatory submission under PrimaryContent. Before storing the primary content, it will first check for any existing one and if found it will delete it and create a new one. It will iterate the regulatory submission if it is not already checked out and is revisable.
Supported API: true- Parameters:
submission-is-fileName-- Returns:
- Throws:
IOExceptionWTExceptionPropertyVetoException
-
getPrimaryContent
Get the Primary content associated with respective Regulatory Submission.
Supported API: true- Parameters:
submission-- Returns:
- Throws:
WTException
-