|
||||||||||
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,
Content content,
Content.ContentFilter filter,
ActivationContent activationContent)
|
ActivationContent |
collect(Content node,
List<String> orderBefore,
String parent,
String workspaceName,
String repositoryName,
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,
Content content,
XMLReader elementfilter,
OutputStream os,
boolean noRecurse)
Exports frozen resource. |
protected Content.ContentFilter |
getContentFilter(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(Content node, List<String> orderBefore, String parent, String workspaceName, String repositoryName, Rule contentFilterRule) throws Exception
contentFilterRule
- repositoryName
- workspaceName
- parent
-
Exception
protected Content.ContentFilter getContentFilter(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, Content content, 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, 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 |