NAME

App::Dochazka::CLI::Commands::History - History commands

PACKAGE VARIABLES

FUNCTIONS

The functions in this module are called from the parser when it recognizes a command.

Command handlers

Command handler functions are called from the parser.

dump_priv_history

    PRIV HISTORY
    EMPLOYEE_SPEC PRIV HISTORY

dump_schedule_history

    SCHEDULE HISTORY
    EMPLOYEE_SPEC SCHEDULE HISTORY

add_priv_history

Add privilege history record.

    EMPLOYEE_SPEC PRIV_SPEC _DATE
    EMPLOYEE_SPEC PRIV_SPEC EFFECTIVE _DATE
    EMPLOYEE_SPEC SET PRIV_SPEC _DATE
    EMPLOYEE_SPEC SET PRIV_SPEC EFFECTIVE _DATE

add_schedule_history

Add schedule history record.

    EMPLOYEE_SPEC SCHEDULE_SPEC _DATE
    EMPLOYEE_SPEC SCHEDULE_SPEC EFFECTIVE _DATE
    EMPLOYEE_SPEC SET SCHEDULE_SPEC _DATE
    EMPLOYEE_SPEC SET SCHEDULE_SPEC EFFECTIVE _DATE

set_history_remark

    PHISTORY_SPEC REMARK
    PHISTORY_SPEC SET REMARK
    SHISTORY_SPEC REMARK
    SHISTORY_SPEC SET REMARK

Helper functions

Functions called from multiple command handlers.

_add_history

Add a history record

_dump_history

_print_priv_history

Take a privhistory and print it

_print_schedule_history

Take a schedhistory and print it

_process_employee_spec

Given EMPLOYEE_SPEC, return a status object that can either be OK with employee object in payload or NOT_OK with mrest_declare_status already called.