public interface Syndicator
Modifier and Type | Method and Description |
---|---|
void |
activate(String parent,
Content content)
This will activate the specified node to all configured subscribers.
|
void |
activate(String parent,
Content content,
List<String> orderBefore)
This will activate the specified node to all configured subscribers.
|
void |
activate(Subscriber subscriber,
String parent,
Content content)
This will activate the specified node to the specified subscriber.
|
void |
activate(Subscriber subscriber,
String parent,
Content content,
List<String> orderBefore)
This will activate the specified node to the specified subscriber.
|
void |
deactivate(Content node) |
void |
deactivate(Subscriber subscriber,
Content node) |
void |
init(User user,
String repositoryName,
String workspaceName,
Rule rule)
Deprecated.
since 4.5 use ioc instead
|
@Deprecated void init(User user, String repositoryName, String workspaceName, Rule rule)
user
- the user to use for the connection to the subscriberrepositoryName
- the repository to transmitworkspaceName
- the workspace to transmitrule
- the rules defining which nodes to transmit (node types)void activate(String parent, Content content) throws ExchangeException, javax.jcr.RepositoryException
parent
- parent under which this page will be activatedcontent
- to be activatedExchangeException
javax.jcr.RepositoryException
void activate(String parent, Content content, List<String> orderBefore) throws ExchangeException, javax.jcr.RepositoryException
parent
- parent under which this page will be activatedcontent
- to be activatedorderBefore
- List of UUID to be used by the implementation to order this node after activationExchangeException
javax.jcr.RepositoryException
void activate(Subscriber subscriber, String parent, Content content) throws ExchangeException, javax.jcr.RepositoryException
parent
- parent under which this page will be activatedcontent
- to be activatedExchangeException
javax.jcr.RepositoryException
void activate(Subscriber subscriber, String parent, Content content, List<String> orderBefore) throws ExchangeException, javax.jcr.RepositoryException
parent
- parent under which this page will be activatedcontent
- to be activatedorderBefore
- List of UUID to be used by the subscriber to order this node after activationExchangeException
javax.jcr.RepositoryException
void deactivate(Content node) throws ExchangeException, javax.jcr.RepositoryException
node
- to de-activateExchangeException
javax.jcr.RepositoryException
void deactivate(Subscriber subscriber, Content node) throws ExchangeException, javax.jcr.RepositoryException
node
- to de-activateExchangeException
javax.jcr.RepositoryException
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.