[Plone-IT] Gestore eventi-timer
crirusso78
crirusso78 a yahoo.it
Gio 7 Maggio 2009 10:09:02 UTC
Grazie Riccardo,
cercando in rete ho trovato che un merodo del portal_catalog è searchResults
quindi io potrei fare una cosa del genere nel mio script?
def cercaOggetto(self):
start = DateTime('2009/03/01')
end = DateTime('2009/05/31')
results = self.portal_catalog.searchResults(
Type = "Mio prodotto",
created = { "query": [start, end],
"range": "minmax" }
)
....
Riccardo Lemmi wrote:
>
>
> Ci sono due modi:
> - tramite il catalogo recuperi il brain e leggi il metadato
> 'review_state'
> - tramite portal_workflow chiamando getInforFor(obj, 'review_state')
> --
> Riccardo Lemmi Email: riccardo a reflab.it
> Reflab S.r.l. - Plone Design, Development and Consulting
> Phone: +39 349 4620820 http://www.reflab.it
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
>
--
View this message in context: http://n2.nabble.com/Gestore-eventi-timer-tp2605998p2827109.html
Sent from the Plone - Italy mailing list archive at Nabble.com.
Maggiori informazioni sulla lista
Plone-IT