18 package org.turro.publication.util;
20 import java.util.List;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import org.turro.elephant.context.ElephantContext;
24 import org.turro.i18n.I_;
25 import org.turro.jpa.Dao;
26 import org.turro.publication.db.PublicationPU;
27 import org.turro.publication.entity.Publication;
28 import org.turro.publication.entity.PublicationCategory;
29 import org.turro.scheduler.motor.DefaultTask;
42 return I_.
get(
"Publication sender");
63 }
catch(Exception ex) {
70 return I_.
get(
"Category ID");
73 private void parseData() {
75 int p = data.indexOf(
"/");
77 idCat = Long.valueOf(data.substring(0, p));
78 path = data.substring(p);
80 idCat = Long.valueOf(data);
static String logMsg(String msg)
static String get(String msg)
static void markAsSentPublications(long categoryID)
static List< Publication > getNotSentPublications(long categoryID)