public class ContentInformationGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected ContentHelper |
_contentHelper
The content helper
|
protected ContentWorkflowHelper |
_contentWorkflowHelper
The content workflow helper
|
protected LockContentManager |
_lockManager
The lock manager.
|
protected AmetysObjectResolver |
_resolver
Ametys object resovler.
|
protected RightManager |
_rightManager
The rights manager
|
protected CurrentUserProvider |
_userProvider
The user provider
|
protected WorkflowProvider |
_workflowProvider
The workflow provider
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ContentInformationGenerator() |
Modifier and Type | Method and Description |
---|---|
private String |
__joinSteps(List<com.opensymphony.workflow.spi.Step> steps) |
void |
generate() |
protected void |
saxAdditionalAtttributes(Content content,
AttributesImpl attrs)
SAX the additional attributes
|
protected void |
saxAdditionalInformation(Content content)
SAX additional information on content
|
protected void |
saxUserRights(Content content)
SAX the user rights on content
|
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected AmetysObjectResolver _resolver
protected RightManager _rightManager
protected CurrentUserProvider _userProvider
protected WorkflowProvider _workflowProvider
protected LockContentManager _lockManager
protected ContentWorkflowHelper _contentWorkflowHelper
protected ContentHelper _contentHelper
public ContentInformationGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private String __joinSteps(List<com.opensymphony.workflow.spi.Step> steps)
protected void saxUserRights(Content content) throws SAXException
content
- The content to check rightsSAXException
- if an error occurred while SAXingprotected void saxAdditionalAtttributes(Content content, AttributesImpl attrs) throws SAXException
content
- The contentattrs
- The attributesSAXException
- if an error occurred while SAXingprotected void saxAdditionalInformation(Content content) throws SAXException
content
- The contentSAXException
- if an error occurred while SAXing