Package org.ametys.workspaces.repository
Class RepositoryWorkspaceGenerator
- 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.core.ui.WorkspaceGenerator
-
- org.ametys.workspaces.repository.RepositoryWorkspaceGenerator
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,Contextualizable
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
public class RepositoryWorkspaceGenerator extends WorkspaceGenerator
Repository workspace handling maintenance tasks in safe mode.
-
-
Field Summary
Fields Modifier and Type Field Description protected SystemStatus
_systemStatus
System status provider-
Fields inherited from class org.ametys.plugins.core.ui.WorkspaceGenerator
_cocoonContext, _currentUserProvider, _fileImportsManager, _jsonUtils, _messageTargetFactoriesManager, _relationsManager, _resolver, _ribbonControlManager, _ribbonImportManager, _ribbonManagerCache, _ribbonTabManager, _saxClientSideElementHelper, _uitoolsFactoriesManager, _userHelper, _widgetsManager
-
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 RepositoryWorkspaceGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RibbonConfigurationSource
getRibbonConfiguration()
Get the ribbon configurationprotected Source
getUIToolsConfiguration()
Get the UI tools configurationvoid
service(ServiceManager sm)
-
Methods inherited from class org.ametys.plugins.core.ui.WorkspaceGenerator
contextualize, doGenerate, generate, getContextualParameters, getElementsToSax, saxAdditionnalInfo, saxMessageTargetFactories, saxRelationsHandlers, saxStaticFileImports, saxUITools, saxWidgets
-
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
-
_systemStatus
protected SystemStatus _systemStatus
System status provider
-
-
Constructor Detail
-
RepositoryWorkspaceGenerator
public RepositoryWorkspaceGenerator()
-
-
Method Detail
-
getRibbonConfiguration
protected RibbonConfigurationSource getRibbonConfiguration() throws IOException
Description copied from class:WorkspaceGenerator
Get the ribbon configuration- Overrides:
getRibbonConfiguration
in classWorkspaceGenerator
- Returns:
- the ribbon configuration
- Throws:
IOException
- if an errors occurs getting the ribbon configuration
-
service
public void service(ServiceManager sm) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classWorkspaceGenerator
- Throws:
ServiceException
-
getUIToolsConfiguration
protected Source getUIToolsConfiguration() throws IOException
Description copied from class:WorkspaceGenerator
Get the UI tools configuration- Overrides:
getUIToolsConfiguration
in classWorkspaceGenerator
- Returns:
- the UI tools configuration
- Throws:
IOException
- if an errors occurs getting the UI tools configuration
-
-