[opencms-dev] Hooking new resource / publish resource events

Christian Steinert christian_steinert at web.de
Mon Nov 2 12:31:11 CET 2009


Chuck Mysak wrote:
> Hello list,
>
> is there a way using the OpenCms API to catch the event of creating a new
> resource and/or publishing that resource?
> The desired scenario would be to update a custom set of resources (xml or db
> or resource property) when a user creates/edits/deletes/publishes a
> resource.
>
>   
Please take a look at the I_CmsEventListener interface for a list of all 
opencms events. There are MANY events, including the one you are looking 
for:

http://www.opencms.org/javadoc/core/org/opencms/main/I_CmsEventListener.html


Best Regards
Christian
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20091102/14ee6669/attachment.htm>


More information about the opencms-dev mailing list