Changeset 12018 for main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Timestamp:
- 21 Nov 2014, 08:07:15 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py
r12017 r12018 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 from zope.interface import Attribute 18 from zope.interface import Attribute, Interface 19 19 from zope import schema 20 20 from waeup.ikoba.interfaces import ( … … 52 52 ) 53 53 54 class IDocumentsUtils(Interface): 55 """A collection of methods which are subject to customization. 54 56 57 """ 58 -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/utils.py
r12005 r12018 19 19 """ 20 20 import grok 21 from waeup.ikoba.documents.workflow import CREATED 22 from waeup.ikoba.documents.interfaces import IDocumentsUtils 21 23 22 24 … … 24 26 new_id = grok.getSite().unique_document_id 25 27 return new_id 28 29 30 class DocumentssUtils(grok.GlobalUtility): 31 """A collection of methods subject to customization. 32 """ 33 grok.implements(IDocumentsUtils) 34 35 DOCMANAGE_STATES = (CREATED,)
Note: See TracChangeset for help on using the changeset viewer.