[opencms-dev] creating a file

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Thu Aug 28 14:00:13 CEST 2008


On Thu, Aug 28, 2008 at 03:29:27AM -0700, Roman Uhlig wrote:
> 
> 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)


Sorry for coming up again: I'm getting 

CmsLock.TEMPORARY cannot be resolved to a type.


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



More information about the opencms-dev mailing list