Class GlobalContentConsistencyGenerator
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.xml.AbstractXMLProducer
-
- org.apache.cocoon.generation.AbstractGenerator
-
- org.apache.cocoon.generation.ServiceableGenerator
-
- org.ametys.cms.content.consistency.GlobalContentConsistencyGenerator
-
- org.ametys.web.content.consistency.GlobalContentConsistencyGenerator
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
public class GlobalContentConsistencyGenerator extends GlobalContentConsistencyGenerator
Generate content with consistency information.
Parameters:- short-test: set to true to make a short test, false to make a full one (default false).
- omit-consistent: set to true to omit consistent contents and generate only contents with unknown or failed consistency information (default false).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.cms.content.consistency.GlobalContentConsistencyGenerator
GlobalContentConsistencyGenerator.ConsistencyExpression
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.content.consistency.GlobalContentConsistencyGenerator
_consistencyChecker, _cTypeExtPt, _cTypesHelper, _nameCache, _resolver, _userManager
-
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
-
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
-
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
-
Constructor Summary
Constructors Constructor Description GlobalContentConsistencyGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AmetysObjectIterable<Content>
_getContents()
Get the contents with inconsistency information.protected void
_saxAdditionalContentAttributes(Content content, AttributesImpl atts)
Sax additional data on the content-
Methods inherited from class org.ametys.cms.content.consistency.GlobalContentConsistencyGenerator
_saxContentConsistency, generate, getName, service
-
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
-
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
-
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
-
-
-
Constructor Detail
-
GlobalContentConsistencyGenerator
public GlobalContentConsistencyGenerator()
-
-
Method Detail
-
_getContents
protected AmetysObjectIterable<Content> _getContents()
Description copied from class:GlobalContentConsistencyGenerator
Get the contents with inconsistency information.- Overrides:
_getContents
in classGlobalContentConsistencyGenerator
- Returns:
- an iterator on contents.
-
_saxAdditionalContentAttributes
protected void _saxAdditionalContentAttributes(Content content, AttributesImpl atts)
Description copied from class:GlobalContentConsistencyGenerator
Sax additional data on the content- Overrides:
_saxAdditionalContentAttributes
in classGlobalContentConsistencyGenerator
- Parameters:
content
- the content.atts
- the attributes the will be saxed?
-
-