Please regenerate serialVersionUID when changing classes according to stated in wiki and forums
This commit is contained in:
parent
8e9f588f3c
commit
10ecdff8ac
|
@ -37,9 +37,9 @@ import org.compiere.util.DB;
|
||||||
public class DBException extends AdempiereException
|
public class DBException extends AdempiereException
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -1072176004008572154L;
|
private static final long serialVersionUID = 4264201718343118625L;
|
||||||
private String m_sql = null;
|
private String m_sql = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -75,7 +75,7 @@ public final class Fact
|
||||||
/** Actual Balance Type */
|
/** Actual Balance Type */
|
||||||
public static final String POST_Actual = MFactAcct.POSTINGTYPE_Actual;
|
public static final String POST_Actual = MFactAcct.POSTINGTYPE_Actual;
|
||||||
/** Budget Balance Type */
|
/** Budget Balance Type */
|
||||||
public static final String POST_Budget = MFactAcct.POSTINGTYPE_Budget;;
|
public static final String POST_Budget = MFactAcct.POSTINGTYPE_Budget;
|
||||||
/** Encumbrance Posting */
|
/** Encumbrance Posting */
|
||||||
public static final String POST_Commitment = MFactAcct.POSTINGTYPE_Commitment;
|
public static final String POST_Commitment = MFactAcct.POSTINGTYPE_Commitment;
|
||||||
/** Encumbrance Posting */
|
/** Encumbrance Posting */
|
||||||
|
|
|
@ -74,7 +74,7 @@ public class MMailMsg extends X_W_MailMsg
|
||||||
public MMailMsg (MStore parent, String MailMsgType,
|
public MMailMsg (MStore parent, String MailMsgType,
|
||||||
String Name, String Subject, String Message, String Message2, String Message3)
|
String Name, String Subject, String Message, String Message2, String Message3)
|
||||||
{
|
{
|
||||||
this (parent.getCtx(), 0, parent.get_TrxName());;
|
this (parent.getCtx(), 0, parent.get_TrxName());
|
||||||
setClientOrg(parent);
|
setClientOrg(parent);
|
||||||
setW_Store_ID(parent.getW_Store_ID());
|
setW_Store_ID(parent.getW_Store_ID());
|
||||||
setMailMsgType (MailMsgType);
|
setMailMsgType (MailMsgType);
|
||||||
|
|
|
@ -55,9 +55,9 @@ import org.compiere.util.Trx;
|
||||||
public class MSequence extends X_AD_Sequence
|
public class MSequence extends X_AD_Sequence
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 8830129847511432980L;
|
private static final long serialVersionUID = -6827013120475678483L;
|
||||||
/** Use SQL procedure to get next id */
|
/** Use SQL procedure to get next id */
|
||||||
//begin vpj-cd e-evolution 02/11/2005 PostgreSQL
|
//begin vpj-cd e-evolution 02/11/2005 PostgreSQL
|
||||||
//private static final boolean USE_PROCEDURE = true;
|
//private static final boolean USE_PROCEDURE = true;
|
||||||
|
|
|
@ -314,7 +314,7 @@ public class AllocationAuto extends SvrProcess
|
||||||
sql += "AND IsSOTrx='N' ";
|
sql += "AND IsSOTrx='N' ";
|
||||||
else if (ONLY_AR.equals(p_APAR))
|
else if (ONLY_AR.equals(p_APAR))
|
||||||
sql += "AND IsSOTrx='Y' ";
|
sql += "AND IsSOTrx='Y' ";
|
||||||
sql += "ORDER BY DateInvoiced";;
|
sql += "ORDER BY DateInvoiced";
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
try
|
try
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.Env;
|
||||||
* <code>
|
* <code>
|
||||||
* MPPProductBOMLine l = new MPPProductBOMLine(bom);
|
* MPPProductBOMLine l = new MPPProductBOMLine(bom);
|
||||||
* l.setM_Product_ID(wbl.getM_Product_ID());
|
* l.setM_Product_ID(wbl.getM_Product_ID());
|
||||||
* l.setQty(wbl.getQuantity());;
|
* l.setQty(wbl.getQuantity());
|
||||||
* l.saveEx();
|
* l.saveEx();
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
|
|
|
@ -53,7 +53,10 @@ import org.compiere.util.Msg;
|
||||||
*/
|
*/
|
||||||
public class VGenPanel extends CPanel implements ActionListener, ChangeListener, TableModelListener, ASyncProcess
|
public class VGenPanel extends CPanel implements ActionListener, ChangeListener, TableModelListener, ASyncProcess
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 8154208229173738517L;
|
||||||
|
|
||||||
private GenForm genForm;
|
private GenForm genForm;
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class VPayment extends CDialog
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -1752767963788940234L;
|
private static final long serialVersionUID = -7931457502030396154L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
@ -1188,7 +1188,7 @@ public class VPayment extends CDialog
|
||||||
m_mPayment.setDateTrx(m_DateAcct);
|
m_mPayment.setDateTrx(m_DateAcct);
|
||||||
m_mPayment.setDateAcct(m_DateAcct);
|
m_mPayment.setDateAcct(m_DateAcct);
|
||||||
if (!m_mPayment.save())
|
if (!m_mPayment.save())
|
||||||
ADialog.error(m_WindowNo, this, "PaymentError", "PaymentNotCreated");;
|
ADialog.error(m_WindowNo, this, "PaymentError", "PaymentNotCreated");
|
||||||
|
|
||||||
// Save/Post
|
// Save/Post
|
||||||
if (m_mPayment.get_ID() > 0 && MPayment.DOCSTATUS_Drafted.equals(m_mPayment.getDocStatus()))
|
if (m_mPayment.get_ID() > 0 && MPayment.DOCSTATUS_Drafted.equals(m_mPayment.getDocStatus()))
|
||||||
|
|
|
@ -282,7 +282,7 @@ public class PosPanel extends CPanel
|
||||||
JOptionPane.QUESTION_MESSAGE, null, poss, poss[0]);
|
JOptionPane.QUESTION_MESSAGE, null, poss, poss[0]);
|
||||||
if (selection != null)
|
if (selection != null)
|
||||||
{
|
{
|
||||||
p_pos = (MPOS)selection;;
|
p_pos = (MPOS)selection;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -251,7 +251,7 @@ public class UDIBean
|
||||||
protected Integer refOrderLineid;
|
protected Integer refOrderLineid;
|
||||||
protected Integer refToQuote;
|
protected Integer refToQuote;
|
||||||
protected ReportBean report;
|
protected ReportBean report;
|
||||||
ArrayList<ReportBean> reportList = new ArrayList<ReportBean>();;
|
ArrayList<ReportBean> reportList = new ArrayList<ReportBean>();
|
||||||
protected String region;
|
protected String region;
|
||||||
protected Integer regionId;
|
protected Integer regionId;
|
||||||
protected String regionName;
|
protected String regionName;
|
||||||
|
|
|
@ -1339,7 +1339,7 @@ public class POSProductManager extends ProductManager
|
||||||
while (st.hasMoreTokens())
|
while (st.hasMoreTokens())
|
||||||
{
|
{
|
||||||
|
|
||||||
header[i] = st.nextToken().replaceAll("\"","");;
|
header[i] = st.nextToken().replaceAll("\"","");
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -799,7 +799,7 @@ public class CustomerManager
|
||||||
|
|
||||||
if (year.length() != 0)
|
if (year.length() != 0)
|
||||||
{
|
{
|
||||||
sql.append(" and to_char(bp.created, 'yyyy') ='").append(year).append("'");;
|
sql.append(" and to_char(bp.created, 'yyyy') ='").append(year).append("'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -614,7 +614,7 @@ public class CreditOrderManager
|
||||||
" from c_payment"+
|
" from c_payment"+
|
||||||
" where C_INVOICE_ID="+invoiceId+
|
" where C_INVOICE_ID="+invoiceId+
|
||||||
" and AD_CLIENT_ID="+Env.getAD_Client_ID(ctx)+
|
" and AD_CLIENT_ID="+Env.getAD_Client_ID(ctx)+
|
||||||
" order by CREATED";;
|
" order by CREATED";
|
||||||
|
|
||||||
ArrayList<CreditPaymentDetailsBean> list = new ArrayList<CreditPaymentDetailsBean>();
|
ArrayList<CreditPaymentDetailsBean> list = new ArrayList<CreditPaymentDetailsBean>();
|
||||||
PreparedStatement pstmt = DB.prepareStatement(sql,null);
|
PreparedStatement pstmt = DB.prepareStatement(sql,null);
|
||||||
|
|
|
@ -1285,7 +1285,7 @@ public class POSReportManager {
|
||||||
*
|
*
|
||||||
* if (orgLocation.getPhone() != null); phone = orgLocation.getPhone();
|
* if (orgLocation.getPhone() != null); phone = orgLocation.getPhone();
|
||||||
*
|
*
|
||||||
* if (orgLocation.getFax() != null) fax = orgLocation.getFax();;
|
* if (orgLocation.getFax() != null) fax = orgLocation.getFax();
|
||||||
*
|
*
|
||||||
* orgName = org.getName();
|
* orgName = org.getName();
|
||||||
*
|
*
|
||||||
|
@ -1550,7 +1550,7 @@ public class POSReportManager {
|
||||||
*
|
*
|
||||||
* if (orgLocation.getPhone() != null); phone = orgLocation.getPhone();
|
* if (orgLocation.getPhone() != null); phone = orgLocation.getPhone();
|
||||||
*
|
*
|
||||||
* if (orgLocation.getFax() != null) fax = orgLocation.getFax();;
|
* if (orgLocation.getFax() != null) fax = orgLocation.getFax();
|
||||||
*
|
*
|
||||||
* orgName = org.getName();
|
* orgName = org.getName();
|
||||||
*
|
*
|
||||||
|
|
|
@ -113,7 +113,7 @@ public class FileManager
|
||||||
colour = tokens.get(3).toString();
|
colour = tokens.get(3).toString();
|
||||||
KeyNamePair knpColour = new KeyNamePair(3,colour);
|
KeyNamePair knpColour = new KeyNamePair(3,colour);
|
||||||
|
|
||||||
year = tokens.get(4).toString();;
|
year = tokens.get(4).toString();
|
||||||
KeyNamePair knpYear = new KeyNamePair(4,year);
|
KeyNamePair knpYear = new KeyNamePair(4,year);
|
||||||
|
|
||||||
pair = new AttributeValuesPair();
|
pair = new AttributeValuesPair();
|
||||||
|
@ -124,8 +124,8 @@ public class FileManager
|
||||||
bean.setAttributeValuesPair(pair);
|
bean.setAttributeValuesPair(pair);
|
||||||
|
|
||||||
|
|
||||||
serno = tokens.get(5).toString();;
|
serno = tokens.get(5).toString();
|
||||||
engineNo = tokens.get(6).toString();;
|
engineNo = tokens.get(6).toString();
|
||||||
bean.setSerno(serno);
|
bean.setSerno(serno);
|
||||||
bean.setEngineNo(engineNo);
|
bean.setEngineNo(engineNo);
|
||||||
list.add(bean);
|
list.add(bean);
|
||||||
|
|
|
@ -314,7 +314,7 @@ public class HtmlOrderPrintFormatter extends AbstractPrintFormatter
|
||||||
|
|
||||||
//adding orderlines
|
//adding orderlines
|
||||||
//1.header
|
//1.header
|
||||||
reportData.append(_lineTop).append("<br>");;
|
reportData.append(_lineTop).append("<br>");
|
||||||
|
|
||||||
String headerFormat;
|
String headerFormat;
|
||||||
if(_showDiscount)
|
if(_showDiscount)
|
||||||
|
|
|
@ -97,7 +97,7 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
|
||||||
{
|
{
|
||||||
|
|
||||||
log.info("Process=" + AD_Process_ID );
|
log.info("Process=" + AD_Process_ID );
|
||||||
m_ctx = Env.getCtx();;
|
m_ctx = Env.getCtx();
|
||||||
m_WindowNo = SessionManager.getAppDesktop().registerWindow(this);
|
m_WindowNo = SessionManager.getAppDesktop().registerWindow(this);
|
||||||
this.setAttribute(IDesktop.WINDOWNO_ATTRIBUTE, m_WindowNo);
|
this.setAttribute(IDesktop.WINDOWNO_ATTRIBUTE, m_WindowNo);
|
||||||
m_AD_Process_ID = AD_Process_ID;
|
m_AD_Process_ID = AD_Process_ID;
|
||||||
|
|
|
@ -86,7 +86,7 @@ public class ProcessModalDialog extends Window implements EventListener
|
||||||
{
|
{
|
||||||
|
|
||||||
log.info("Process=" + AD_Process_ID );
|
log.info("Process=" + AD_Process_ID );
|
||||||
m_ctx = Env.getCtx();;
|
m_ctx = Env.getCtx();
|
||||||
m_ASyncProcess = aProcess;
|
m_ASyncProcess = aProcess;
|
||||||
m_WindowNo = WindowNo;
|
m_WindowNo = WindowNo;
|
||||||
m_AD_Process_ID = AD_Process_ID;
|
m_AD_Process_ID = AD_Process_ID;
|
||||||
|
|
|
@ -1271,7 +1271,7 @@ public class WPayment extends Window
|
||||||
m_mPayment.setDateTrx(m_DateAcct);
|
m_mPayment.setDateTrx(m_DateAcct);
|
||||||
m_mPayment.setDateAcct(m_DateAcct);
|
m_mPayment.setDateAcct(m_DateAcct);
|
||||||
if (!m_mPayment.save())
|
if (!m_mPayment.save())
|
||||||
FDialog.error(m_WindowNo, this, "PaymentError", "PaymentNotCreated");;
|
FDialog.error(m_WindowNo, this, "PaymentError", "PaymentNotCreated");
|
||||||
|
|
||||||
// Save/Post
|
// Save/Post
|
||||||
if (m_mPayment.get_ID() > 0 && MPayment.DOCSTATUS_Drafted.equals(m_mPayment.getDocStatus()))
|
if (m_mPayment.get_ID() > 0 && MPayment.DOCSTATUS_Drafted.equals(m_mPayment.getDocStatus()))
|
||||||
|
|
|
@ -74,9 +74,9 @@ import org.zkoss.zul.Html;
|
||||||
public class WWFActivity extends ADForm implements EventListener
|
public class WWFActivity extends ADForm implements EventListener
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -653381810053334001L;
|
private static final long serialVersionUID = -8405802852868437716L;
|
||||||
/** Window No */
|
/** Window No */
|
||||||
private int m_WindowNo = 0;
|
private int m_WindowNo = 0;
|
||||||
/** Open Activities */
|
/** Open Activities */
|
||||||
|
|
|
@ -52,9 +52,9 @@ import org.zkoss.zul.event.ZulEvents;
|
||||||
public class GridPanel extends Borderlayout implements EventListener
|
public class GridPanel extends Borderlayout implements EventListener
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 860960136170704359L;
|
private static final long serialVersionUID = 6786512082202412891L;
|
||||||
|
|
||||||
private static final int MIN_COLUMN_WIDTH = 100;
|
private static final int MIN_COLUMN_WIDTH = 100;
|
||||||
|
|
||||||
|
|
|
@ -58,11 +58,10 @@ import org.zkoss.zul.ListModel;
|
||||||
*/
|
*/
|
||||||
public class WListbox extends Listbox implements IMiniTable, TableValueChangeListener, WTableModelListener
|
public class WListbox extends Listbox implements IMiniTable, TableValueChangeListener, WTableModelListener
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 5893174209599272896L;
|
private static final long serialVersionUID = -9012847495178031267L;
|
||||||
|
|
||||||
/** Logger. */
|
/** Logger. */
|
||||||
private static CLogger logger = CLogger.getCLogger(MiniTable.class);
|
private static CLogger logger = CLogger.getCLogger(MiniTable.class);
|
||||||
|
|
|
@ -136,7 +136,7 @@ public class WTableColumn
|
||||||
*/
|
*/
|
||||||
public void setPreferredWidth(int preferredWidth)
|
public void setPreferredWidth(int preferredWidth)
|
||||||
{
|
{
|
||||||
this.preferredWidth = Math.min(Math.max(preferredWidth, minWidth), maxWidth);;
|
this.preferredWidth = Math.min(Math.max(preferredWidth, minWidth), maxWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -41,10 +41,10 @@ import org.zkoss.zk.ui.event.EventListener;
|
||||||
*/
|
*/
|
||||||
public abstract class ADForm extends Window implements EventListener
|
public abstract class ADForm extends Window implements EventListener
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -244953892567523316L;
|
private static final long serialVersionUID = -5183711788893823434L;
|
||||||
/** The class' logging enabler */
|
/** The class' logging enabler */
|
||||||
protected static final CLogger logger;
|
protected static final CLogger logger;
|
||||||
|
|
||||||
|
|
|
@ -94,8 +94,10 @@ import org.zkoss.zul.Treeitem;
|
||||||
public class ADTabpanel extends Div implements Evaluatee, EventListener,
|
public class ADTabpanel extends Div implements Evaluatee, EventListener,
|
||||||
DataStatusListener, IADTabpanel, VetoableChangeListener
|
DataStatusListener, IADTabpanel, VetoableChangeListener
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
private static final long serialVersionUID = 212250368715189455L;
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 7422816988041118839L;
|
||||||
|
|
||||||
private static final CLogger logger;
|
private static final CLogger logger;
|
||||||
|
|
||||||
|
|
|
@ -69,9 +69,9 @@ import org.zkoss.zul.Image;
|
||||||
public class LoginPanel extends Window implements EventListener
|
public class LoginPanel extends Window implements EventListener
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -5823771596520748214L;
|
private static final long serialVersionUID = -2243984359460922023L;
|
||||||
private static final String RESOURCE = "org.compiere.apps.ALoginRes";
|
private static final String RESOURCE = "org.compiere.apps.ALoginRes";
|
||||||
private ResourceBundle res = ResourceBundle.getBundle(RESOURCE);
|
private ResourceBundle res = ResourceBundle.getBundle(RESOURCE);
|
||||||
|
|
||||||
|
|
|
@ -44,10 +44,10 @@ import org.zkoss.zul.Vbox;
|
||||||
*/
|
*/
|
||||||
public class StatusBarPanel extends Panel implements IStatusBar, EventListener
|
public class StatusBarPanel extends Panel implements IStatusBar, EventListener
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -1799438509126878684L;
|
private static final long serialVersionUID = 8401520243224743864L;
|
||||||
private Label statusDB;
|
private Label statusDB;
|
||||||
private Label statusLine;
|
private Label statusLine;
|
||||||
private Label infoLine;
|
private Label infoLine;
|
||||||
|
|
|
@ -32,9 +32,9 @@ import org.compiere.util.Language;
|
||||||
public final class UserPreference implements Serializable {
|
public final class UserPreference implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -1792570749461784394L;
|
private static final long serialVersionUID = 4965009332046125297L;
|
||||||
/** Language */
|
/** Language */
|
||||||
public static final String P_LANGUAGE = "Language";
|
public static final String P_LANGUAGE = "Language";
|
||||||
private static final String DEFAULT_LANGUAGE = Language.getName
|
private static final String DEFAULT_LANGUAGE = Language.getName
|
||||||
|
|
|
@ -91,10 +91,10 @@ import org.zkoss.zul.Vbox;
|
||||||
*/
|
*/
|
||||||
public class FindWindow extends Window implements EventListener,ValueChangeListener
|
public class FindWindow extends Window implements EventListener,ValueChangeListener
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 7893948607004510173L;
|
private static final long serialVersionUID = 4937678675702382252L;
|
||||||
/** Main Window for the Lookup Panel */
|
/** Main Window for the Lookup Panel */
|
||||||
private MultiTabPart winMain;
|
private MultiTabPart winMain;
|
||||||
/** Simple Window Tab */
|
/** Simple Window Tab */
|
||||||
|
|
Loading…
Reference in New Issue