public class OrgUnitGenerator extends ContentGenerator
| Modifier and Type | Field and Description | 
|---|---|
protected AmetysObjectResolver | 
_resolver
The ametys object resolver 
 | 
protected SourceResolver | 
_srcResolver
The source resolver 
 | 
_contentHelper, _contentTypeExtensionPoint, _cTypesHelper, _DC_DATE_FORMAT, _languageManager, _metadataManager, _userHelper, _userProvider, _workflowProvider, _worklflowHelpermanagerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description | 
|---|
OrgUnitGenerator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
_saxChildOrgUnits(Content content)
Sax child orgUnits from the orgUnit content 
 | 
protected void | 
_saxOtherData(Content content)
SAX any other data needed by the view. 
 | 
protected void | 
_saxUsers(Content content)
Sax users from the orgUnit content 
 | 
protected void | 
saxContent(Content content,
          String metadataSetName)
SAX the HTML content of a  
Content | 
protected void | 
saxContent(Content content,
          String metadataSetName,
          String format)
SAX a  
Content to given format | 
protected void | 
saxOrgUnit(String orgUnitId,
          String metadataSetName)
SAX a orgUnit content 
 | 
protected void | 
saxUser(String userId,
       String role,
       String metadataSetName)
SAX a user content 
 | 
void | 
service(ServiceManager serviceManager)  | 
getDefaultLocale_addAttributeIfNotNull, _generateContent, _getCurrentStep, _getMetadataSet, _saxComment, _saxComments, _saxContent, _saxContentComments, _saxContentReactions, _saxDublinCoreMetadata, _saxIfNotNull, _saxIfNotNull, _saxIfNotNull, _saxLanguage, _saxMetadata, _saxMetadataComments, _saxOtherData, _saxWorkflowStep, generatedisposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected AmetysObjectResolver _resolver
protected SourceResolver _srcResolver
public OrgUnitGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ContentGeneratorServiceExceptionprotected void _saxOtherData(Content content) throws SAXException, ProcessingException
ContentGeneratorDefault implementation does nothing.
_saxOtherData in class ContentGeneratorcontent - the content.SAXException - if an error occurs while SAXing.ProcessingException - if an error occurs.protected void _saxChildOrgUnits(Content content) throws SAXException
content - the contentSAXException - if an error occurredprotected void saxOrgUnit(String orgUnitId, String metadataSetName) throws SAXException
orgUnitId - the orgUnit id.metadataSetName - the metadata set nameSAXException - if an error occursprotected void _saxUsers(Content content) throws SAXException
content - the contentSAXException - if an error occurredprotected void saxUser(String userId, String role, String metadataSetName) throws SAXException
userId - the user id.role - the user rolemetadataSetName - the metadata set nameSAXException - if an error occursprotected void saxContent(Content content, String metadataSetName) throws SAXException, IOException
Contentcontent - the contentmetadataSetName - the metadata set nameSAXException - If an error occurred saxing the contentIOException - If an error occurred resolving the contentprotected void saxContent(Content content, String metadataSetName, String format) throws SAXException, IOException
Content to given formatcontent - the contentmetadataSetName - the metadata set nameformat - the output formatSAXException - If an error occurred saxing the contentIOException - If an error occurred resolving the content