[opencms-dev] How to publish a list of resource with API?
Sandrine Prousteau
s.prousteau at eurelis.com
Fri Jun 24 13:45:10 CEST 2016
Thanks !
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Stephan Schrader
Envoyé : vendredi 24 juin 2016 13:05
À : The OpenCms mailing list
Objet : Re: [opencms-dev] How to publish a list of resource with API?
Hi,
you could use: org.opencms.publish.CmsPublishManager#publishProject(org.opencms.file.CmsObject, org.opencms.report.I_CmsReport, org.opencms.db.CmsPublishList)
The CmsPublishList may contain several distinct CmsResources.
Stephan
2016-06-24 11:33 GMT+02:00 Sandrine Prousteau <s.prousteau at eurelis.com<mailto:s.prousteau at eurelis.com>>:
Hi
Is there a way to publish a set of resources with API ?
I know
OpenCms.getPublishManager().publishResource(getCms(), resource.getRootPath());
But this is for only one resource…
I’m on OpenCms 9.5.2
Thanks for help
Sandrine
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160624/7c8f782d/attachment.htm>
More information about the opencms-dev
mailing list