public class ContentInformationGenerator extends ServiceableGenerator
| Modifier and Type | Field and Description |
|---|---|
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
|
managerobjectModel, parameters, resolver, sourcecontentHandler, 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) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected AmetysObjectResolver _resolver
protected RightManager _rightManager
protected CurrentUserProvider _userProvider
protected WorkflowProvider _workflowProvider
protected LockContentManager _lockManager
protected ContentWorkflowHelper _contentWorkflowHelper
public ContentInformationGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic 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