Module: ODDB::State::Admin::PowerLinkUser

Includes:
User
Defined in:
src/state/global_predefine.rb,
src/state/admin/powerlinkuser.rb

Constant Summary

RESOLVE_STATES =
{
  [ :company ]            =>  State::Companies::PowerLinkCompany,
  [ :fachinfo ]           => State::Drugs::RootFachinfo,
  [ :registration ]       => State::Admin::ResellerRegistration,
  [ :registration,
    :sequence ]            =>  State::Admin::ResellerSequence,
  [ :registration,
    :sequence, :package ]  => State::Admin::DeductiblePackage,
}

Constants included from User

RESOLVE_STATES

Instance Method Summary (collapse)

Methods included from User

#resolve_state, #user_navigation

Instance Method Details

- (Object) fipi_overview



27
28
29
30
31
32
# File 'src/state/admin/powerlinkuser.rb', line 27

def fipi_overview
  if((pointer = @session.user_input(:pointer)) \
    && (company = pointer.resolve(@session.app)))
    State::Companies::FiPiOverview.new(@session, company)
  end
end

- (Boolean) limited?

Returns:

  • (Boolean)


39
40
41
# File 'src/state/admin/powerlinkuser.rb', line 39

def limited?
  false
end

- (Object) new_fachinfo



33
34
35
36
37
38
# File 'src/state/admin/powerlinkuser.rb', line 33

def new_fachinfo
  if((pointer = @session.user_input(:pointer)) \
      && (registration = pointer.resolve(@session)))
    _new_fachinfo(registration)
  end
end