ingestion/document_scanner: getPreferredAttachedDocumentPublicationState type based method
This customizable type based method is used in "Attach Document" and "Scan Document" dialogs, to set a default value in the dialog for the publication state field.