public CmsLockReportInfo getLockReportInfo(CmsUUID structureId) throws CmsRpcException {

        CmsLockReportInfo result = null;
        CmsObject cms = getCmsObject();
        try {
            CmsResource resource = cms.readResource(structureId, CmsResourceFilter.ALL);
            List<CmsListInfoBean> lockedInfos = new ArrayList<CmsListInfoBean>();
            List<CmsResource> lockedResources = cms.getBlockingLockedResources(resource);
            if (lockedResources != null) {
                for (CmsResource lockedResource : lockedResources) {
                    lockedInfos.add(getPageInfoWithLock(cms, lockedResource));
                }
            }
            result = new CmsLockReportInfo(getPageInfoWithLock(cms, resource), lockedInfos);
        } catch (Throwable e) {
            error(e);
        }
        return result;
    }
public CmsLockReportInfo getLockReportInfo ( CmsUUID structureId ) throws CmsRpcException { CmsLockReportInfo result = null ; CmsObject cms = getCmsObject ( ) ; try { CmsResource resource = cms . readResource ( structureId , CmsResourceFilter . ALL ) ; List < CmsListInfoBean > lockedInfos = new ArrayList < CmsListInfoBean > ( ) ; List < CmsResource > lockedResources = cms . getBlockingLockedResources ( resource ) ; if ( lockedResources != null ) { for ( CmsResource lockedResource : lockedResources ) { lockedInfos . add ( getPageInfoWithLock ( cms , lockedResource ) ) ; } } result = new CmsLockReportInfo ( getPageInfoWithLock ( cms , resource ) , lockedInfos ) ; } catch ( Throwable e ) { error ( e ) ; } return result ; }
@see org.opencms.gwt.shared.rpc.I_CmsVfsService#getLockReportInfo(org.opencms.util.CmsUUID)