NAME

Rit::Base::Resource::Change

DESCRIPTION

Represent a group of changes done to the database.

new

add_to_deathrow

remove_from_deathrow

deathrow_list

pred_id_by_row

set_pred_id_by_row

arc_id_by_row

set_arc_id_by_row

subj_id_by_row

set_subj_id_by_row

changes

changes_add

  $c->changes_add()

  $c->changes_add( $num )

$num defaults to 1

Returns: The new total number of changes

add_newarc

newarcs

Returns: a Rit::Base::List of arcs

arc_params_count

field_handled

set_field_handled

sysdesig

  $c->sysdesig(\%args, $ident)

autocommit

  $this->autocommit( \%args )

This will submit/activate all new arcs.

All arc subjects will be marked with Rit::Base::Resource/mark_updated if they already have a node record.

If the current user has root access; All submitted arcs will be activated.

Supported args:

  activate - tries to activate all arcs
  update - the time of the update

Returns: The number of new arcs processed

commit

Commits resources and explicitly commits the dbh. This will usually be done by hooks.

SEE ALSO

Rit::Base::Resource