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

Define connected_files and getMD5 for all kind of customer documents.

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

    r12160 r12161  
    8787        return
    8888
    89     def setMD5(self, files):
    90         """Set md5 checksum of selected files connected to this document.
     89    def setMD5(self):
     90        """Determine md5 checksum of all files and store checksums as
     91        document attributes.
    9192        """
    9293        return
    9394       
     95Document = attrs_to_fields(Document)
    9496
    95 Document = attrs_to_fields(Document)
    9697
    9798class DocumentFactory(grok.GlobalUtility):
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py

    r12160 r12161  
    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')
     54    connected_files = Attribute('Names of files connected to a document')
    5555
    5656    title = schema.TextLine(
     
    6565        )
    6666
    67     def setMD5(files):
    68         """Set md5 checksum of selected files connected to this document.
     67    def setMD5():
     68        """Determine md5 checksum of selected files and store checksums as
     69        document attributes.
    6970        """
    7071
Note: See TracChangeset for help on using the changeset viewer.