class OLE_QA::Framework::OLELS::Item_Editor
The OLE Library System MARC Item Record Editor
Screen
Public Instance Methods
set_elements()
click to toggle source
Set Item Editor
screen elements.
Calls superclass method
OLE_QA::Framework::OLELS::Editor#set_elements
# File lib/olels/pages/item_editor.rb, line 19 def set_elements super # Holdings Location/Call Number Information element(:holdings_location_field) {b.span(:id => "OleHoldingLocationLevelName_control")} element(:holdings_prefix_field) {b.span(:id => "OleHoldingCallNumberPrefix_control")} element(:holdings_shelving_order_field) {b.span(:id => "OleHoldingShelvingOrder_control")} element(:holdings_call_number_field) {b.span(:id => "OleHoldingCallNumber_control")} element(:holdings_call_number_type_field) {b.span(:id => "OleHoldingShelvingScheme_control")} # Item Location/Call Number Information element(:location_field) {b.text_field(:id => "OleItemLocationLevelName_control")} element(:prefix_field) {b.text_field(:id => "OleItemCallNumberPrefix_control")} element(:shelving_order_field) {b.text_field(:id => "OleItemShelvingOrder_control")} element(:call_number_field) {b.text_field(:id => "OleItemCallNumber_control")} element(:call_number_type_selector) {b.select_list(:id => "OleItemShelvingScheme_control")} element(:browse_button) {b.button(:id => "callNumberItemBrowseLink")} # Item Information element(:item_id_field) {b.text_field(:id => "oleItemIdentifier_ID_control")} element(:barcode_field) {b.text_field(:id => "oleItemAccessInformationBarcode_control")} element(:barcode_arsl_field) {b.text_field(:id => "oleItemBarcodeARSL_control")} element(:former_identifiers_field) {b.text_field(:id => "oleItemFormerIdentifier_control")} element(:statistical_searching_codes_selector) {b.select_list(:id => "oleItemStatisticalSearchingCodes_control")} element(:temp_item_type_selector) {b.select_list(:id => "oleItemTemporaryItemType_control")} element(:enumeration_field) {b.text_field(:id => "oleItemEnumeration_control")} element(:chronology_field) {b.text_field(:id => "oleItemChronology_control")} element(:copy_number_field) {b.text_field(:id => "oleItemCopyNumber_control")} element(:access_info_uri_field) {b.text_field(:id => "oleItemAccessInformationURI_control")} element(:item_type_selector) {b.select_list(:id => "oleItemItemType_control")} element(:number_of_pieces_field) {b.select_list(:id => "oleItemNumberOfPiece_control")} # Acquisition Information element(:po_line_item_id_field) {b.text_field(:id => "oleItemPoID_control")} element(:vendor_line_item_id_field) {b.text_field(:id => "oleItemVendorLineItemID_control")} element(:fund_field) {b.text_field(:id => "oleItemFund_control")} element(:price_field) {b.text_field(:id => "oleItemPrice_control")} element(:donor_public_display_field) {b.text_field(:id => "oleItemDonorPublicDisplay_control")} element(:donor_note_field) {b.text_field(:id => "oleItemDonorNote_control")} # Circulation Information element(:item_status_selector) {b.select_list(:id => "oleItemStatus_control")} element(:checkin_note_field) {b.text_field(:id => "oleItemCheckinNote_control")} element(:item_effective_status_date) {b.text_field(:id => "oleItemStatusEffectiveDate_control")} element(:fast_add_checkbox) {b.checkbox(:id => "oleItemFastAdd_control")} element(:staff_only_checkbox) {b.checkbox(:id => "oleItemStaffOnly_control")} # Extended Information element(:high_density_storage_field) {b.text_field(:id => "oleItemHighDensityStorage_control")} # Read-Only Elements (non-iterative elements not requiring input) element(:readonly_edit_button) {b.button(:text => /Edit/)} element(:readonly_item_id) {b.span(:id => 'oleItemIdentifier_ID_control')} element(:readonly_barcode) {b.span(:id => 'oleItemAccessInformationBarcode_control')} element(:readonly_enumeration) {b.span(:id => 'oleItemEnumeration_control')} element(:readonly_chronology) {b.span(:id => 'oleItemChronology_control')} element(:readonly_copy_number) {b.span(:id => 'oleItemCopyNumber_control')} element(:readonly_item_status) {b.span(:id => 'oleItemStatusReadOnly_control')} element(:readonly_item_type) {b.span(:id => 'oleItemItemType_control')} element(:readonly_fast_add) {b.span(:id => 'oleItemFastAdd_control')} end
set_functions()
click to toggle source
Set commonly-used functions on the Item Editor
page.
Calls superclass method
OLE_QA::Framework::OLELS::Editor#set_functions
# File lib/olels/pages/item_editor.rb, line 75 def set_functions super # Return an array containing the text of multiple message elements. function(:get_messages) {ary_out = [] ; messages.each {|msg| ary_out << msg.text} ; ary_out} end
set_lines()
click to toggle source
Create an item note line object.
# File lib/olels/pages/item_editor.rb, line 82 def set_lines set_line(:item_note, OLE_QA::Framework::OLELS::Item_Note) end