[opencms-dev] How to publish a list of resource with API?

Stephan Schrader zstephanz at gmail.com
Fri Jun 24 13:04:50 CEST 2016


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>:

> 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/3f23bd70/attachment.htm>


More information about the opencms-dev mailing list