public CmsLock getLock(CmsObject cms, CmsResource resource) throws CmsException {

        if (m_isWrappedResource) {
            return cms.getLock(resource);
        }

        return null;
    }
public CmsLock getLock ( CmsObject cms , CmsResource resource ) throws CmsException { if ( m_isWrappedResource ) { return cms . getLock ( resource ) ; } return null ; }
@see org.opencms.file.wrapper.I_CmsResourceWrapper#getLock(org.opencms.file.CmsObject, org.opencms.file.CmsResource)