@Override
 public void unLockItem(final String site, final String path) {
   GeneralLockService generalLockService =
       getServicesManager().getService(GeneralLockService.class);
   PersistenceManagerService persistenceManagerService =
       _servicesManager.getService(PersistenceManagerService.class);
   String rootPath = SITE_REPO_ROOT_PATTERN.replaceAll(SITE_REPLACEMENT_PATTERN, site);
   NodeRef nodeRef = persistenceManagerService.getNodeRef(rootPath, path);
   if (nodeRef != null) {
     generalLockService.unlock(nodeRef.getId());
   }
 }
 @Override
 public void unlockRepository() {
   GeneralLockService generalLockService =
       getServicesManager().getService(GeneralLockService.class);
   generalLockService.unlock(GeneralLockService.MASTER_LOCK);
 }