Changeset 12160 for main


Ignore:
Timestamp:
7 Dec 2014, 07:56:25 (10 years ago)
Author:
Henrik Bettermann
Message:

Extend IDocument (prepare for file verification).

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/documents
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/document.py

    r12126 r12160  
    8282        except AttributeError:
    8383            return
     84
     85    @property
     86    def connected_files(self):
     87        return
     88
     89    def setMD5(self, files):
     90        """Set md5 checksum of selected files connected to this document.
     91        """
     92        return
    8493       
    8594
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py

    r12126 r12160  
    5252    formatted_transition_date = Attribute('Last transition formatted date string')
    5353    user_id = Attribute('Id of a user')
     54    connected_files = Attribute('Get files connected to a document')
    5455
    5556    title = schema.TextLine(
     
    6465        )
    6566
     67    def setMD5(files):
     68        """Set md5 checksum of selected files connected to this document.
     69        """
     70
    6671
    6772class IDocumentsUtils(Interface):
Note: See TracChangeset for help on using the changeset viewer.