view Lib/IMPL/ORM/Adapter/Generic.pm @ 171:59e5fcb59d86

Исправления, изменена концепция веб-форм
author sourcer
date Mon, 06 Jun 2011 03:30:36 +0400
parents 2d1c3f713280
children d1676be8afcc
line wrap: on
line source

package IMPL::ORM::Adapter::Generic;

1;

__END__

=pod

=head1 NAME

C<IMPL::ORM::Adapter::Generic>        .

=head1 DESCRIPTION

  ,    ,     
    .

=head1 MEMBERS

=over

=item C<CTOR($object,$hashOptions)>

     C<$object>

=item C<[get]object>

     , C<undef>   .

=item C<[get]isChanged>

    .

=item C<[get]isDeleted>

   .

=item C<[get]isNew>

     .

=item C<[get]initialState>

  , C<undef>    .

=item C<[get]currentState>

 . C<undef>   .

=item C<[get,list]history>

 . C<IMPL::Object::List>

=item C<SaveChanges>

      ,      .

B<returns>     . 

=item C<Revert($version)>

    .

=item C<Delete>

 ,        C<Commit>.

=item C<Commit>

  ,    .

=back

=head1    

=begin code

{
	version => 1, # object version
	op => STORAGE_UPDATE,
	data => {
		entity1 => {
			field1 => 'value 1'
		},
		entity2 => {
			field2 => 'value 2'
		}
	}
}

=end code

=head1    

=begin code

{
	prop_name => [ entity => 'field' ]
}

=end code

=cut