Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2d7e4203

Von Sven Schöling vor mehr als 11 Jahren hinzugefügt

  • ID 2d7e4203055156dccb2ca3fba82bbb32873ecd2e
  • Vorgänger b8b112a3
  • Nachfolger 4bcf8804

initialize in SL::DB::Objects statt im MetaSetup

Unterschiede anzeigen:

SL/DB/AccTransaction.pm
7 7

  
8 8
use SL::DB::MetaSetup::AccTransaction;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/AuditTrail.pm
7 7

  
8 8
use SL::DB::MetaSetup::AuditTrail;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/AuthClientGroup.pm
4 4

  
5 5
use SL::DB::MetaSetup::AuthClientGroup;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
__PACKAGE__->meta->make_manager_class;
8 10

  
9 11
1;
SL/DB/AuthClientUser.pm
4 4

  
5 5
use SL::DB::MetaSetup::AuthClientUser;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
__PACKAGE__->meta->make_manager_class;
8 10

  
9 11
1;
SL/DB/AuthGroupRight.pm
4 4

  
5 5
use SL::DB::MetaSetup::AuthGroupRight;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
__PACKAGE__->meta->make_manager_class;
8 10

  
9 11
1;
SL/DB/AuthUserConfig.pm
4 4

  
5 5
use SL::DB::MetaSetup::AuthUserConfig;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
__PACKAGE__->meta->make_manager_class;
8 10

  
9 11
1;
SL/DB/AuthUserGroup.pm
4 4

  
5 5
use SL::DB::MetaSetup::AuthUserGroup;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
__PACKAGE__->meta->make_manager_class;
8 10

  
9 11
1;
SL/DB/BackgroundJob.pm
10 10

  
11 11
use SL::System::Process;
12 12

  
13
__PACKAGE__->meta->initialize;
14

  
13 15
__PACKAGE__->before_save('_before_save_set_next_run_at');
14 16

  
15 17
sub _before_save_set_next_run_at {
SL/DB/BackgroundJobHistory.pm
8 8
use SL::DB::MetaSetup::BackgroundJobHistory;
9 9
use SL::DB::Manager::BackgroundJobHistory;
10 10

  
11
__PACKAGE__->meta->initialize;
12

  
11 13
1;
SL/DB/BankAccount.pm
7 7

  
8 8
use SL::DB::MetaSetup::BankAccount;
9 9

  
10
__PACKAGE__->meta->initialize;
10 11
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 12
__PACKAGE__->meta->make_manager_class;
12 13

  
SL/DB/Bin.pm
4 4

  
5 5
use SL::DB::MetaSetup::Bin;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
__PACKAGE__->meta->make_manager_class;
8 10

  
9 11
1;
SL/DB/Business.pm
5 5
use SL::DB::MetaSetup::Business;
6 6
use SL::DB::Manager::Business;
7 7

  
8
__PACKAGE__->meta->initialize;
9

  
8 10
sub validate {
9 11
  my ($self) = @_;
10 12

  
SL/DB/CsvImportProfileSetting.pm
9 9

  
10 10
require SL::DB::MetaSetup::CsvImportProfileSetting;
11 11

  
12
__PACKAGE__->meta->initialize;
13

  
12 14
__PACKAGE__->meta->make_manager_class;
13 15

  
14 16
# Helpers' clone_and_reset also kills compund keys like in this case kay+id
SL/DB/CsvImportReportRow.pm
7 7

  
8 8
use SL::DB::MetaSetup::CsvImportReportRow;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/CsvImportReportStatus.pm
7 7

  
8 8
use SL::DB::MetaSetup::CsvImportReportStatus;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Currency.pm
5 5
use SL::DB::MetaSetup::Currency;
6 6
use SL::DB::Manager::Currency;
7 7

  
8
__PACKAGE__->meta->initialize;
9

  
8 10
1;
SL/DB/CustomVariable.pm
7 7

  
8 8
use SL::DB::MetaSetup::CustomVariable;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/CustomVariableConfig.pm
9 9
use SL::DB::Manager::CustomVariableConfig;
10 10
use SL::DB::Helper::ActsAsList;
11 11

  
12
__PACKAGE__->meta->initialize;
13

  
12 14
__PACKAGE__->configure_acts_as_list(group_by => [qw(module)]);
13 15

  
14 16
sub validate {
SL/DB/CustomVariableValidity.pm
7 7

  
8 8
use SL::DB::MetaSetup::CustomVariableValidity;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Datev.pm
7 7

  
8 8
use SL::DB::MetaSetup::Datev;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Default.pm
4 4

  
5 5
use SL::DB::MetaSetup::Default;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
8 10
__PACKAGE__->meta->make_manager_class;
9 11

  
SL/DB/DeliveryOrderItemsStock.pm
7 7

  
8 8
use SL::DB::MetaSetup::DeliveryOrderItemsStock;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Department.pm
7 7

  
8 8
use SL::DB::DptTrans;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
sub validate {
11 13
  my ($self) = @_;
12 14

  
SL/DB/DptTrans.pm
7 7

  
8 8
use SL::DB::MetaSetup::DptTrans;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Draft.pm
7 7

  
8 8
use SL::DB::MetaSetup::Draft;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Dunning.pm
7 7

  
8 8
use SL::DB::MetaSetup::Dunning;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/DunningConfig.pm
7 7

  
8 8
use SL::DB::MetaSetup::DunningConfig;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Employee.pm
5 5
use SL::DB::MetaSetup::Employee;
6 6
use SL::DB::Manager::Employee;
7 7

  
8
__PACKAGE__->meta->initialize;
9

  
8 10
sub has_right {
9 11
  my $self  = shift;
10 12
  my $right = shift;
SL/DB/Exchangerate.pm
7 7

  
8 8
use SL::DB::MetaSetup::Exchangerate;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Finanzamt.pm
7 7

  
8 8
use SL::DB::MetaSetup::Finanzamt;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/FollowUp.pm
7 7

  
8 8
use SL::DB::MetaSetup::FollowUp;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/FollowUpAccess.pm
7 7

  
8 8
use SL::DB::MetaSetup::FollowUpAccess;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/FollowUpLink.pm
7 7

  
8 8
use SL::DB::MetaSetup::FollowUpLink;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/GLTransaction.pm
4 4

  
5 5
use SL::DB::MetaSetup::GLTransaction;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
8 10
__PACKAGE__->meta->make_manager_class;
9 11

  
SL/DB/GenericTranslation.pm
7 7

  
8 8
use SL::DB::MetaSetup::GenericTranslation;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/History.pm
7 7

  
8 8
use SL::DB::MetaSetup::History;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Inventory.pm
7 7

  
8 8
use SL::DB::MetaSetup::Inventory;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Language.pm
5 5
use SL::DB::MetaSetup::Language;
6 6
use SL::DB::Manager::Language;
7 7

  
8
__PACKAGE__->meta->initialize;
9

  
8 10
1;
SL/DB/MakeModel.pm
7 7

  
8 8
use SL::DB::MetaSetup::MakeModel;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/Note.pm
7 7

  
8 8
use SL::DB::MetaSetup::Note;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/PartsGroup.pm
7 7

  
8 8
use SL::DB::MetaSetup::PartsGroup;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/PaymentTerm.pm
7 7
use SL::DB::Helper::ActsAsList;
8 8
use SL::DB::Helper::TranslatedAttributes;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
sub validate {
11 13
  my ($self) = @_;
12 14

  
SL/DB/PeriodicInvoicesConfig.pm
4 4

  
5 5
use SL::DB::MetaSetup::PeriodicInvoicesConfig;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
8 10
__PACKAGE__->meta->make_manager_class;
9 11

  
SL/DB/Price.pm
7 7

  
8 8
use SL::DB::MetaSetup::Price;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/PriceFactor.pm
5 5
use SL::DB::MetaSetup::PriceFactor;
6 6
use SL::DB::Helper::ActsAsList;
7 7

  
8
__PACKAGE__->meta->initialize;
9

  
8 10
__PACKAGE__->meta->make_manager_class;
9 11

  
10 12
1;
SL/DB/Pricegroup.pm
5 5
use SL::DB::MetaSetup::Pricegroup;
6 6
use SL::DB::Manager::Pricegroup;
7 7

  
8
__PACKAGE__->meta->initialize;
9

  
8 10
1;
SL/DB/Printer.pm
6 6
use SL::DB::Manager::Printer;
7 7
use SL::DB::Helper::Util;
8 8

  
9
__PACKAGE__->meta->initialize;
10

  
9 11
sub description {
10 12
  goto &printer_description;
11 13
}
SL/DB/RecordLink.pm
7 7

  
8 8
use SL::DB::MetaSetup::RecordLink;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/SchemaInfo.pm
7 7

  
8 8
use SL::DB::MetaSetup::SchemaInfo;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/SepaExport.pm
7 7

  
8 8
use SL::DB::MetaSetup::SepaExport;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/SepaExportItem.pm
4 4

  
5 5
use SL::DB::MetaSetup::SepaExportItem;
6 6

  
7
__PACKAGE__->meta->initialize;
8

  
7 9
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
8 10
__PACKAGE__->meta->make_manager_class;
9 11

  
SL/DB/Shipto.pm
7 7
our @SHIPTO_VARIABLES = qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact
8 8
                           shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2);
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
__PACKAGE__->meta->make_manager_class;
11 13

  
12 14
sub displayable_id {
SL/DB/Status.pm
7 7

  
8 8
use SL::DB::MetaSetup::Status;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/TaxKey.pm
7 7

  
8 8
use SL::DB::MetaSetup::TaxKey;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/TaxZone.pm
7 7

  
8 8
use SL::DB::MetaSetup::TaxZone;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/TodoUserConfig.pm
7 7

  
8 8
use SL::DB::MetaSetup::TodoUserConfig;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/TransferType.pm
8 8
use SL::DB::MetaSetup::TransferType;
9 9
use SL::DB::Manager::TransferType;
10 10

  
11
__PACKAGE__->meta->initialize;
12

  
11 13
# methods
12 14

  
13 15
sub description_t8 {
SL/DB/Translation.pm
7 7

  
8 8
use SL::DB::MetaSetup::Translation;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/TranslationPaymentTerm.pm
7 7

  
8 8
use SL::DB::MetaSetup::TranslationPaymentTerm;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  
SL/DB/UnitsLanguage.pm
7 7

  
8 8
use SL::DB::MetaSetup::UnitsLanguage;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
10 12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 13
__PACKAGE__->meta->make_manager_class;
12 14

  

Auch abrufbar als: Unified diff