Ate Douma pushed to branch feature/CMS-11036 at cms-community / hippo-cms

Commits:
010eea61 by Ate Douma at 2018-01-12T10:51:48+01:00
CMS-11036 Add new skipCheckoutNodes() to UpdaterTemplate as well

- - - - -


1 changed file:

- 
perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/admin/updater/UpdaterTemplate.groovy


Changes:

=====================================
perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/admin/updater/UpdaterTemplate.groovy
=====================================
--- 
a/perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/admin/updater/UpdaterTemplate.groovy
+++ 
b/perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/admin/updater/UpdaterTemplate.groovy
@@ -11,6 +11,10 @@ class UpdaterTemplate extends BaseNodeUpdateVisitor {
     return false // don't log skipped node paths
   }
 
+  boolean skipCheckoutNodes() {
+    return false // return true for readonly visitors and/or updates unrelated 
to versioned content
+  }
+
   Node firstNode(final Session session) throws RepositoryException {
     return null // implement when using custom node selection/navigation
   }



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms/commit/010eea61dd45270d9441241b7574bff0fa514a2a

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms/commit/010eea61dd45270d9441241b7574bff0fa514a2a
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to