info.magnolia.module.exchangesimple
Class SimpleSyndicator
java.lang.Object
info.magnolia.module.exchangesimple.BaseSyndicatorImpl
info.magnolia.module.exchangesimple.SimpleSyndicator
- All Implemented Interfaces:
- info.magnolia.cms.exchange.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$
Fields inherited from class info.magnolia.module.exchangesimple.BaseSyndicatorImpl |
ACTION, ACTIVATE, ACTIVATION_ATTRIBUTE_MESSAGE, ACTIVATION_ATTRIBUTE_STATUS, ACTIVATION_ATTRIBUTE_VERSION, ACTIVATION_AUTH, ACTIVATION_AUTH_KEY, ACTIVATION_FAILED, ACTIVATION_HANDSHAKE, ACTIVATION_SUCCESSFUL, COMMIT, CONTENT_FILTER_RULE, 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_MD_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 |
Methods inherited from class info.magnolia.module.exchangesimple.BaseSyndicatorImpl |
acquireIgnoringInterruption, activate, activate, activate, activate, activate, addActivationHeaders, addDeactivationHeaders, addHandshakeInfo, cleanTemporaryStore, deactivate, deactivate, deactivate, executeInPool, getActivationURL, getDeactivationURL, getMappedPath, init, prepareConnection, setResouceCollector, updateActivationDetails, updateDeactivationDetails, updateMetaData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSyndicator
public SimpleSyndicator()
activate
public void activate(ActivationContent activationContent,
String nodePath)
throws info.magnolia.cms.exchange.ExchangeException
- Specified by:
activate
in class BaseSyndicatorImpl
- Throws:
info.magnolia.cms.exchange.ExchangeException
handleErrors
protected void handleErrors(List<Exception> errors)
throws info.magnolia.cms.exchange.ExchangeException
- Throws:
info.magnolia.cms.exchange.ExchangeException
doDeactivate
public void doDeactivate(String nodeUUID,
String nodePath)
throws info.magnolia.cms.exchange.ExchangeException
- Specified by:
doDeactivate
in class BaseSyndicatorImpl
- Throws:
info.magnolia.cms.exchange.ExchangeException
doDeactivate
public String doDeactivate(info.magnolia.cms.exchange.Subscriber subscriber,
String nodeUUID,
String path)
throws info.magnolia.cms.exchange.ExchangeException
- Deactivate from a specified subscriber.
- Specified by:
doDeactivate
in class BaseSyndicatorImpl
- Parameters:
subscriber
-
- Throws:
info.magnolia.cms.exchange.ExchangeException
getSubscribers
protected Collection<info.magnolia.cms.exchange.Subscriber> getSubscribers()
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.