1 # This file has been auto-generated only because it didn't exist.
2 # Feel free to modify it at will; it will not be overwritten automatically.
4 package SL::DB::FileVersion;
8 use SL::DB::MetaSetup::FileVersion;
9 use SL::DB::Manager::FileVersion;
11 __PACKAGE__->meta->initialize;
14 sub get_system_location {
17 my $filesystem_file = $self->doc_path . $self->file_location;
19 die "Invalid state, file has vanished at: $filesystem_file" unless -f $filesystem_file;
21 return $filesystem_file;
28 return $self->file->file_name;
46 =item C<get_system_location>
48 Returns the filesystem's file location for this exact version.
49 Dies if no plain file exists at the expected location.
53 Shortcut for $self->file->file_name.
60 Jan E<lt>jan@kivitendo.deE<gt>