예제 #1
0
def record(browser, abstract, document):
    record_document_type_and_number(browser, abstract, document)
    aggregate_document_table_information(browser, abstract, document)
    record_comments(abstract, document)
    record_empty_values(
        abstract,
        ['effective date', 'book', 'volume', 'page', 'document link'])
예제 #2
0
def re_record_document_fields(browser, abstract, document):
    abstract.drop_last_entry()
    browser.refresh()
    record_comments(abstract, document)
    record_empty_values(abstract,
                        ['effective date', 'volume', 'document link'])
    medium_nap()
    record_document_fields(browser, abstract, document)
예제 #3
0
def record_document_fields(browser, abstract, document):
    record_document_type(browser, abstract, document)
    record_indexing_information(browser, abstract, document)
    record_parties(browser, abstract, document)
    record_legal(browser, abstract, document)
    record_related_documents(browser, abstract, document)
    record_empty_values(abstract, ['volume', 'document link'])
    record_comments(abstract, document)
예제 #4
0
def aggregate_document_information(abstract, rows, document):
    record_reception_number(abstract, rows, document)
    record_book_and_page(abstract, rows)
    record_recording_date(abstract, rows)
    record_document_type(abstract, rows)
    record_grantor(abstract, rows)
    record_grantee(abstract, rows)
    record_related_documents(abstract, rows)
    record_legal(abstract, rows)
    record_empty_values(abstract,
                        ['effective date', 'volume', 'document link'])
    record_comments(abstract, document)
예제 #5
0
def record_document_fields(browser, abstract, document):
    record_value(browser, abstract, document, 'reception number', id=reception_number_id)  # Reception Number
    record_value(browser, abstract, document, 'volume', id=volume_id, alt='null')  # Volume
    record_value(browser, abstract, document, 'page', id=page_id, alt='null')  # Page
    record_value(browser, abstract, document, 'effective date', id=effective_date_id, alt='empty')  # Effective Date
    record_value(browser, abstract, document, 'recording date', id=recording_date_id, alt='empty')  # Recording Date
    record_value(browser, abstract, document, 'document type', id=document_type_id, alt='null')  # Document Type
    record_value(browser, abstract, document, 'legal', id=legal_id, alt='null')  # Legal
    record_parties_information(browser, abstract, document)  # Grantor / Grantee
    record_book(abstract)  # Book
    record_related_documents(abstract)  # Related Documents
    record_comments(abstract, document)  # Comments
    record_document_link(abstract)
예제 #6
0
def record(browser, abstract, document):
    if not abstract.review:
        if abstract.download_only:
            build_document_download_information(browser, abstract, document)
        else:
            record_comments(
                abstract, document
            )  # Before 'handle_document_image_status' to check for multiple documents
            handle_document_image_status(browser, abstract, document)
            record_document_fields(browser, abstract, document)
            record_empty_values(abstract,
                                ['effective date', 'volume', 'document link'])
            abstract.check_last_document(document)
            review_entry(browser, abstract, document)