info.magnolia.module.exchangesimple
Class SimpleSyndicator

java.lang.Object
  extended by info.magnolia.module.exchangesimple.BaseSyndicatorImpl
      extended by info.magnolia.module.exchangesimple.SimpleSyndicator
All Implemented Interfaces:
Syndicator

public class SimpleSyndicator
extends BaseSyndicatorImpl

Implementation of syndicator that simply sends all activated content over http connection specified in the subscriber.

Author:
Sameer Charles $Id: SimpleSyndicator.java 48401 2011-08-17 10:48:05Z had $

Field Summary
 
Fields inherited from class info.magnolia.module.exchangesimple.BaseSyndicatorImpl
ACTION, ACTIVATE, ACTIVATION_ATTRIBUTE_MESSAGE, ACTIVATION_ATTRIBUTE_STATUS, ACTIVATION_ATTRIBUTE_VERSION, ACTIVATION_FAILED, ACTIVATION_SUCCESSFUL, AUTH_CREDENTIALS, AUTH_USER, AUTHORIZATION, basicCredentials, COMMIT, CONTENT_FILTER_RULE, contentFilter, contentFilterRule, DEACTIVATE, DEFAULT_HANDLER, MAPPED_PARENT_PATH, NODE_UUID, parent, PARENT_PATH, PATH, REPOSITORY_NAME, repositoryName, RESOURCE_MAPPING_FILE, RESOURCE_MAPPING_FILE_ELEMENT, RESOURCE_MAPPING_ID_ATTRIBUTE, RESOURCE_MAPPING_NAME_ATTRIBUTE, RESOURCE_MAPPING_ROOT_ELEMENT, RESOURCE_MAPPING_UUID_ATTRIBUTE, ROLLBACK, SIBLING_UUID, SIBLINGS_ELEMENT, SIBLINGS_ROOT_ELEMENT, user, UTF8_STATUS, VERSION_NAME, WORKSPACE_NAME, workspaceName
 
Constructor Summary
SimpleSyndicator()
           
 
Method Summary
 void activate(ActivationContent activationContent, java.lang.String nodePath)
           
 void doDeactivate(java.lang.String nodeUUID, java.lang.String nodePath)
           
 java.lang.String doDeactivate(Subscriber subscriber, java.lang.String nodeUUID, java.lang.String path)
          Deactivate from a specified subscriber.
 
Methods inherited from class info.magnolia.module.exchangesimple.BaseSyndicatorImpl
acquireIgnoringInterruption, activate, activate, activate, activate, activate, addActivationHeaders, addDeactivationHeaders, addOrderingInfo, addResources, cleanTemporaryStore, collect, deactivate, deactivate, deactivate, executeInPool, exportAndParse, getActivationURL, getDeactivationURL, getMappedPath, init, prepareConnection, stripPasswordFromUrl, updateActivationDetails, updateDeactivationDetails, updateMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSyndicator

public SimpleSyndicator()
Method Detail

activate

public void activate(ActivationContent activationContent,
                     java.lang.String nodePath)
              throws ExchangeException
Specified by:
activate in class BaseSyndicatorImpl
Throws:
ExchangeException

doDeactivate

public void doDeactivate(java.lang.String nodeUUID,
                         java.lang.String nodePath)
                  throws ExchangeException
Specified by:
doDeactivate in class BaseSyndicatorImpl
Throws:
ExchangeException

doDeactivate

public java.lang.String doDeactivate(Subscriber subscriber,
                                     java.lang.String nodeUUID,
                                     java.lang.String path)
                              throws ExchangeException
Deactivate from a specified subscriber.

Specified by:
doDeactivate in class BaseSyndicatorImpl
Parameters:
subscriber -
Throws:
ExchangeException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.