| com.knowgate.scheduler.Job com.knowgate.scheduler.jobs.FileDumper
FileDumper | public class FileDumper extends Job (Code) | | Simple processor for PageSets with disk output
author: Sergio Montoro Ten version: 1.0 |
FileDumper | public FileDumper()(Code) | | |
process | public Object process(Atom oAtm) throws IOException(Code) | | Process PageSet pointed by Atom and dumps result to disk
Base workareas path is taken from "workareasput" property of hipergate.cnf
Processed documents are saved under /web/workareas/apps/Mailwire/html/gu_pageset/
Parameters: oAtm - Atom holding a reference to PageSet instance to be dumped Atom must have the following parameters set:
gu_workarea | GUID of WorkArea owner of document to be saved | gu_pageset | GUID of PageSet to be saved | nm_pageset | Name of PageSet document instance to be saved | String containing the final pos-processed document throws: IOException - |
Methods inherited from com.knowgate.scheduler.Job | public void abort(JDCConnection oConn) throws SQLException, IllegalStateException(Code)(Java Doc) public boolean delete(JDCConnection oConn) throws SQLException(Code)(Java Doc) public static boolean delete(JDCConnection oConn, String sJobId) throws SQLException(Code)(Java Doc) abstract public void free()(Code)(Java Doc) public DBBind getDataBaseBind()(Code)(Java Doc) public String getParameter(String sParamName)(Code)(Java Doc) public Properties getParameters()(Code)(Java Doc) public Properties getProperties()(Code)(Java Doc) public String getProperty(String sPropertyName)(Code)(Java Doc) public static synchronized Job instantiate(JDCConnection oConn, String sJobId, Properties oEnvironmentProps) throws ClassNotFoundException, IllegalAccessException, SQLException, InstantiationException, FileNotFoundException(Code)(Java Doc) public static synchronized Job instantiate(JDCConnection oConn, String sJobId, String sProfileName) throws ClassNotFoundException, IllegalAccessException, SQLException, InstantiationException, FileNotFoundException(Code)(Java Doc) public boolean load(JDCConnection oConn, Object[] PKVals) throws SQLException(Code)(Java Doc) public void log(String sStr)(Code)(Java Doc) public File logFile()(Code)(Java Doc) public static void main(String[] argv) throws SQLException, org.xml.sax.SAXException, java.io.IOException, ClassNotFoundException, IllegalAccessException, InstantiationException(Code)(Java Doc) public int pending()(Code)(Java Doc) abstract public Object process(Atom oAtm) throws SQLException, FileNotFoundException, IOException, MessagingException, NullPointerException(Code)(Java Doc) public void resolveAtomsEMails(JDCConnection oConn) throws SQLException(Code)(Java Doc) public void setDataBaseBind(DBBind oDbb)(Code)(Java Doc) public void setStatus(JDCConnection oConn, int iStatus) throws SQLException(Code)(Java Doc) public boolean store(JDCConnection oConn) throws SQLException(Code)(Java Doc)
|
|
|