16 |
import re |
import re |
17 |
import sys |
import sys |
18 |
import traceback |
import traceback |
19 |
|
import string |
20 |
|
from random import Random, random |
21 |
|
|
22 |
class PACTool (UniqueObject, SimpleItem): |
class PACTool (UniqueObject, SimpleItem): |
23 |
id = 'pac_tool' |
id = 'pac_tool' |
332 |
|
|
333 |
return None |
return None |
334 |
|
|
335 |
def portalTransform(self): |
def numTalkingPoints(self, folder): |
336 |
from Products.PortalTransforms.BaseUnit import newBaseUnit |
tp = [] |
337 |
pass |
tp = folder.portal_catalog( path=string.join( |
338 |
|
folder.getPhysicalPath()[:-1], '/'), meta_type = 'TalkingPoint') |
339 |
|
|
340 |
|
return tp |
341 |
|
|
342 |
|
|
343 |
|
|
344 |
|
|
345 |
InitializeClass(PACTool) |
InitializeClass(PACTool) |