|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Syndicator
Basic activation contract. Provides methods to activate or de-activate content (either current or versioned).
Method Summary | |
---|---|
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 |
Method Detail |
---|
@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 activated
javax.jcr.RepositoryException
ExchangeException
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 activation
javax.jcr.RepositoryException
ExchangeException
void activate(Subscriber subscriber, String parent, Content content) throws ExchangeException, javax.jcr.RepositoryException
subscriber
- parent
- parent under which this page will be activatedcontent
- to be activated
javax.jcr.RepositoryException
ExchangeException
void activate(Subscriber subscriber, String parent, Content content, List<String> orderBefore) throws ExchangeException, javax.jcr.RepositoryException
subscriber
- 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 activation
javax.jcr.RepositoryException
ExchangeException
void deactivate(Content node) throws ExchangeException, javax.jcr.RepositoryException
node
- to de-activate
javax.jcr.RepositoryException
ExchangeException
void deactivate(Subscriber subscriber, Content node) throws ExchangeException, javax.jcr.RepositoryException
node
- to de-activatesubscriber
-
javax.jcr.RepositoryException
ExchangeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |