/**
  * Create the <code>Syndicator</code> to deactivate the specified path.
  *
  * @param path node path to be deactivated
  * @return the <code>Syndicator</code> used to deactivate
  */
 protected Syndicator getDeactivationSyndicator(String path) {
   Rule rule = new Rule();
   Syndicator syndicator = (Syndicator) FactoryUtil.getInstance(Syndicator.class);
   syndicator.init(
       MgnlContext.getUser(),
       this.getRepository(),
       ContentRepository.getDefaultWorkspace(this.getRepository()),
       rule);
   return syndicator;
 }
Exemplo n.º 2
0
 public MgnlMailHandler getEmailHandler() {
   return (MgnlMailHandler) FactoryUtil.getSingleton(mailHandlerClass);
 }