// handle all
public void handle(PrintWriter htmlout, EntityUsers user, boolean force,boolean sync)
- throws StorageObjectException, ModuleException {
+ {
printHTML(htmlout, "Producer.All: started");
long sessionConnectTime = 0;
long startTime = (new java.util.Date()).getTime();
- new ProducerImages().handle(htmlout, user, force,sync);
- new ProducerStartPage().handle(htmlout, user, force,sync);
- new ProducerContent().handle(htmlout, user, force,sync);
- new ProducerOpenPosting().handle(htmlout, user, force,sync);
- new ProducerTopics().handle(htmlout, user, force,sync);
- new ProducerNavigation().handle(htmlout, user, force,sync);
+
+ try {
+ new ProducerImages().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in ProducerImages continuing "+ e.toString());
+ }
+ try {
+ new ProducerAudio().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in ProducerAudio continuing "+ e.toString());
+ }
+ try {
+ new ProducerVideo().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in ProducerVideo continuing "+ e.toString());
+ }
+ try {
+ new ProducerOther().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in ProducerOther continuing "+ e.toString());
+ }
+ try {
+ new ProducerStartPage().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in Producer.StartPage continuing "+ e.toString());
+ }
+ try {
+ new ProducerContent().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in Producer.Content continuing "+ e.toString());
+ }
+ try {
+ new ProducerOpenPosting().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in Producer.OpenPosting continuing "+ e.toString());
+ }
+ try {
+ new ProducerTopics().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in Producer.Topics continuing "+ e.toString());
+ }
+ try {
+ new ProducerNavigation().handle(htmlout, user, force,sync);
+ } catch (Exception e) {
+ logHTML(htmlout, "Producer.All <font color=\"red\">ERROR:</font>"
+ +" in Producer.Navigation continuing "+ e.toString());
+ }
// Finish
sessionConnectTime = new java.util.Date().getTime() - startTime;
long sessionConnectTime = 0;
long startTime = (new java.util.Date()).getTime();
EntityContent currentContent;
- HashMap currentContentValues;
//get all new unproduced content-entities
String whereClause="is_produced='0' && to_article_type>0";
while (entityList != null) {
for(int i=0;i<entityList.size();i++) {
currentContent = (EntityContent)entityList.elementAt(i);
- currentContentValues = currentContent.getValues();
EntityList topicEntityList = DatabaseContentToTopics.getInstance().getTopics(currentContent);
SimpleHash topicHash = HTMLTemplateProcessor.makeSimpleHash(topicEntityList);