[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6846] trunk/LedgerSMB/File
- Subject: SF.net SVN: ledger-smb:[6846] trunk/LedgerSMB/File
- From: ..hidden..
- Date: Wed, 12 Feb 2014 02:51:13 +0000
Revision: 6846
http://sourceforge.net/p/ledger-smb/code/6846
Author: einhverfr
Date: 2014-02-12 02:51:12 +0000 (Wed, 12 Feb 2014)
Log Message:
-----------
Adding internal and incoming file classes. No workflows yet.
Added Paths:
-----------
trunk/LedgerSMB/File/Incoming.pm
trunk/LedgerSMB/File/Internal.pm
Copied: trunk/LedgerSMB/File/Incoming.pm (from rev 6844, trunk/LedgerSMB/File/Entity.pm)
===================================================================
--- trunk/LedgerSMB/File/Incoming.pm (rev 0)
+++ trunk/LedgerSMB/File/Incoming.pm 2014-02-12 02:51:12 UTC (rev 6846)
@@ -0,0 +1,56 @@
+=pod
+
+=head1 NAME
+
+LedgerSMB::File::Incoming - Incoming queue for not-yet-associated file
+attachments
+
+=head1 SYNOPSIS
+
+TODO
+
+=head1 INHERITS
+
+=over
+
+=item LedgerSMB::File
+
+Provides all properties and accessors. This subclass provides additional
+methods only
+
+=back
+
+=cut
+
+package LedgerSMB::File::Incoming;
+use Moose;
+extends 'LedgerSMB::File';
+
+=head1 METHODS
+
+=over
+
+=item attach
+
+Attaches or links a specific file to the given transaction.
+
+=cut
+
+sub attach {
+ my ($self, $args) = @_;
+ $self->exec_method({funcname => 'file__save_incoming'});
+}
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (C) 2011-2014 The LedgerSMB Core Team
+
+This file is licensed under the Gnu General Public License version 2, or at your
+option any later version. A copy of the license should have been included with
+your software.
+
+=cut
+
+1;
Copied: trunk/LedgerSMB/File/Internal.pm (from rev 6844, trunk/LedgerSMB/File/Entity.pm)
===================================================================
--- trunk/LedgerSMB/File/Internal.pm (rev 0)
+++ trunk/LedgerSMB/File/Internal.pm 2014-02-12 02:51:12 UTC (rev 6846)
@@ -0,0 +1,55 @@
+=pod
+
+=head1 NAME
+
+LedgerSMB::File::Internal - Files for Internal processing
+
+=head1 SYNOPSIS
+
+TODO
+
+=head1 INHERITS
+
+=over
+
+=item LedgerSMB::File
+
+Provides all properties and accessors. This subclass provides additional
+methods only
+
+=back
+
+=cut
+
+package LedgerSMB::File::Internal;
+use Moose;
+extends 'LedgerSMB::File';
+
+=head1 METHODS
+
+=over
+
+=item attach
+
+Attaches or links a specific file to the given transaction.
+
+=cut
+
+sub attach {
+ my ($self, $args) = @_;
+ $self->exec_method({funcname => 'file__save_internal'});
+}
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (C) 2011-2014 The LedgerSMB Core Team
+
+This file is licensed under the Gnu General Public License version 2, or at your
+option any later version. A copy of the license should have been included with
+your software.
+
+=cut
+
+1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits