Package org.ametys.cms.content
Class ContentInformationGenerator
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.ContentInformationGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
SAX the contents information
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentHelperThe content helperprotected ContentWorkflowHelperThe content workflow helperprotected LockContentManagerThe lock manager.protected AmetysObjectResolverAmetys object resovler.protected RightManagerThe rights managerprotected CurrentUserProviderThe user providerprotected WorkflowProviderThe workflow providerFields inherited from class org.apache.cocoon.generation.ServiceableGenerator
managerFields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate()protected voidsaxAdditionalAtttributes(Content content, AttributesImpl attrs) SAX the additional attributesprotected voidsaxAdditionalInformation(Content content) SAX additional information on contentprotected voidsaxUserRights(Content content) SAX the user rights on contentvoidservice(ServiceManager serviceManager) Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
disposeMethods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Field Details
-
_resolver
Ametys object resovler. -
_rightManager
The rights manager -
_userProvider
The user provider -
_workflowProvider
The workflow provider -
_lockManager
The lock manager. -
_contentWorkflowHelper
The content workflow helper -
_contentHelper
The content helper
-
-
Constructor Details
-
ContentInformationGenerator
public ContentInformationGenerator()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableGenerator- Throws:
ServiceException
-
generate
-
saxUserRights
SAX the user rights on content- Parameters:
content- The content to check rights- Throws:
SAXException- if an error occurred while SAXing
-
saxAdditionalAtttributes
SAX the additional attributes- Parameters:
content- The contentattrs- The attributes- Throws:
SAXException- if an error occurred while SAXing
-
saxAdditionalInformation
SAX additional information on content- Parameters:
content- The content- Throws:
SAXException- if an error occurred while SAXing
-