|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.exchangesimple.ResourceCollector
public class ResourceCollector
Class responsible for collecting all the resources for activation of content.
Constructor Summary | |
---|---|
ResourceCollector()
|
Method Summary | |
---|---|
protected void |
addOrderingInfo(org.jdom.Element root,
List<String> orderBefore)
Adds ordering information to the resource mapping file. |
protected void |
addResources(org.jdom.Element resourceElement,
javax.jcr.Session session,
info.magnolia.cms.core.Content content,
info.magnolia.cms.core.Content.ContentFilter filter,
ActivationContent activationContent)
|
protected ActivationContent |
collect(info.magnolia.cms.core.Content node,
List<String> orderBefore,
String parent,
String workspaceName,
String repositoryName,
info.magnolia.cms.util.Rule contentFilterRule)
Collects all information about activated content and its children (those that are set to be activated with the parent by filter rules). |
protected void |
exportAndParse(javax.jcr.Session session,
info.magnolia.cms.core.Content content,
XMLReader elementfilter,
OutputStream os,
boolean noRecurse)
Exports frozen resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceCollector() throws info.magnolia.cms.exchange.ExchangeException
info.magnolia.cms.exchange.ExchangeException
Method Detail |
---|
protected ActivationContent collect(info.magnolia.cms.core.Content node, List<String> orderBefore, String parent, String workspaceName, String repositoryName, info.magnolia.cms.util.Rule contentFilterRule) throws Exception
contentFilterRule
- repositoryName
- workspaceName
- parent
-
Exception
protected void addOrderingInfo(org.jdom.Element root, List<String> orderBefore)
root
- element of the resource file under which ordering info must be addedorderBefore
- protected void addResources(org.jdom.Element resourceElement, javax.jcr.Session session, info.magnolia.cms.core.Content content, info.magnolia.cms.core.Content.ContentFilter filter, ActivationContent activationContent) throws IOException, javax.jcr.RepositoryException, SAXException, Exception
IOException
javax.jcr.RepositoryException
SAXException
Exception
protected void exportAndParse(javax.jcr.Session session, info.magnolia.cms.core.Content content, XMLReader elementfilter, OutputStream os, boolean noRecurse) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |