|
||||||||||
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)
|
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. |
protected info.magnolia.cms.core.Content.ContentFilter |
getContentFilter(info.magnolia.cms.util.Rule contentFilterRule)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceCollector()
Method Detail |
---|
public 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 info.magnolia.cms.core.Content.ContentFilter getContentFilter(info.magnolia.cms.util.Rule contentFilterRule)
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 |