organize imports

This commit is contained in:
Redhuan D. Oon 2008-12-23 06:29:11 +00:00
parent 13a1d648ab
commit a9c12ddd67
26 changed files with 167 additions and 94 deletions

View File

@ -16,10 +16,13 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.IOException; import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*; import javax.servlet.ServletException;
import org.compiere.model.*; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.compiere.model.MAd;
/** /**
* AdRedirector will forward the Ad Request to the destination URL and log the request * AdRedirector will forward the Ad Request to the destination URL and log the request

View File

@ -16,12 +16,20 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.*; import java.io.IOException;
import javax.servlet.*; import java.io.PrintWriter;
import javax.servlet.http.*;
import org.compiere.util.*; import javax.servlet.ServletException;
import org.compiere.cm.utils.*; import javax.servlet.http.HttpServletRequest;
import org.compiere.cm.xml.*; import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.compiere.cm.utils.AccessLogger;
import org.compiere.cm.utils.LocaleHandler;
import org.compiere.cm.utils.RequestAnalyzer;
import org.compiere.cm.xml.Generator;
import org.compiere.cm.xml.XSLTProcessor;
import org.compiere.util.WebEnv;
/** /**
* Broadcast Servlet This servlet normally does Page processing for all pages, * Broadcast Servlet This servlet normally does Page processing for all pages,

View File

@ -17,13 +17,19 @@ package org.compiere.cm;
import java.io.IOException; import java.io.IOException;
import java.util.Properties; import java.util.Properties;
import javax.servlet.ServletException; import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSession;
import org.compiere.util.*;
import org.compiere.model.*; import org.compiere.cm.utils.RequestAnalyzer;
import org.compiere.cm.utils.*; import org.compiere.model.X_W_Store;
import org.compiere.util.CLogger;
import org.compiere.util.WebEnv;
import org.compiere.util.WebLogin;
import org.compiere.util.WebSessionCtx;
import org.compiere.util.WebUtil;
/** /**
* Community Servlet to handle login, BPartner create & Update etc. * Community Servlet to handle login, BPartner create & Update etc.

View File

@ -15,10 +15,13 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.Serializable; import java.io.Serializable;
import org.compiere.util.*; import java.util.Properties;
import java.util.*;
import javax.servlet.http.*; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.compiere.util.WebInfo;
/** /**
* *

View File

@ -16,12 +16,25 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.util.*; import java.util.Properties;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException; import javax.servlet.ServletConfig;
import javax.servlet.http.*; import javax.servlet.ServletException;
import org.compiere.cm.cache.*; import javax.servlet.http.HttpServlet;
import org.compiere.util.*; import javax.servlet.http.HttpServletRequest;
import org.compiere.cm.cache.Chat;
import org.compiere.cm.cache.Container;
import org.compiere.cm.cache.ContainerElement;
import org.compiere.cm.cache.ContainerTree;
import org.compiere.cm.cache.Domain;
import org.compiere.cm.cache.MediaServer;
import org.compiere.cm.cache.Template;
import org.compiere.cm.cache.WebProject;
import org.compiere.cm.cache.XML;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.WebEnv;
/** /**
* HttpServletCM we extended the normal HttpServlet to store some global * HttpServletCM we extended the normal HttpServlet to store some global

View File

@ -16,17 +16,19 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.PrintWriter; import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest; import javax.servlet.ServletException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpServletResponse;
import org.compiere.model.MImage; import javax.servlet.http.HttpSession;
import org.compiere.model.MMedia;
import org.compiere.util.WebEnv; import org.compiere.model.MImage;
import org.compiere.model.MMedia;
import org.compiere.util.WebEnv;
/** /**
* Broadcast Servlet * Broadcast Servlet

View File

@ -15,12 +15,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.IOException; import java.io.IOException;
import java.util.Properties; import java.util.Properties;
import javax.servlet.ServletException; import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSession;
import org.compiere.cm.request.Request; import org.compiere.cm.request.Request;

View File

@ -16,12 +16,19 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.*; import java.io.IOException;
import javax.servlet.*; import java.io.PrintWriter;
import javax.servlet.http.*;
import org.compiere.util.*; import javax.servlet.ServletException;
import org.compiere.cm.utils.*; import javax.servlet.http.HttpServletRequest;
import org.compiere.cm.xml.*; import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.compiere.cm.utils.LocaleHandler;
import org.compiere.cm.utils.RequestAnalyzer;
import org.compiere.cm.xml.Generator;
import org.compiere.cm.xml.XSLTProcessor;
import org.compiere.util.WebEnv;
/** /**
* Broadcast Servlet * Broadcast Servlet

View File

@ -16,13 +16,15 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm; package org.compiere.cm;
import java.io.IOException; import java.io.IOException;
import java.io.PrintWriter; import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest; import javax.servlet.ServletException;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletRequest;
import org.compiere.cm.utils.RequestAnalyzer; import javax.servlet.http.HttpServletResponse;
import org.compiere.cm.xml.Generator;
import org.compiere.cm.utils.RequestAnalyzer;
import org.compiere.cm.xml.Generator;
/** /**
* @author YS * @author YS

View File

@ -16,7 +16,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import java.util.*; import java.util.Collections;
import java.util.Date;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Properties;
import java.util.Vector;
import org.compiere.util.CLogger; import org.compiere.util.CLogger;

View File

@ -16,7 +16,8 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import java.util.*; import java.util.Hashtable;
import org.compiere.model.MChat; import org.compiere.model.MChat;
/** /**

View File

@ -16,7 +16,8 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import java.util.*; import java.util.Hashtable;
import org.compiere.model.MContainer; import org.compiere.model.MContainer;
/** /**

View File

@ -16,7 +16,7 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import org.compiere.model.MContainerElement; import org.compiere.model.MContainerElement;
/** /**
* Container Element Cache * Container Element Cache

View File

@ -16,7 +16,7 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import java.util.*; import java.util.Hashtable;
import org.compiere.cm.utils.TreeXML; import org.compiere.cm.utils.TreeXML;
import org.compiere.model.MWebProject; import org.compiere.model.MWebProject;

View File

@ -16,7 +16,7 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import org.compiere.model.*; import org.compiere.model.MWebProjectDomain;
/** /**
* @author Yves Sandfort * @author Yves Sandfort

View File

@ -16,7 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import java.util.*; import java.util.Hashtable;
import java.util.Properties;
import org.compiere.model.MMediaServer; import org.compiere.model.MMediaServer;
/** /**

View File

@ -23,7 +23,7 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import org.compiere.cm.*; import org.compiere.cm.HttpServletCM;
/** /**
* Cache Object Service classes * Cache Object Service classes

View File

@ -16,7 +16,7 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import org.compiere.model.*; import org.compiere.model.MWebProject;
/** /**
* Web Project Cache * Web Project Cache

View File

@ -16,8 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.cache; package org.compiere.cm.cache;
import java.util.*; import java.util.Hashtable;
import org.compiere.model.*;
import org.compiere.model.MCountry;
public class XML extends CO { public class XML extends CO {

View File

@ -15,8 +15,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.extend; package org.compiere.cm.extend;
import javax.servlet.http.*; import java.util.Properties;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
/** /**
* Search the index for results * Search the index for results

View File

@ -15,17 +15,17 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.request; package org.compiere.cm.request;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.text.ParseException; import java.text.ParseException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import java.util.Properties; import java.util.Properties;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import org.compiere.model.MRequest; import org.compiere.model.MRequest;
import org.compiere.util.DB; import org.compiere.util.DB;
/** /**
* Request Class to create or update Requests. * Request Class to create or update Requests.

View File

@ -16,11 +16,13 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.utils; package org.compiere.cm.utils;
import javax.servlet.http.*;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Properties; import java.util.Properties;
import org.compiere.cm.*;
import org.compiere.model.*; import javax.servlet.http.HttpServletRequest;
import org.compiere.cm.HttpServletCM;
import org.compiere.model.X_CM_WebAccessLog;
import org.compiere.util.Env; import org.compiere.util.Env;

View File

@ -16,7 +16,8 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.utils; package org.compiere.cm.utils;
import javax.servlet.http.*; import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
/** /**
* @author YS * @author YS

View File

@ -16,7 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.utils; package org.compiere.cm.utils;
import java.util.*; import java.util.Hashtable;
import java.util.Locale;
import java.util.StringTokenizer;
/** /**
* @author YS * @author YS

View File

@ -16,16 +16,23 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.utils; package org.compiere.cm.utils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import java.util.Properties; import java.util.Properties;
import org.compiere.model.*;
import org.compiere.cm.cache.*; import javax.servlet.http.HttpServletRequest;
import org.compiere.cm.*; import javax.servlet.http.HttpSession;
import org.compiere.util.*;
import org.compiere.cm.Extend;
import org.compiere.cm.HttpServletCM;
import org.compiere.cm.cache.Container;
import org.compiere.cm.cache.Domain;
import org.compiere.cm.cache.WebProject;
import org.compiere.model.MContainer;
import org.compiere.model.MWebProject;
import org.compiere.model.MWebProjectDomain;
import org.compiere.util.CLogger;
/** /**
* RequestAnalyzer * RequestAnalyzer

View File

@ -16,11 +16,17 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.cm.xml; package org.compiere.cm.xml;
import java.io.*; import java.io.ByteArrayOutputStream;
import java.util.*; import java.io.OutputStream;
import javax.servlet.http.*; import java.io.StringReader;
import javax.xml.transform.*; import java.util.Calendar;
import javax.xml.transform.stream.*; import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
/** /**
* @author YS * @author YS