/**
  * Return if it is in author mode.
  *
  * @return if it is in author mode.
  */
 private boolean isAuthorMode() {
   return settingsService != null && settingsService.getRunModes().contains("author");
 }
Exemplo n.º 2
0
 private boolean isPublish() {
   return slingSettings.getRunModes().contains("publish");
 }