Class: ODDB::State::Admin::CompanySequence

Inherits:
Sequence show all
Defined in:
src/state/admin/sequence.rb,
src/state/admin/companyuser.rb

Constant Summary

Constants inherited from Sequence

RECIPIENTS, VIEW

Constants included from PatinfoPdfMethods

HTML_PARSER, PDF_DIR

Constants inherited from Global

HOME_STATE, ZONE

Constants inherited from Global

DIRECT_EVENT, GLOBAL_MAP, HOME_STATE, LIMITED, PRINT_STATES, READONLY_STATES, RESOLVE_STATES, REVERSE_MAP, VIEW, ZONE_NAVIGATION

Constants included from UmlautSort

FILTER_PAIRS

Instance Method Summary (collapse)

Methods inherited from Sequence

#atc_request

Methods included from SequenceMethods

#ajax_create_active_agent, #ajax_create_composition, #ajax_delete_active_agent, #ajax_delete_composition, #check_model, #update_compositions

Methods included from PatinfoPdfMethods

#assign_patinfo, #get_patinfo_input, #parse_patinfo, #store_slate_item

Methods inherited from Global

#zone_navigation

Methods inherited from Global

#_search_drugs, #_search_drugs_state, #_trigger, #add_to_interaction_basket, #allowed?, #atc_chooser, #checkout, #clear_interaction_basket, #creditable?, #direct_request_path, #doctorlist, #download, #export_csv, #extend, #fachinfo, #feedbacks, #help_navigation, #home_navigation, #home_state, #hospitallist, #interaction_basket, #limit_state, #limited?, #logout, #navigation, #notify, #password_reset, #paypal_return, #powerlink, #print, #proceed_download, #proceed_poweruser, #resolve, #resolve_state, #rss, #search, #show, #snapback_event, #sort, #sponsorlink, #suggest_address, #switch, #unique_email, #user_input, #user_navigation, #ywesee_contact, #zone_navigation, #zones

Methods included from LoginMethods

#autologin, #login

Methods included from UmlautSort

#sort_model, #umlaut_filter

Instance Method Details

- (Object) delete



357
358
359
360
361
# File 'src/state/admin/sequence.rb', line 357

def delete
  if(allowed?)
    super
  end
end

- (Object) init



351
352
353
354
355
356
# File 'src/state/admin/sequence.rb', line 351

def init
  super
  unless(allowed?)
    @default_view = View::Admin::Sequence 
  end
end

- (Object) new_active_agent



362
363
364
365
366
# File 'src/state/admin/sequence.rb', line 362

def new_active_agent
  if(allowed?)
    super
  end
end

- (Object) new_package



367
368
369
370
371
# File 'src/state/admin/sequence.rb', line 367

def new_package
  if(allowed?)
    super
  end
end

- (Object) store_slate



377
378
379
# File 'src/state/admin/sequence.rb', line 377

def store_slate
  store_slate_item(Time.now, :annual_fee)
end

- (Object) update



372
373
374
375
376
# File 'src/state/admin/sequence.rb', line 372

def update
  if(allowed?)
    super
  end
end