Class ProjectsCatalogueGenerator
- 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.plugins.workspaces.project.generators.ProjectsCatalogueGenerator
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
public class ProjectsCatalogueGenerator extends ServiceableGenerator
Generator for the vuejs catalog service
-
-
Field Summary
Fields Modifier and Type Field Description private CategoryHelper
_categoryHelper
private WorkspaceModuleExtensionPoint
_modulesExtensionPoint
protected RightProfilesDAO
_rightProfilesDao
Right profiles managerprotected AbstractTagProviderExtensionPoint<Category>
_tagProviderExtPt
The tag provider extension point-
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 ProjectsCatalogueGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_saxCategories()
private void
_saxCategory(Category category)
private void
_saxModules()
private void
_saxProfiles()
void
generate()
void
service(ServiceManager smanager)
-
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
-
-
-
-
Field Detail
-
_rightProfilesDao
protected RightProfilesDAO _rightProfilesDao
Right profiles manager
-
_tagProviderExtPt
protected AbstractTagProviderExtensionPoint<Category> _tagProviderExtPt
The tag provider extension point
-
_modulesExtensionPoint
private WorkspaceModuleExtensionPoint _modulesExtensionPoint
-
_categoryHelper
private CategoryHelper _categoryHelper
-
-
Constructor Detail
-
ProjectsCatalogueGenerator
public ProjectsCatalogueGenerator()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableGenerator
- Throws:
ServiceException
-
generate
public void generate() throws IOException, SAXException, ProcessingException
-
_saxModules
private void _saxModules() throws SAXException
- Throws:
SAXException
-
_saxCategories
private void _saxCategories() throws SAXException
- Throws:
SAXException
-
_saxCategory
private void _saxCategory(Category category) throws SAXException
- Throws:
SAXException
-
_saxProfiles
private void _saxProfiles() throws SAXException
- Throws:
SAXException
-
-