[opencms-dev] creating a file

Roman Uhlig roman.uhlig at knve.de
Thu Aug 28 12:29:27 CEST 2008


It's CmsObject.lockResource(), and "resource" is a placeholder for the full
name of the resource as usual.


Christoph P. Kukulies wrote:
> 
> On Thu, Aug 28, 2008 at 02:35:12AM -0700, Roman Uhlig wrote:
>> 
>> Oh yes, that has changed in OpenCms 7. 
>> Just use lockResource(resource, CmsLock.TEMPORARY)
> 
> In which class do I find this method? Is resource an Object or the
> filename?
> 
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/creating-a-file-tp19178157p19197943.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list