| com.knowgate.scheduler.Job com.knowgate.scheduler.jobs.FTPPublisher
FTPPublisher | public class FTPPublisher extends Job (Code) | | Publishes Files via FTP
author: Sergio Montoro Ten version: 1.0 |
FTPPublisher | public FTPPublisher()(Code) | | |
free | public void free()(Code) | | Process PageSet pointed by Atom and sends transformed document throught FTP
Base workareas path is taken from "workareasput" property of hipergate.cnf
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 sent | gu_pageset | GUID of PageSet to be sent | nm_pageset | Name of PageSet document instance to be sent | tx_nickname | FTP User Nickname for login | tx_pwd | FTP User Password for login | nm_server | FTP server name or IP address | path | FTP target path | bo_mkpath | "1" if path must be created at target server | nm_file | Target file name for nm_pageset | 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)
|
|
|