IDEMPIERE-5838 Fix various typos (#2188)
* Fix various typos Fixes user-facing and non-user-facing typos. Found via `codespell -q 3 -S "*.map,./migration,./migration-historic"` * Added requested revisions * Added requested revision * Added requested revisions
This commit is contained in:
parent
ffd5e75d82
commit
a87de727af
|
@ -72,7 +72,7 @@ public class ImmediateBankTransfer extends SvrProcess
|
||||||
private String p_Name = ""; // Name
|
private String p_Name = ""; // Name
|
||||||
private String p_Description= ""; // Description
|
private String p_Description= ""; // Description
|
||||||
private int p_C_CashBook_ID = 0; // CashBook to be used as bridge
|
private int p_C_CashBook_ID = 0; // CashBook to be used as bridge
|
||||||
private BigDecimal p_Amount = Env.ZERO; // Amount to be transfered between the accounts
|
private BigDecimal p_Amount = Env.ZERO; // Amount to be transferred between the accounts
|
||||||
private int p_From_C_BankAccount_ID = 0; // Bank Account From
|
private int p_From_C_BankAccount_ID = 0; // Bank Account From
|
||||||
private int p_To_C_BankAccount_ID= 0; // Bank Account To
|
private int p_To_C_BankAccount_ID= 0; // Bank Account To
|
||||||
private Timestamp p_StatementDate = null; // Date Statement
|
private Timestamp p_StatementDate = null; // Date Statement
|
||||||
|
|
|
@ -259,7 +259,7 @@ public class PrepareMigrationScripts extends SvrProcess {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return "Sucess";
|
return "Success";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -42,7 +42,7 @@ import org.compiere.util.Msg;
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: AllocationAuto.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $
|
* @version $Id: AllocationAuto.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $
|
||||||
*/
|
*/
|
||||||
@org.adempiere.base.annotation.Process
|
@org.adempiere.base.annotation.Process
|
||||||
public class AllocationAuto extends SvrProcess
|
public class AllocationAuto extends SvrProcess
|
||||||
{
|
{
|
||||||
/** BP Group */
|
/** BP Group */
|
||||||
|
@ -718,7 +718,7 @@ public class AllocationAuto extends SvrProcess
|
||||||
/**********************************************************************************************
|
/**********************************************************************************************
|
||||||
* Create Allocation allocation
|
* Create Allocation allocation
|
||||||
* @param C_Currency_ID currency
|
* @param C_Currency_ID currency
|
||||||
* @param description decription
|
* @param description description
|
||||||
* @param Amount amount
|
* @param Amount amount
|
||||||
* @param DiscountAmt discount
|
* @param DiscountAmt discount
|
||||||
* @param WriteOffAmt write off
|
* @param WriteOffAmt write off
|
||||||
|
|
|
@ -41,7 +41,7 @@ import org.compiere.util.Env;
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: InventoryCountCreate.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
|
* @version $Id: InventoryCountCreate.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
|
||||||
*/
|
*/
|
||||||
@org.adempiere.base.annotation.Process
|
@org.adempiere.base.annotation.Process
|
||||||
public class InventoryCountCreate extends SvrProcess
|
public class InventoryCountCreate extends SvrProcess
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -369,7 +369,7 @@ public class InventoryCountCreate extends SvrProcess
|
||||||
* @param productCategoryId
|
* @param productCategoryId
|
||||||
* @param categories
|
* @param categories
|
||||||
* @param loopIndicatorId
|
* @param loopIndicatorId
|
||||||
* @return comma seperated list of category ids
|
* @return comma separated list of category ids
|
||||||
* @throws AdempiereSystemError if a loop is detected
|
* @throws AdempiereSystemError if a loop is detected
|
||||||
*/
|
*/
|
||||||
private String getSubCategoriesString(int productCategoryId, Vector<SimpleTreeNode> categories, int loopIndicatorId) throws AdempiereSystemError {
|
private String getSubCategoriesString(int productCategoryId, Vector<SimpleTreeNode> categories, int loopIndicatorId) throws AdempiereSystemError {
|
||||||
|
|
|
@ -194,7 +194,7 @@ public class ImportCSVProcess extends SvrProcess implements DataStatusListener {
|
||||||
log.warning(msg);
|
log.warning(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Refresh the list on dependant fields
|
// Refresh the list on dependent fields
|
||||||
for (GridField dependentField : l_gridTab.getDependantFields(mField.getColumnName()))
|
for (GridField dependentField : l_gridTab.getDependantFields(mField.getColumnName()))
|
||||||
{
|
{
|
||||||
// if the field has a lookup
|
// if the field has a lookup
|
||||||
|
|
|
@ -29,7 +29,7 @@ public interface IBankStatementLoaderFactory {
|
||||||
* This class will be implemented in OSGi plugins. Every plugin that
|
* This class will be implemented in OSGi plugins. Every plugin that
|
||||||
* provides this service may or may not provide an BankStatementLoader
|
* provides this service may or may not provide an BankStatementLoader
|
||||||
* depending on the given classname. The classname can be given by the user
|
* depending on the given classname. The classname can be given by the user
|
||||||
* in the "Bank" window in the "Bank Satement Loader" tab. By convention
|
* in the "Bank" window in the "Bank Statement Loader" tab. By convention
|
||||||
* this classname is the fully qualified classname of the Loader class you
|
* this classname is the fully qualified classname of the Loader class you
|
||||||
* want to use.
|
* want to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -141,7 +141,7 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
|
||||||
oldSalesRep_ID = ((Integer)oo).intValue();
|
oldSalesRep_ID = ((Integer)oo).intValue();
|
||||||
if (oldSalesRep_ID != 0)
|
if (oldSalesRep_ID != 0)
|
||||||
{
|
{
|
||||||
// RequestActionTransfer - Request {0} was transfered by {1} from {2} to {3}
|
// RequestActionTransfer - Request {0} was transferred by {1} from {2} to {3}
|
||||||
Object[] args = new Object[] {r.getDocumentNo(),
|
Object[] args = new Object[] {r.getDocumentNo(),
|
||||||
MUser.getNameOfUser(AD_User_ID),
|
MUser.getNameOfUser(AD_User_ID),
|
||||||
MUser.getNameOfUser(oldSalesRep_ID),
|
MUser.getNameOfUser(oldSalesRep_ID),
|
||||||
|
|
|
@ -230,7 +230,7 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
rowsTmpResult.add(rawLine);
|
rowsTmpResult.add(rawLine);
|
||||||
continue;
|
continue;
|
||||||
}else if(isMasterok && isDetail && !isDetailok){
|
}else if(isMasterok && isDetail && !isDetailok){
|
||||||
rawLine = rawLine + delimiter + quoteChar + "Record not proccesed due to detail record failure" + quoteChar + "\n";
|
rawLine = rawLine + delimiter + quoteChar + "Record not processed due to detail record failure" + quoteChar + "\n";
|
||||||
rowsTmpResult.add(rawLine);
|
rowsTmpResult.add(rawLine);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -826,7 +826,7 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
wfProcess.setTransactionName(document.get_TrxName());
|
wfProcess.setTransactionName(document.get_TrxName());
|
||||||
MWFProcess wdPro = ProcessUtil.startWorkFlow(Env.getCtx(),wfProcess, AD_Workflow_ID);
|
MWFProcess wdPro = ProcessUtil.startWorkFlow(Env.getCtx(),wfProcess, AD_Workflow_ID);
|
||||||
if(wdPro == null)
|
if(wdPro == null)
|
||||||
return "Document action could not be proccesed";
|
return "Document action could not be processed";
|
||||||
else if (wfProcess.isError())
|
else if (wfProcess.isError())
|
||||||
return "Document action error: "+wfProcess.getSummary();
|
return "Document action error: "+wfProcess.getSummary();
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,7 +18,7 @@ import org.compiere.util.DB;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Re-create storage reservation records (M_StorageReservation) if there are storage record with invalid reserverd/ordered qty.<br/>
|
* Re-create storage reservation records (M_StorageReservation) if there are storage record with invalid reserved/ordered qty.<br/>
|
||||||
* Precautions: current code validate reservation makes via C_OrderLine only.
|
* Precautions: current code validate reservation makes via C_OrderLine only.
|
||||||
*/
|
*/
|
||||||
@org.adempiere.base.annotation.Process
|
@org.adempiere.base.annotation.Process
|
||||||
|
|
|
@ -258,7 +258,7 @@ public abstract class Convert_SQL92 extends Convert {
|
||||||
.append(" ON (").append(second.getCondition());
|
.append(" ON (").append(second.getCondition());
|
||||||
joins.remove(j); // remove from join list
|
joins.remove(j); // remove from join list
|
||||||
fromAlias.remove(second.getJoinAlias()); // remove from table list
|
fromAlias.remove(second.getJoinAlias()); // remove from table list
|
||||||
// additional join colums would come here
|
// additional join columns would come here
|
||||||
newFrom.append(")"); // close ON
|
newFrom.append(")"); // close ON
|
||||||
//----
|
//----
|
||||||
for (int k = i+1; k < joins.size(); k++)
|
for (int k = i+1; k < joins.size(); k++)
|
||||||
|
@ -281,7 +281,7 @@ public abstract class Convert_SQL92 extends Convert {
|
||||||
.append(" ON (").append(third.getCondition());
|
.append(" ON (").append(third.getCondition());
|
||||||
joins.remove(k); // remove from join list
|
joins.remove(k); // remove from join list
|
||||||
fromAlias.remove(third.getJoinAlias()); // remove from table list
|
fromAlias.remove(third.getJoinAlias()); // remove from table list
|
||||||
// additional join colums would come here
|
// additional join columns would come here
|
||||||
newFrom.append(")"); // close ON
|
newFrom.append(")"); // close ON
|
||||||
}
|
}
|
||||||
else if (trace)
|
else if (trace)
|
||||||
|
|
|
@ -291,14 +291,14 @@ public abstract class OFXBankStatementHandler extends DefaultHandler
|
||||||
} //isValid
|
} //isValid
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check wether the import was succesfull
|
* Check whether the import was successful
|
||||||
* @return true if all statement lines have been imported succesfully
|
* @return true if all statement lines have been imported successfully
|
||||||
*/
|
*/
|
||||||
public boolean importSuccessfull()
|
public boolean importSuccessfull()
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Currently there are no checks after the statement lines are read.
|
* Currently there are no checks after the statement lines are read.
|
||||||
* Once all lines are read correctly a successfull import is assumed.
|
* Once all lines are read correctly a successful import is assumed.
|
||||||
*/
|
*/
|
||||||
return m_success;
|
return m_success;
|
||||||
} // importSuccessfull
|
} // importSuccessfull
|
||||||
|
|
|
@ -418,7 +418,7 @@ public class AccessSqlParser
|
||||||
} // TableInfo
|
} // TableInfo
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Short Constuctor - no synonym
|
* Short Constructor - no synonym
|
||||||
* @param tableName table
|
* @param tableName table
|
||||||
*/
|
*/
|
||||||
public TableInfo (String tableName)
|
public TableInfo (String tableName)
|
||||||
|
|
|
@ -91,7 +91,7 @@ public class ArchiveFileSystem implements IArchiveStore {
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
|
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
|
||||||
if(filePath!=null){
|
if(filePath!=null){
|
||||||
filePath = filePath.replaceFirst(ARCHIVE_FOLDER_PLACEHOLDER, archivePathRoot.replaceAll("\\\\","\\\\\\\\"));
|
filePath = filePath.replaceFirst(ARCHIVE_FOLDER_PLACEHOLDER, archivePathRoot.replaceAll("\\\\","\\\\\\\\"));
|
||||||
//just to be shure...
|
//just to be sure...
|
||||||
String replaceSeparator = File.separator;
|
String replaceSeparator = File.separator;
|
||||||
if(!replaceSeparator.equals("/")){
|
if(!replaceSeparator.equals("/")){
|
||||||
replaceSeparator = "\\\\";
|
replaceSeparator = "\\\\";
|
||||||
|
|
|
@ -211,7 +211,7 @@ public class AttachmentFileSystem implements IAttachmentStore {
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
|
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
|
||||||
if(filePath!=null){
|
if(filePath!=null){
|
||||||
filePath = filePath.replaceFirst(attach.ATTACHMENT_FOLDER_PLACEHOLDER, attachmentPathRoot.replaceAll("\\\\","\\\\\\\\"));
|
filePath = filePath.replaceFirst(attach.ATTACHMENT_FOLDER_PLACEHOLDER, attachmentPathRoot.replaceAll("\\\\","\\\\\\\\"));
|
||||||
//just to be shure...
|
//just to be sure...
|
||||||
String replaceSeparator = File.separator;
|
String replaceSeparator = File.separator;
|
||||||
if(!replaceSeparator.equals("/")){
|
if(!replaceSeparator.equals("/")){
|
||||||
replaceSeparator = "\\\\";
|
replaceSeparator = "\\\\";
|
||||||
|
|
|
@ -218,7 +218,7 @@ public class GridField
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Prevent loading of CreatedBy/UpdatedBy
|
// Prevent loading of CreatedBy/UpdatedBy
|
||||||
if (m_vo.displayType == DisplayType.Table && m_vo.AD_Tab_ID > 0
|
if (m_vo.displayType == DisplayType.Table && m_vo.AD_Tab_ID > 0
|
||||||
&& (m_vo.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
|
&& (m_vo.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
|
||||||
{
|
{
|
||||||
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
|
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
|
||||||
|
@ -2056,7 +2056,7 @@ public class GridField
|
||||||
* Set Value to null.
|
* Set Value to null.
|
||||||
* <p>
|
* <p>
|
||||||
* Do update context - called from GridTab.setCurrentRow.
|
* Do update context - called from GridTab.setCurrentRow.
|
||||||
* Send Bean PropertyChange event if there is a change (i.e curent value is not null).
|
* Send Bean PropertyChange event if there is a change (i.e current value is not null).
|
||||||
*/
|
*/
|
||||||
public void setValueAndUpdateContext ()
|
public void setValueAndUpdateContext ()
|
||||||
{
|
{
|
||||||
|
|
|
@ -633,7 +633,7 @@ public class GridFieldVO implements Serializable, Cloneable
|
||||||
public int displayType = 0;
|
public int displayType = 0;
|
||||||
/** Table ID */
|
/** Table ID */
|
||||||
public int AD_Table_ID = 0;
|
public int AD_Table_ID = 0;
|
||||||
/** Clumn ID */
|
/** Column ID */
|
||||||
public int AD_Column_ID = 0;
|
public int AD_Column_ID = 0;
|
||||||
/** Display Length */
|
/** Display Length */
|
||||||
public int DisplayLength = 0;
|
public int DisplayLength = 0;
|
||||||
|
@ -647,7 +647,7 @@ public class GridFieldVO implements Serializable, Cloneable
|
||||||
public int SeqNo = 0;
|
public int SeqNo = 0;
|
||||||
/** Grid Display sequence */
|
/** Grid Display sequence */
|
||||||
public int SeqNoGrid = 0;
|
public int SeqNoGrid = 0;
|
||||||
/** Dislay Logic, never set null for it */
|
/** Display Logic, never set null for it */
|
||||||
public String DisplayLogic = "";
|
public String DisplayLogic = "";
|
||||||
/** Default Value, never set null for it */
|
/** Default Value, never set null for it */
|
||||||
public String DefaultValue = "";
|
public String DefaultValue = "";
|
||||||
|
@ -848,13 +848,13 @@ public class GridFieldVO implements Serializable, Cloneable
|
||||||
* @param tabNo tab no
|
* @param tabNo tab no
|
||||||
* @param ad_Window_ID window id
|
* @param ad_Window_ID window id
|
||||||
* @param ad_Tab_ID tab id
|
* @param ad_Tab_ID tab id
|
||||||
* @param TabReadOnly r/o
|
* @param TabReadOnly r/o
|
||||||
* @return Field or null
|
* @return Field or null
|
||||||
*/
|
*/
|
||||||
public GridFieldVO clone(Properties ctx, int windowNo, int tabNo,
|
public GridFieldVO clone(Properties ctx, int windowNo, int tabNo,
|
||||||
int ad_Window_ID, int ad_Tab_ID,
|
int ad_Window_ID, int ad_Tab_ID,
|
||||||
boolean TabReadOnly)
|
boolean TabReadOnly)
|
||||||
{
|
{
|
||||||
GridFieldVO clone = null;
|
GridFieldVO clone = null;
|
||||||
clone = (GridFieldVO) clone();
|
clone = (GridFieldVO) clone();
|
||||||
clone.ctx = ctx;
|
clone.ctx = ctx;
|
||||||
|
|
|
@ -849,7 +849,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
// e.g. Column=UPPER(Name), Key=AD_Element_ID, Query=UPPER(AD_Element.Name) LIKE '%CUSTOMER%'
|
// e.g. Column=UPPER(Name), Key=AD_Element_ID, Query=UPPER(AD_Element.Name) LIKE '%CUSTOMER%'
|
||||||
if (tableName == null)
|
if (tableName == null)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.INFO)) log.info ("Not successfull - Column="
|
if (log.isLoggable(Level.INFO)) log.info ("Not successful - Column="
|
||||||
+ colName + ", Key=" + tabKeyColumn
|
+ colName + ", Key=" + tabKeyColumn
|
||||||
+ ", Query=" + query);
|
+ ", Query=" + query);
|
||||||
return query.getWhereClause(true);
|
return query.getWhereClause(true);
|
||||||
|
@ -2283,7 +2283,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
* </pre>
|
* </pre>
|
||||||
* @param e event
|
* @param e event
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void dataStatusChanged (DataStatusEvent e)
|
public void dataStatusChanged (DataStatusEvent e)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("#" + m_vo.TabNo + " - " + e.toString());
|
if (log.isLoggable(Level.FINE)) log.fine("#" + m_vo.TabNo + " - " + e.toString());
|
||||||
|
|
|
@ -2157,7 +2157,7 @@ public class GridTable extends AbstractTableModel
|
||||||
// Tab R/O
|
// Tab R/O
|
||||||
if (m_readOnly)
|
if (m_readOnly)
|
||||||
{
|
{
|
||||||
fireDataStatusEEvent("AccessCannotDelete", "", true); // previleges
|
fireDataStatusEEvent("AccessCannotDelete", "", true); // privileges
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -322,7 +322,7 @@ public class GridWindowVO implements Serializable
|
||||||
public String AD_Window_UU = "";
|
public String AD_Window_UU = "";
|
||||||
/** Name */
|
/** Name */
|
||||||
public String Name = "";
|
public String Name = "";
|
||||||
/** Desription */
|
/** Description */
|
||||||
public String Description = "";
|
public String Description = "";
|
||||||
/** Help */
|
/** Help */
|
||||||
public String Help = "";
|
public String Help = "";
|
||||||
|
|
|
@ -133,12 +133,12 @@ public interface I_U_POSTerminal
|
||||||
public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType";
|
public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType";
|
||||||
|
|
||||||
/** Set Cash Book Transfer Type.
|
/** Set Cash Book Transfer Type.
|
||||||
* Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
* Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
|
||||||
*/
|
*/
|
||||||
public void setCashBookTransferType (String CashBookTransferType);
|
public void setCashBookTransferType (String CashBookTransferType);
|
||||||
|
|
||||||
/** Get Cash Book Transfer Type.
|
/** Get Cash Book Transfer Type.
|
||||||
* Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
* Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
|
||||||
*/
|
*/
|
||||||
public String getCashBookTransferType();
|
public String getCashBookTransferType();
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ public class ImageFileStorageImpl implements IImageStore {
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
|
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
|
||||||
if(filePath!=null){
|
if(filePath!=null){
|
||||||
filePath = filePath.replaceFirst(IMAGE_FOLDER_PLACEHOLDER, imagePathRoot.replaceAll("\\\\","\\\\\\\\"));
|
filePath = filePath.replaceFirst(IMAGE_FOLDER_PLACEHOLDER, imagePathRoot.replaceAll("\\\\","\\\\\\\\"));
|
||||||
//just to be shure...
|
//just to be sure...
|
||||||
String replaceSeparator = File.separator;
|
String replaceSeparator = File.separator;
|
||||||
if(!replaceSeparator.equals("/")){
|
if(!replaceSeparator.equals("/")){
|
||||||
replaceSeparator = "\\\\";
|
replaceSeparator = "\\\\";
|
||||||
|
|
|
@ -295,7 +295,7 @@ public class MAcctSchemaElement extends X_C_AcctSchema_Element implements Immuta
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set value for Account element type
|
* Set value for Account element type
|
||||||
* @param SeqNo squence
|
* @param SeqNo sequence
|
||||||
* @param Name name
|
* @param Name name
|
||||||
* @param C_Element_ID element
|
* @param C_Element_ID element
|
||||||
* @param C_ElementValue_ID element value
|
* @param C_ElementValue_ID element value
|
||||||
|
|
|
@ -37,18 +37,18 @@ public class MAlertRule extends X_AD_AlertRule
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = -1267260460210893262L;
|
private static final long serialVersionUID = -1267260460210893262L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_AlertRule_UU UUID key
|
* @param AD_AlertRule_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MAlertRule(Properties ctx, String AD_AlertRule_UU, String trxName) {
|
public MAlertRule(Properties ctx, String AD_AlertRule_UU, String trxName) {
|
||||||
super(ctx, AD_AlertRule_UU, trxName);
|
super(ctx, AD_AlertRule_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standatd Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param AD_AlertRule_ID id
|
* @param AD_AlertRule_ID id
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
|
|
@ -65,23 +65,23 @@ public class MAssetAddition extends X_A_Asset_Addition
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger(MAssetAddition.class);
|
private static CLogger s_log = CLogger.getCLogger(MAssetAddition.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param A_Asset_Addition_UU UUID key
|
* @param A_Asset_Addition_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MAssetAddition(Properties ctx, String A_Asset_Addition_UU, String trxName) {
|
public MAssetAddition(Properties ctx, String A_Asset_Addition_UU, String trxName) {
|
||||||
super(ctx, A_Asset_Addition_UU, trxName);
|
super(ctx, A_Asset_Addition_UU, trxName);
|
||||||
if (Util.isEmpty(A_Asset_Addition_UU))
|
if (Util.isEmpty(A_Asset_Addition_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx
|
* @param ctx
|
||||||
* @param A_Asset_Addition_ID
|
* @param A_Asset_Addition_ID
|
||||||
* @param trxName
|
* @param trxName
|
||||||
*/
|
*/
|
||||||
public MAssetAddition (Properties ctx, int A_Asset_Addition_ID, String trxName)
|
public MAssetAddition (Properties ctx, int A_Asset_Addition_ID, String trxName)
|
||||||
{
|
{
|
||||||
super (ctx, A_Asset_Addition_ID, trxName);
|
super (ctx, A_Asset_Addition_ID, trxName);
|
||||||
|
@ -1213,7 +1213,7 @@ public class MAssetAddition extends X_A_Asset_Addition
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Succesfull creation of Asset
|
// Successful creation of Asset
|
||||||
if (cnt == 0)
|
if (cnt == 0)
|
||||||
{
|
{
|
||||||
setA_CreateAsset(true);
|
setA_CreateAsset(true);
|
||||||
|
|
|
@ -35,16 +35,16 @@ public class MAttributeUse extends X_M_AttributeUse
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -9159120094145438975L;
|
private static final long serialVersionUID = -9159120094145438975L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param M_AttributeUse_UU UUID key
|
* @param M_AttributeUse_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MAttributeUse(Properties ctx, String M_AttributeUse_UU, String trxName) {
|
public MAttributeUse(Properties ctx, String M_AttributeUse_UU, String trxName) {
|
||||||
super(ctx, M_AttributeUse_UU, trxName);
|
super(ctx, M_AttributeUse_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param ignored ignored
|
* @param ignored ignored
|
||||||
|
@ -58,7 +58,7 @@ public class MAttributeUse extends X_M_AttributeUse
|
||||||
} // MAttributeUse
|
} // MAttributeUse
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
|
|
@ -45,18 +45,18 @@ public class MCashLine extends X_C_CashLine
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 5023249596033465923L;
|
private static final long serialVersionUID = 5023249596033465923L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param C_CashLine_UU UUID key
|
* @param C_CashLine_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MCashLine(Properties ctx, String C_CashLine_UU, String trxName) {
|
public MCashLine(Properties ctx, String C_CashLine_UU, String trxName) {
|
||||||
super(ctx, C_CashLine_UU, trxName);
|
super(ctx, C_CashLine_UU, trxName);
|
||||||
if (Util.isEmpty(C_CashLine_UU))
|
if (Util.isEmpty(C_CashLine_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -81,7 +81,7 @@ public class MCashLine extends X_C_CashLine
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
@ -92,7 +92,7 @@ public class MCashLine extends X_C_CashLine
|
||||||
} // MCashLine
|
} // MCashLine
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent Cosntructor
|
* Parent Constructor
|
||||||
* @param cash parent
|
* @param cash parent
|
||||||
*/
|
*/
|
||||||
public MCashLine (MCash cash)
|
public MCashLine (MCash cash)
|
||||||
|
|
|
@ -1208,7 +1208,7 @@ public class MClient extends X_AD_Client implements ImmutablePOSupport
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get SMTP Host
|
* Get SMTP Host
|
||||||
* @return SMTP or loaclhost
|
* @return SMTP or localhost
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getSMTPHost() {
|
public String getSMTPHost() {
|
||||||
|
|
|
@ -890,7 +890,7 @@ public class MCost extends X_M_Cost
|
||||||
* @param product product
|
* @param product product
|
||||||
* @param M_AttributeSetInstance_ID optional asi
|
* @param M_AttributeSetInstance_ID optional asi
|
||||||
* @param as acct schema
|
* @param as acct schema
|
||||||
* @param AD_Org_ID optonal org
|
* @param AD_Org_ID optional org
|
||||||
* @return average invoice costs or null
|
* @return average invoice costs or null
|
||||||
*/
|
*/
|
||||||
public static BigDecimal calculateAverageInv (MProduct product, int M_AttributeSetInstance_ID,
|
public static BigDecimal calculateAverageInv (MProduct product, int M_AttributeSetInstance_ID,
|
||||||
|
@ -1457,18 +1457,18 @@ public class MCost extends X_M_Cost
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (MCost.class);
|
private static CLogger s_log = CLogger.getCLogger (MCost.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param M_Cost_UU UUID key
|
* @param M_Cost_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MCost(Properties ctx, String M_Cost_UU, String trxName) {
|
public MCost(Properties ctx, String M_Cost_UU, String trxName) {
|
||||||
super(ctx, M_Cost_UU, trxName);
|
super(ctx, M_Cost_UU, trxName);
|
||||||
if (Util.isEmpty(M_Cost_UU))
|
if (Util.isEmpty(M_Cost_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -1656,7 +1656,7 @@ public class MCost extends X_M_Cost
|
||||||
* String Representation
|
* String Representation
|
||||||
* @return info
|
* @return info
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString ()
|
public String toString ()
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder ("MCost[");
|
StringBuilder sb = new StringBuilder ("MCost[");
|
||||||
|
|
|
@ -403,7 +403,7 @@ public class MDepreciation extends X_A_Depreciation implements ImmutablePOSuppor
|
||||||
|
|
||||||
/** Linear damping coefficient for one year = 1 / total number of years */
|
/** Linear damping coefficient for one year = 1 / total number of years */
|
||||||
BigDecimal coef_sl = BigDecimal.ONE.divide(new BigDecimal(A_Life_Year), getPrecision() + 2, RoundingMode.DOWN);
|
BigDecimal coef_sl = BigDecimal.ONE.divide(new BigDecimal(A_Life_Year), getPrecision() + 2, RoundingMode.DOWN);
|
||||||
/** Degressive damping coefficient for one year = one-year linear depreciation * coeficient K */
|
/** Degressive damping coefficient for one year = one-year linear depreciation * coefficient K */
|
||||||
BigDecimal coef_ad1 = coef_sl.multiply(BigDecimal.valueOf(2.0)); //added by @win
|
BigDecimal coef_ad1 = coef_sl.multiply(BigDecimal.valueOf(2.0)); //added by @win
|
||||||
|
|
||||||
// logging
|
// logging
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.idempiere.cache.ImmutablePOSupport;
|
||||||
import org.idempiere.cache.ImmutablePOCache;
|
import org.idempiere.cache.ImmutablePOCache;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enitity Type Model
|
* Entity Type Model
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: MEntityType.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
|
* @version $Id: MEntityType.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
|
||||||
|
@ -86,16 +86,16 @@ public class MEntityType extends X_AD_EntityType implements ImmutablePOSupport
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private static CLogger s_log = CLogger.getCLogger (MEntityType.class);
|
private static CLogger s_log = CLogger.getCLogger (MEntityType.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_EntityType_UU UUID key
|
* @param AD_EntityType_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MEntityType(Properties ctx, String AD_EntityType_UU, String trxName) {
|
public MEntityType(Properties ctx, String AD_EntityType_UU, String trxName) {
|
||||||
super(ctx, AD_EntityType_UU, trxName);
|
super(ctx, AD_EntityType_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
|
|
@ -255,18 +255,18 @@ public class MGoal extends X_PA_Goal
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (MGoal.class);
|
private static CLogger s_log = CLogger.getCLogger (MGoal.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param PA_Goal_UU UUID key
|
* @param PA_Goal_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MGoal(Properties ctx, String PA_Goal_UU, String trxName) {
|
public MGoal(Properties ctx, String PA_Goal_UU, String trxName) {
|
||||||
super(ctx, PA_Goal_UU, trxName);
|
super(ctx, PA_Goal_UU, trxName);
|
||||||
if (Util.isEmpty(PA_Goal_UU))
|
if (Util.isEmpty(PA_Goal_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -307,7 +307,7 @@ public class MGoal extends X_PA_Goal
|
||||||
/**
|
/**
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param Name Name
|
* @param Name Name
|
||||||
* @param Description Decsription
|
* @param Description Description
|
||||||
* @param MeasureTarget target
|
* @param MeasureTarget target
|
||||||
* @param trxName trx
|
* @param trxName trx
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -287,7 +287,7 @@ public class MIFixedAsset extends X_I_FixedAsset
|
||||||
private int m_A_Asset_Group_ID = 0;
|
private int m_A_Asset_Group_ID = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set defauly asset group id
|
* set default asset group id
|
||||||
* @param A_Asset_Group_ID
|
* @param A_Asset_Group_ID
|
||||||
*/
|
*/
|
||||||
public void setDefault_Asset_Group_ID(int A_Asset_Group_ID) {
|
public void setDefault_Asset_Group_ID(int A_Asset_Group_ID) {
|
||||||
|
|
|
@ -2510,7 +2510,7 @@ public class MInOut extends X_M_InOut implements DocAction, IDocsPostProcess
|
||||||
counter.setDropShip_User_ID(getDropShip_User_ID());
|
counter.setDropShip_User_ID(getDropShip_User_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Refernces (Should not be required
|
// References (Should not be required)
|
||||||
counter.setSalesRep_ID(getSalesRep_ID());
|
counter.setSalesRep_ID(getSalesRep_ID());
|
||||||
counter.saveEx(get_TrxName());
|
counter.saveEx(get_TrxName());
|
||||||
|
|
||||||
|
|
|
@ -110,16 +110,16 @@ public class MInventoryLineMA extends X_M_InventoryLineMA
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (MInventoryLineMA.class);
|
private static CLogger s_log = CLogger.getCLogger (MInventoryLineMA.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param M_InventoryLineMA_UU UUID key
|
* @param M_InventoryLineMA_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MInventoryLineMA(Properties ctx, String M_InventoryLineMA_UU, String trxName) {
|
public MInventoryLineMA(Properties ctx, String M_InventoryLineMA_UU, String trxName) {
|
||||||
super(ctx, M_InventoryLineMA_UU, trxName);
|
super(ctx, M_InventoryLineMA_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -134,7 +134,7 @@ public class MInventoryLineMA extends X_M_InventoryLineMA
|
||||||
} // MInventoryLineMA
|
} // MInventoryLineMA
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName trx
|
* @param trxName trx
|
||||||
|
|
|
@ -70,7 +70,7 @@ import org.eevolution.model.MPPProductBOMLine;
|
||||||
* <li> FR [ 2520591 ] Support multiples calendar for Org
|
* <li> FR [ 2520591 ] Support multiples calendar for Org
|
||||||
* @see https://sourceforge.net/p/adempiere/feature-requests/631/
|
* @see https://sourceforge.net/p/adempiere/feature-requests/631/
|
||||||
* Modifications: Added RMA functionality (Ashley Ramdass)
|
* Modifications: Added RMA functionality (Ashley Ramdass)
|
||||||
* Modifications: Generate DocNo^ instead of using a new number whan an invoice is reversed (Diego Ruiz-globalqss)
|
* Modifications: Generate DocNo^ instead of using a new number when an invoice is reversed (Diego Ruiz-globalqss)
|
||||||
*/
|
*/
|
||||||
public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess
|
public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess
|
||||||
{
|
{
|
||||||
|
@ -394,18 +394,18 @@ public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess
|
||||||
return null;
|
return null;
|
||||||
} // get
|
} // get
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param C_Invoice_UU UUID key
|
* @param C_Invoice_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MInvoice(Properties ctx, String C_Invoice_UU, String trxName) {
|
public MInvoice(Properties ctx, String C_Invoice_UU, String trxName) {
|
||||||
super(ctx, C_Invoice_UU, trxName);
|
super(ctx, C_Invoice_UU, trxName);
|
||||||
if (Util.isEmpty(C_Invoice_UU))
|
if (Util.isEmpty(C_Invoice_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invoice Constructor
|
* Invoice Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
|
|
@ -109,18 +109,18 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
||||||
/** Tax */
|
/** Tax */
|
||||||
protected MTax m_tax = null;
|
protected MTax m_tax = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param C_InvoiceLine_UU UUID key
|
* @param C_InvoiceLine_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MInvoiceLine(Properties ctx, String C_InvoiceLine_UU, String trxName) {
|
public MInvoiceLine(Properties ctx, String C_InvoiceLine_UU, String trxName) {
|
||||||
super(ctx, C_InvoiceLine_UU, trxName);
|
super(ctx, C_InvoiceLine_UU, trxName);
|
||||||
if (Util.isEmpty(C_InvoiceLine_UU))
|
if (Util.isEmpty(C_InvoiceLine_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invoice Line Constructor
|
* Invoice Line Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -1232,7 +1232,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
||||||
MInOutLine[] lines = ship.getLines();
|
MInOutLine[] lines = ship.getLines();
|
||||||
for (int i = 0; i < lines.length; i++)
|
for (int i = 0; i < lines.length; i++)
|
||||||
{
|
{
|
||||||
if (lines[i].isDescription() // decription or no product
|
if (lines[i].isDescription() // description or no product
|
||||||
|| lines[i].getM_Product_ID() == 0)
|
|| lines[i].getM_Product_ID() == 0)
|
||||||
continue;
|
continue;
|
||||||
if (lc.getM_Product_ID() == 0 // no restriction or product match
|
if (lc.getM_Product_ID() == 0 // no restriction or product match
|
||||||
|
|
|
@ -59,18 +59,18 @@ public class MJournal extends X_GL_Journal implements DocAction
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 4661098755828765138L;
|
private static final long serialVersionUID = 4661098755828765138L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param GL_Journal_UU UUID key
|
* @param GL_Journal_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MJournal(Properties ctx, String GL_Journal_UU, String trxName) {
|
public MJournal(Properties ctx, String GL_Journal_UU, String trxName) {
|
||||||
super(ctx, GL_Journal_UU, trxName);
|
super(ctx, GL_Journal_UU, trxName);
|
||||||
if (Util.isEmpty(GL_Journal_UU))
|
if (Util.isEmpty(GL_Journal_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -185,7 +185,7 @@ public class MJournal extends X_GL_Journal implements DocAction
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Currency Info
|
* Set Currency Info
|
||||||
* @param C_Currency_ID currenct
|
* @param C_Currency_ID currency
|
||||||
* @param C_ConversionType_ID type
|
* @param C_ConversionType_ID type
|
||||||
* @param CurrencyRate rate
|
* @param CurrencyRate rate
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -43,18 +43,18 @@ public class MJournalLine extends X_GL_JournalLine
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 253571209449736797L;
|
private static final long serialVersionUID = 253571209449736797L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param GL_JournalLine_UU UUID key
|
* @param GL_JournalLine_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MJournalLine(Properties ctx, String GL_JournalLine_UU, String trxName) {
|
public MJournalLine(Properties ctx, String GL_JournalLine_UU, String trxName) {
|
||||||
super(ctx, GL_JournalLine_UU, trxName);
|
super(ctx, GL_JournalLine_UU, trxName);
|
||||||
if (Util.isEmpty(GL_JournalLine_UU))
|
if (Util.isEmpty(GL_JournalLine_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -131,7 +131,7 @@ public class MJournalLine extends X_GL_JournalLine
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Currency Info
|
* Set Currency Info
|
||||||
* @param C_Currency_ID currenct
|
* @param C_Currency_ID currency
|
||||||
* @param C_ConversionType_ID type
|
* @param C_ConversionType_ID type
|
||||||
* @param CurrencyRate rate
|
* @param CurrencyRate rate
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -145,16 +145,16 @@ public class MMessage extends X_AD_Message implements ImmutablePOSupport
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger(MMessage.class);
|
private static CLogger s_log = CLogger.getCLogger(MMessage.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_Message_UU UUID key
|
* @param AD_Message_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MMessage(Properties ctx, String AD_Message_UU, String trxName) {
|
public MMessage(Properties ctx, String AD_Message_UU, String trxName) {
|
||||||
super(ctx, AD_Message_UU, trxName);
|
super(ctx, AD_Message_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -167,7 +167,7 @@ public class MMessage extends X_AD_Message implements ImmutablePOSupport
|
||||||
} // MMessage
|
} // MMessage
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
|
|
@ -413,7 +413,7 @@ public class MPInstanceLog
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set AD_PInstance_Log_UU
|
* Set AD_PInstance_Log_UU
|
||||||
* @return Sting AD_PInstance_Log_UU
|
* @return String AD_PInstance_Log_UU
|
||||||
*/
|
*/
|
||||||
public String getAD_PInstance_Log_UU() {
|
public String getAD_PInstance_Log_UU() {
|
||||||
if(Util.isEmpty(m_AD_PInstance_Log_UU))
|
if(Util.isEmpty(m_AD_PInstance_Log_UU))
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck
|
||||||
psl.saveEx();
|
psl.saveEx();
|
||||||
} else {
|
} else {
|
||||||
// globalqss - CarlosRuiz - fix bug [ 1803054 ] Empty Remittance lines on payments
|
// globalqss - CarlosRuiz - fix bug [ 1803054 ] Empty Remittance lines on payments
|
||||||
// look for existance of C_PaymentAllocate records
|
// look for existence of C_PaymentAllocate records
|
||||||
// Allocate to multiple Payments based on entry
|
// Allocate to multiple Payments based on entry
|
||||||
MPaymentAllocate[] pAllocs = MPaymentAllocate.get(payment);
|
MPaymentAllocate[] pAllocs = MPaymentAllocate.get(payment);
|
||||||
if (pAllocs.length != 0) {
|
if (pAllocs.length != 0) {
|
||||||
|
@ -511,18 +511,18 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck
|
||||||
/** Logger */
|
/** Logger */
|
||||||
static private CLogger s_log = CLogger.getCLogger (MPaySelectionCheck.class);
|
static private CLogger s_log = CLogger.getCLogger (MPaySelectionCheck.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param C_PaySelectionCheck_UU UUID key
|
* @param C_PaySelectionCheck_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MPaySelectionCheck(Properties ctx, String C_PaySelectionCheck_UU, String trxName) {
|
public MPaySelectionCheck(Properties ctx, String C_PaySelectionCheck_UU, String trxName) {
|
||||||
super(ctx, C_PaySelectionCheck_UU, trxName);
|
super(ctx, C_PaySelectionCheck_UU, trxName);
|
||||||
if (Util.isEmpty(C_PaySelectionCheck_UU))
|
if (Util.isEmpty(C_PaySelectionCheck_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param C_PaySelectionCheck_ID C_PaySelectionCheck_ID
|
* @param C_PaySelectionCheck_ID C_PaySelectionCheck_ID
|
||||||
|
|
|
@ -188,7 +188,7 @@ public class MPaySelectionLine extends X_C_PaySelectionLine
|
||||||
/**
|
/**
|
||||||
* After Delete
|
* After Delete
|
||||||
* @param success success
|
* @param success success
|
||||||
* @return sucess
|
* @return success
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected boolean afterDelete (boolean success)
|
protected boolean afterDelete (boolean success)
|
||||||
|
|
|
@ -53,18 +53,18 @@ public class MPaymentAllocate extends X_C_PaymentAllocate
|
||||||
return list.toArray(new MPaymentAllocate[list.size()]);
|
return list.toArray(new MPaymentAllocate[list.size()]);
|
||||||
} // get
|
} // get
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param C_PaymentAllocate_UU UUID key
|
* @param C_PaymentAllocate_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MPaymentAllocate(Properties ctx, String C_PaymentAllocate_UU, String trxName) {
|
public MPaymentAllocate(Properties ctx, String C_PaymentAllocate_UU, String trxName) {
|
||||||
super(ctx, C_PaymentAllocate_UU, trxName);
|
super(ctx, C_PaymentAllocate_UU, trxName);
|
||||||
if (Util.isEmpty(C_PaymentAllocate_UU))
|
if (Util.isEmpty(C_PaymentAllocate_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -93,7 +93,7 @@ public class MPaymentAllocate extends X_C_PaymentAllocate
|
||||||
private MInvoice m_invoice = null;
|
private MInvoice m_invoice = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName trx
|
* @param trxName trx
|
||||||
|
|
|
@ -92,16 +92,16 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I
|
||||||
return acct;
|
return acct;
|
||||||
} // get
|
} // get
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param M_Product_Category_Acct_UU UUID key
|
* @param M_Product_Category_Acct_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MProductCategoryAcct(Properties ctx, String M_Product_Category_Acct_UU, String trxName) {
|
public MProductCategoryAcct(Properties ctx, String M_Product_Category_Acct_UU, String trxName) {
|
||||||
super(ctx, M_Product_Category_Acct_UU, trxName);
|
super(ctx, M_Product_Category_Acct_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -116,7 +116,7 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I
|
||||||
} // MProductCategoryAcct
|
} // MProductCategoryAcct
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName trx
|
* @param trxName trx
|
||||||
|
|
|
@ -354,7 +354,7 @@ public class MRefList extends X_AD_Ref_List implements ImmutablePOSupport
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Contructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result
|
* @param rs result
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class MRegistrationAttribute extends X_A_RegistrationAttribute implements
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get All Asset Registration Attributes (not cached).
|
* Get All Asset Registration Attributes (not cached).
|
||||||
* Refreshes Cache for direct addess
|
* Refreshes Cache for direct address
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @return array of Registration Attributes
|
* @return array of Registration Attributes
|
||||||
*/
|
*/
|
||||||
|
@ -154,16 +154,16 @@ public class MRegistrationAttribute extends X_A_RegistrationAttribute implements
|
||||||
private static ImmutableIntPOCache<Integer,MRegistrationAttribute> s_cache
|
private static ImmutableIntPOCache<Integer,MRegistrationAttribute> s_cache
|
||||||
= new ImmutableIntPOCache<Integer,MRegistrationAttribute>(Table_Name, 20);
|
= new ImmutableIntPOCache<Integer,MRegistrationAttribute>(Table_Name, 20);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param A_RegistrationAttribute_UU UUID key
|
* @param A_RegistrationAttribute_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MRegistrationAttribute(Properties ctx, String A_RegistrationAttribute_UU, String trxName) {
|
public MRegistrationAttribute(Properties ctx, String A_RegistrationAttribute_UU, String trxName) {
|
||||||
super(ctx, A_RegistrationAttribute_UU, trxName);
|
super(ctx, A_RegistrationAttribute_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
|
|
@ -29,20 +29,20 @@ import java.util.Properties;
|
||||||
public class MReplication extends X_AD_Replication
|
public class MReplication extends X_AD_Replication
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* geneated serial id
|
* generated serial id
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -562186299848949607L;
|
private static final long serialVersionUID = -562186299848949607L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_Replication_UU UUID key
|
* @param AD_Replication_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MReplication(Properties ctx, String AD_Replication_UU, String trxName) {
|
public MReplication(Properties ctx, String AD_Replication_UU, String trxName) {
|
||||||
super(ctx, AD_Replication_UU, trxName);
|
super(ctx, AD_Replication_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param AD_Replication_ID id
|
* @param AD_Replication_ID id
|
||||||
|
|
|
@ -2214,7 +2214,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
|
||||||
if (includes.size() == 0 && excludes.size() == 0)
|
if (includes.size() == 0 && excludes.size() == 0)
|
||||||
return "";
|
return "";
|
||||||
if (includes.size() != 0 && excludes.size() != 0)
|
if (includes.size() != 0 && excludes.size() != 0)
|
||||||
log.warning("Mixing Include and Excluse rules - Will not return values");
|
log.warning("Mixing Include and Exclude rules - Will not return values");
|
||||||
|
|
||||||
StringBuilder where = new StringBuilder(" AND ");
|
StringBuilder where = new StringBuilder(" AND ");
|
||||||
if (includes.size() == 1)
|
if (includes.size() == 1)
|
||||||
|
@ -2269,7 +2269,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
|
||||||
if (c == '.')
|
if (c == '.')
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
while (c != ' ' && c != ',' && c != '(') // delimeter
|
while (c != ' ' && c != ',' && c != '(') // delimiter
|
||||||
{
|
{
|
||||||
sb.insert(0, c);
|
sb.insert(0, c);
|
||||||
c = mainSql.charAt(--offset);
|
c = mainSql.charAt(--offset);
|
||||||
|
|
|
@ -43,21 +43,21 @@ public class MRoleIncluded extends X_AD_Role_Included
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -3284165639631581484L;
|
private static final long serialVersionUID = -3284165639631581484L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_Role_Included_UU UUID key
|
* @param AD_Role_Included_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MRoleIncluded(Properties ctx, String AD_Role_Included_UU, String trxName) {
|
public MRoleIncluded(Properties ctx, String AD_Role_Included_UU, String trxName) {
|
||||||
super(ctx, AD_Role_Included_UU, trxName);
|
super(ctx, AD_Role_Included_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx
|
* @param ctx
|
||||||
* @param AD_Role_Included_ID
|
* @param AD_Role_Included_ID
|
||||||
* @param trxName
|
* @param trxName
|
||||||
*/
|
*/
|
||||||
public MRoleIncluded(Properties ctx, int AD_Role_Included_ID, String trxName)
|
public MRoleIncluded(Properties ctx, int AD_Role_Included_ID, String trxName)
|
||||||
{
|
{
|
||||||
super(ctx, AD_Role_Included_ID, trxName);
|
super(ctx, AD_Role_Included_ID, trxName);
|
||||||
|
@ -119,7 +119,7 @@ public class MRoleIncluded extends X_AD_Role_Included
|
||||||
* @param trxName transaction name
|
* @param trxName transaction name
|
||||||
* @return true if loop detected. If you specified not null trace, you will have in that list the IDs from the loop
|
* @return true if loop detected. If you specified not null trace, you will have in that list the IDs from the loop
|
||||||
*/
|
*/
|
||||||
// TODO: refactor this method and move into org.compiere.util.DB class because it's general and usefull of others too
|
// TODO: refactor this method and move into org.compiere.util.DB class because it's general and useful of others too
|
||||||
private static boolean hasLoop(String tableName, String idColumnName, String parentIdColumnName,
|
private static boolean hasLoop(String tableName, String idColumnName, String parentIdColumnName,
|
||||||
int nodeId, List<Integer> trace,
|
int nodeId, List<Integer> trace,
|
||||||
String trxName)
|
String trxName)
|
||||||
|
|
|
@ -91,16 +91,16 @@ public class MSLACriteria extends X_PA_SLA_Criteria implements ImmutablePOSuppor
|
||||||
private static ImmutableIntPOCache<Integer,MSLACriteria> s_cache = new ImmutableIntPOCache<Integer,MSLACriteria>(Table_Name, 20);
|
private static ImmutableIntPOCache<Integer,MSLACriteria> s_cache = new ImmutableIntPOCache<Integer,MSLACriteria>(Table_Name, 20);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param PA_SLA_Criteria_UU UUID key
|
* @param PA_SLA_Criteria_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MSLACriteria(Properties ctx, String PA_SLA_Criteria_UU, String trxName) {
|
public MSLACriteria(Properties ctx, String PA_SLA_Criteria_UU, String trxName) {
|
||||||
super(ctx, PA_SLA_Criteria_UU, trxName);
|
super(ctx, PA_SLA_Criteria_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -191,7 +191,7 @@ public class MSLACriteria extends X_PA_SLA_Criteria implements ImmutablePOSuppor
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create New Instance of SLA Criteria
|
* Create New Instance of SLA Criteria
|
||||||
* @return instanciated class
|
* @return instantiated class
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public SLACriteria newInstance() throws Exception
|
public SLACriteria newInstance() throws Exception
|
||||||
|
|
|
@ -171,7 +171,7 @@ public class MSession extends X_AD_Session implements ImmutablePOSupport
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Costructor
|
* Load Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
|
|
@ -85,16 +85,16 @@ public class MSystem extends X_AD_System
|
||||||
/** System - cached */
|
/** System - cached */
|
||||||
private static CCache<Integer,MSystem> s_system = new CCache<Integer,MSystem>(Table_Name, 1, -1);
|
private static CCache<Integer,MSystem> s_system = new CCache<Integer,MSystem>(Table_Name, 1, -1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_System_UU UUID key
|
* @param AD_System_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MSystem(Properties ctx, String AD_System_UU, String trxName) {
|
public MSystem(Properties ctx, String AD_System_UU, String trxName) {
|
||||||
super(ctx, AD_System_UU, trxName);
|
super(ctx, AD_System_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default Constructor
|
* Default Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -155,7 +155,7 @@ public class MSystem extends X_AD_System
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is LDAP Authentification defined
|
* Is LDAP Authentication defined
|
||||||
* @return true if ldap defined
|
* @return true if ldap defined
|
||||||
*/
|
*/
|
||||||
public boolean isLDAP()
|
public boolean isLDAP()
|
||||||
|
@ -169,7 +169,7 @@ public class MSystem extends X_AD_System
|
||||||
} // isLDAP
|
} // isLDAP
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LDAP Authentification. Assumes that LDAP is defined.
|
* LDAP Authentication. Assumes that LDAP is defined.
|
||||||
* @param userName user name
|
* @param userName user name
|
||||||
* @param password password
|
* @param password password
|
||||||
* @return true if ldap authenticated
|
* @return true if ldap authenticated
|
||||||
|
|
|
@ -37,16 +37,16 @@ public class MTask extends X_AD_Task
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 5286481246615520755L;
|
private static final long serialVersionUID = 5286481246615520755L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_Task_UU UUID key
|
* @param AD_Task_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MTask(Properties ctx, String AD_Task_UU, String trxName) {
|
public MTask(Properties ctx, String AD_Task_UU, String trxName) {
|
||||||
super(ctx, AD_Task_UU, trxName);
|
super(ctx, AD_Task_UU, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -59,7 +59,7 @@ public class MTask extends X_AD_Task
|
||||||
} // MTask
|
} // MTask
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Cosntructor
|
* Load Constructor
|
||||||
* @param ctx ctx
|
* @param ctx ctx
|
||||||
* @param rs result set
|
* @param rs result set
|
||||||
* @param trxName trx
|
* @param trxName trx
|
||||||
|
|
|
@ -793,7 +793,7 @@ public class MUser extends X_AD_User implements ImmutablePOSupport
|
||||||
|
|
||||||
ArrayList<MRole> list = new ArrayList<MRole>();
|
ArrayList<MRole> list = new ArrayList<MRole>();
|
||||||
// 2007-06-08, matthiasO.
|
// 2007-06-08, matthiasO.
|
||||||
// Extension of sql query so that not only roles with org acces for this user
|
// Extension of sql query so that not only roles with org access for this user
|
||||||
// are found but also roles which delegate org access to the user level where
|
// are found but also roles which delegate org access to the user level where
|
||||||
// this user has access to the org in question
|
// this user has access to the org in question
|
||||||
String sql = "SELECT * FROM AD_Role r "
|
String sql = "SELECT * FROM AD_Role r "
|
||||||
|
|
|
@ -652,7 +652,7 @@ public class ModelValidationEngine
|
||||||
{
|
{
|
||||||
//log the stack trace
|
//log the stack trace
|
||||||
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||||
// Exeptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
|
// Exceptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
|
||||||
String error = e.getLocalizedMessage();
|
String error = e.getLocalizedMessage();
|
||||||
if (error == null)
|
if (error == null)
|
||||||
error = e.toString();
|
error = e.toString();
|
||||||
|
@ -817,7 +817,7 @@ public class ModelValidationEngine
|
||||||
{
|
{
|
||||||
//log the stack trace
|
//log the stack trace
|
||||||
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||||
// Exeptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
|
// Exceptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
|
||||||
String error = e.getLocalizedMessage();
|
String error = e.getLocalizedMessage();
|
||||||
if (error == null)
|
if (error == null)
|
||||||
error = e.toString();
|
error = e.toString();
|
||||||
|
|
|
@ -380,7 +380,7 @@ public class Query
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return first PO that match query criteria.
|
* Return first PO that match query criteria.
|
||||||
* If there are more records that match criteria an exception will be throwed
|
* If there are more records that match criteria an exception will be thrown
|
||||||
* @return first PO
|
* @return first PO
|
||||||
* @throws DBException
|
* @throws DBException
|
||||||
* @see {@link #first()}
|
* @see {@link #first()}
|
||||||
|
|
|
@ -429,7 +429,7 @@ public class Scriptlet
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* String Representation incl. Result
|
* String Representation incl. Result
|
||||||
* @return Scipt
|
* @return Script
|
||||||
*/
|
*/
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
|
|
|
@ -136,7 +136,7 @@ public class SetGetUtil
|
||||||
boolean ok = false;
|
boolean ok = false;
|
||||||
obj = rs.getObject(columnName);
|
obj = rs.getObject(columnName);
|
||||||
//
|
//
|
||||||
// Date Columns are retuned as Date -> convert to java.sql.Timestamp
|
// Date Columns are returned as Date -> convert to java.sql.Timestamp
|
||||||
if (obj instanceof java.sql.Date)
|
if (obj instanceof java.sql.Date)
|
||||||
{
|
{
|
||||||
obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime());
|
obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime());
|
||||||
|
|
|
@ -312,7 +312,7 @@ public class Tax
|
||||||
rs = null; pstmt = null;
|
rs = null; pstmt = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reverese for PO
|
// Reverse for PO
|
||||||
if (!IsSOTrx)
|
if (!IsSOTrx)
|
||||||
{
|
{
|
||||||
int temp = billFromC_Location_ID;
|
int temp = billFromC_Location_ID;
|
||||||
|
|
|
@ -257,7 +257,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
|
||||||
/** CashBook = C */
|
/** CashBook = C */
|
||||||
public static final String CASHBOOKTRANSFERTYPE_CashBook = "C";
|
public static final String CASHBOOKTRANSFERTYPE_CashBook = "C";
|
||||||
/** Set Cash Book Transfer Type.
|
/** Set Cash Book Transfer Type.
|
||||||
@param CashBookTransferType Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
@param CashBookTransferType Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
|
||||||
*/
|
*/
|
||||||
public void setCashBookTransferType (String CashBookTransferType)
|
public void setCashBookTransferType (String CashBookTransferType)
|
||||||
{
|
{
|
||||||
|
@ -266,7 +266,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Cash Book Transfer Type.
|
/** Get Cash Book Transfer Type.
|
||||||
@return Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
@return Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
|
||||||
*/
|
*/
|
||||||
public String getCashBookTransferType()
|
public String getCashBookTransferType()
|
||||||
{
|
{
|
||||||
|
|
|
@ -306,7 +306,7 @@ public class CPaper extends Paper
|
||||||
{
|
{
|
||||||
area = (MediaPrintableArea)atts[i];
|
area = (MediaPrintableArea)atts[i];
|
||||||
}
|
}
|
||||||
else // unhandeled
|
else // unhandled
|
||||||
System.out.println(atts[i].getName() + " = " + atts[i] + " - " + atts[i].getCategory());
|
System.out.println(atts[i].getName() + " = " + atts[i] + " - " + atts[i].getCategory());
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
|
@ -57,7 +57,7 @@ import bsh.Interpreter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Data Engine.
|
* Data Engine.
|
||||||
* Creates SQL and laods data into PrintData (including totals/etc.)
|
* Creates SQL and loads data into PrintData (including totals/etc.)
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: DataEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
|
* @version $Id: DataEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
|
||||||
|
@ -696,8 +696,8 @@ public class DataEngine
|
||||||
|
|
||||||
if (columns.size() == 0)
|
if (columns.size() == 0)
|
||||||
{
|
{
|
||||||
log.log(Level.SEVERE, "No Colums - Delete Report Format " + reportName + " and start again");
|
log.log(Level.SEVERE, "No Columns - Delete Report Format " + reportName + " and start again");
|
||||||
if (log.isLoggable(Level.FINEST)) log.finest("No Colums - SQL=" + sql + " - ID=" + format.get_ID());
|
if (log.isLoggable(Level.FINEST)) log.finest("No Columns - SQL=" + sql + " - ID=" + format.get_ID());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1192,7 +1192,7 @@ public class DataEngine
|
||||||
// Check last Group Change
|
// Check last Group Change
|
||||||
if (m_group.getGroupColumnCount() > 1) // one is TOTAL
|
if (m_group.getGroupColumnCount() > 1) // one is TOTAL
|
||||||
{
|
{
|
||||||
for (int i = pd.getColumnInfo().length-1; i >= 0; i--) // backwards (leaset group first)
|
for (int i = pd.getColumnInfo().length-1; i >= 0; i--) // backwards (last group first)
|
||||||
{
|
{
|
||||||
PrintDataColumn group_pdc = pd.getColumnInfo()[i];
|
PrintDataColumn group_pdc = pd.getColumnInfo()[i];
|
||||||
if (!m_group.isGroupColumn(group_pdc.getAD_PrintFormatItem_ID()))
|
if (!m_group.isGroupColumn(group_pdc.getAD_PrintFormatItem_ID()))
|
||||||
|
|
|
@ -63,21 +63,21 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 7542581302442072662L;
|
private static final long serialVersionUID = 7542581302442072662L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_PrintFormat_UU UUID key
|
* @param AD_PrintFormat_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MPrintFormat(Properties ctx, String AD_PrintFormat_UU, String trxName) {
|
public MPrintFormat(Properties ctx, String AD_PrintFormat_UU, String trxName) {
|
||||||
super(ctx, AD_PrintFormat_UU, trxName);
|
super(ctx, AD_PrintFormat_UU, trxName);
|
||||||
// Language=[Deutsch,Locale=de_DE,AD_Language=en_US,DatePattern=DD.MM.YYYY,DecimalPoint=false]
|
// Language=[Deutsch,Locale=de_DE,AD_Language=en_US,DatePattern=DD.MM.YYYY,DecimalPoint=false]
|
||||||
m_language = Env.getLanguage(ctx);
|
m_language = Env.getLanguage(ctx);
|
||||||
if (Util.isEmpty(AD_PrintFormat_UU))
|
if (Util.isEmpty(AD_PrintFormat_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
m_items = getItems();
|
m_items = getItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public Constructor.
|
* Public Constructor.
|
||||||
* Use static get methods
|
* Use static get methods
|
||||||
|
@ -509,7 +509,7 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport
|
||||||
} // getTableFormat
|
} // getTableFormat
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sting Representation
|
* String Representation
|
||||||
* @return info
|
* @return info
|
||||||
*/
|
*/
|
||||||
public String toString()
|
public String toString()
|
||||||
|
|
|
@ -56,18 +56,18 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -1608017405401341288L;
|
private static final long serialVersionUID = -1608017405401341288L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_PrintTableFormat_UU UUID key
|
* @param AD_PrintTableFormat_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MPrintTableFormat(Properties ctx, String AD_PrintTableFormat_UU, String trxName) {
|
public MPrintTableFormat(Properties ctx, String AD_PrintTableFormat_UU, String trxName) {
|
||||||
super(ctx, AD_PrintTableFormat_UU, trxName);
|
super(ctx, AD_PrintTableFormat_UU, trxName);
|
||||||
if (Util.isEmpty(AD_PrintTableFormat_UU))
|
if (Util.isEmpty(AD_PrintTableFormat_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -201,8 +201,8 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
|
||||||
} // setStandard_Font
|
} // setStandard_Font
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Stndard Font
|
* Get Standard Font
|
||||||
* @return stndard font
|
* @return standard font
|
||||||
*/
|
*/
|
||||||
public Font getStandard_Font()
|
public Font getStandard_Font()
|
||||||
{
|
{
|
||||||
|
@ -473,7 +473,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
|
||||||
} // getHLine_Color
|
} // getHLine_Color
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Verical Line Color.
|
* Get Vertical Line Color.
|
||||||
* (one db attribute for line color)
|
* (one db attribute for line color)
|
||||||
* @return color or gray light
|
* @return color or gray light
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -45,7 +45,7 @@ import org.w3c.dom.Element;
|
||||||
/**
|
/**
|
||||||
* Print Data Structure.
|
* Print Data Structure.
|
||||||
* Created by DataEngine
|
* Created by DataEngine
|
||||||
* A Structure has rows, wich contain elements.
|
* A Structure has rows, which contain elements.
|
||||||
* Elements can be end nodes (PrintDataElements) or data structures (PrintData).
|
* Elements can be end nodes (PrintDataElements) or data structures (PrintData).
|
||||||
* The row data is sparse - i.e. null if not existing.
|
* The row data is sparse - i.e. null if not existing.
|
||||||
* A Structure has optional meta info about content (PrintDataColumn).
|
* A Structure has optional meta info about content (PrintDataColumn).
|
||||||
|
|
|
@ -223,7 +223,7 @@ public class PrintUtil
|
||||||
/**
|
/**
|
||||||
* Print Async
|
* Print Async
|
||||||
* @param pageable pageable
|
* @param pageable pageable
|
||||||
* @param prats print attribure set
|
* @param prats print attribute set
|
||||||
*/
|
*/
|
||||||
static public void print (Pageable pageable, PrintRequestAttributeSet prats)
|
static public void print (Pageable pageable, PrintRequestAttributeSet prats)
|
||||||
{
|
{
|
||||||
|
@ -235,7 +235,7 @@ public class PrintUtil
|
||||||
/**
|
/**
|
||||||
* Print
|
* Print
|
||||||
* @param job printer job
|
* @param job printer job
|
||||||
* @param prats print attribure set
|
* @param prats print attribute set
|
||||||
* @param withDialog if true shows Dialog
|
* @param withDialog if true shows Dialog
|
||||||
* @param waitForIt if false print async
|
* @param waitForIt if false print async
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -618,7 +618,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
* Create HTML File
|
* Create HTML File
|
||||||
* @param file file
|
* @param file file
|
||||||
* @param onlyTable if false create complete HTML document
|
* @param onlyTable if false create complete HTML document
|
||||||
* @param language optional language - if null the default language is used to format nubers/dates
|
* @param language optional language - if null the default language is used to format numbers/dates
|
||||||
* @return true if success
|
* @return true if success
|
||||||
*/
|
*/
|
||||||
public boolean createHTML (File file, boolean onlyTable, Language language)
|
public boolean createHTML (File file, boolean onlyTable, Language language)
|
||||||
|
@ -630,7 +630,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
* Create HTML File
|
* Create HTML File
|
||||||
* @param file file
|
* @param file file
|
||||||
* @param onlyTable if false create complete HTML document
|
* @param onlyTable if false create complete HTML document
|
||||||
* @param language optional language - if null the default language is used to format nubers/dates
|
* @param language optional language - if null the default language is used to format numbers/dates
|
||||||
* @param extension optional extension for html output
|
* @param extension optional extension for html output
|
||||||
* @return true if success
|
* @return true if success
|
||||||
*/
|
*/
|
||||||
|
@ -660,7 +660,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
* Write HTML to writer
|
* Write HTML to writer
|
||||||
* @param writer writer
|
* @param writer writer
|
||||||
* @param onlyTable if false create complete HTML document
|
* @param onlyTable if false create complete HTML document
|
||||||
* @param language optional language - if null nubers/dates are not formatted
|
* @param language optional language - if null numbers/dates are not formatted
|
||||||
* @return true if success
|
* @return true if success
|
||||||
*/
|
*/
|
||||||
public boolean createHTML (Writer writer, boolean onlyTable, Language language)
|
public boolean createHTML (Writer writer, boolean onlyTable, Language language)
|
||||||
|
|
|
@ -21,7 +21,7 @@ import java.awt.geom.Dimension2D;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 2D Dimesnion Implementation
|
* 2D Dimension Implementation
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: Dimension2DImpl.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
|
* @version $Id: Dimension2DImpl.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
|
||||||
|
|
|
@ -27,7 +27,7 @@ import java.util.regex.Pattern;
|
||||||
* HTML Form Print ELement.
|
* HTML Form Print ELement.
|
||||||
* Restrictions:
|
* Restrictions:
|
||||||
* - Label is not printed
|
* - Label is not printed
|
||||||
* - Alighnment is ignored
|
* - Alignment is ignored
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: HTMLElement.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $
|
* @version $Id: HTMLElement.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $
|
||||||
|
|
|
@ -1008,7 +1008,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
if (row > 0 && m_format.isBreakPagePerRecord())
|
if (row > 0 && m_format.isBreakPagePerRecord())
|
||||||
newPage(true, false); // break page per record when the report is a form
|
newPage(true, false); // break page per record when the report is a form
|
||||||
|
|
||||||
boolean somethingPrinted = true; // prevent NL of nothing printed and supress null
|
boolean somethingPrinted = true; // prevent NL of nothing printed and suppress null
|
||||||
// for every item
|
// for every item
|
||||||
for (int i = 0; i < m_format.getItemCount(); i++)
|
for (int i = 0; i < m_format.getItemCount(); i++)
|
||||||
{
|
{
|
||||||
|
@ -1441,7 +1441,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
// Get Color/ Font
|
// Get Color/ Font
|
||||||
Color color = getColor(); // default
|
Color color = getColor(); // default
|
||||||
if (ID != null && !isForm)
|
if (ID != null && !isForm)
|
||||||
; // link color/underline handeled in PrintElement classes
|
; // link color/underline handled in PrintElement classes
|
||||||
else if (item.getAD_PrintColor_ID() != 0 && m_printColor.get_ID() != item.getAD_PrintColor_ID())
|
else if (item.getAD_PrintColor_ID() != 0 && m_printColor.get_ID() != item.getAD_PrintColor_ID())
|
||||||
{
|
{
|
||||||
MPrintColor c = MPrintColor.get (getCtx(), item.getAD_PrintColor_ID());
|
MPrintColor c = MPrintColor.get (getCtx(), item.getAD_PrintColor_ID());
|
||||||
|
|
|
@ -538,7 +538,7 @@ public class StringElement extends PrintElement
|
||||||
float lineHeight = layout.getAscent() + layout.getDescent() + layout.getLeading();
|
float lineHeight = layout.getAscent() + layout.getDescent() + layout.getLeading();
|
||||||
if (p_maxHeight == -1f && i == 0) // one line only
|
if (p_maxHeight == -1f && i == 0) // one line only
|
||||||
p_maxHeight = lineHeight;
|
p_maxHeight = lineHeight;
|
||||||
// If we have hight left over
|
// If we have height left over
|
||||||
if (p_maxHeight == 0f || (height + lineHeight) <= p_maxHeight)
|
if (p_maxHeight == 0f || (height + lineHeight) <= p_maxHeight)
|
||||||
{
|
{
|
||||||
yPen = (float)location.y + height + layout.getAscent();
|
yPen = (float)location.y + height + layout.getAscent();
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class TableElement extends PrintElement
|
||||||
* i.e. Point (-1, -1) is the default for the table
|
* i.e. Point (-1, -1) is the default for the table
|
||||||
*
|
*
|
||||||
* @param columnHeader array with column headers (Key=ColumnName)
|
* @param columnHeader array with column headers (Key=ColumnName)
|
||||||
* @param columnMaxWidth array with column max width - 0=no restrictions - negative=supress if null
|
* @param columnMaxWidth array with column max width - 0=no restrictions - negative=suppress if null
|
||||||
* @param columnMaxHeight array with row max height for a column - 0=no restrictions; -1=one row only
|
* @param columnMaxHeight array with row max height for a column - 0=no restrictions; -1=one row only
|
||||||
* @param columnJustification field justification for column
|
* @param columnJustification field justification for column
|
||||||
*
|
*
|
||||||
|
@ -109,7 +109,7 @@ public class TableElement extends PrintElement
|
||||||
* @param firstPage bounds on first page
|
* @param firstPage bounds on first page
|
||||||
* @param nextPages bounds on following pages
|
* @param nextPages bounds on following pages
|
||||||
* @param repeatedColumns repeat first x columns on - X Axis follow pages
|
* @param repeatedColumns repeat first x columns on - X Axis follow pages
|
||||||
* @param additionalLines map of old colum to below printed column
|
* @param additionalLines map of old column to below printed column
|
||||||
*
|
*
|
||||||
* @param rowColFont HashMap with Point as key with Font overwrite
|
* @param rowColFont HashMap with Point as key with Font overwrite
|
||||||
* @param rowColColor HashMap with Point as key with foreground Color overwrite
|
* @param rowColColor HashMap with Point as key with foreground Color overwrite
|
||||||
|
@ -1722,7 +1722,7 @@ public class TableElement extends PrintElement
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// next line is a funcion column -> underline this
|
// next line is a function column -> underline this
|
||||||
boolean nextIsFunction = m_functionRows.contains(Integer.valueOf(row+1));
|
boolean nextIsFunction = m_functionRows.contains(Integer.valueOf(row+1));
|
||||||
if (nextIsFunction && m_functionRows.contains(Integer.valueOf(row)))
|
if (nextIsFunction && m_functionRows.contains(Integer.valueOf(row)))
|
||||||
nextIsFunction = false; // this is a function line too
|
nextIsFunction = false; // this is a function line too
|
||||||
|
|
|
@ -314,7 +314,7 @@ public class ProcessInfoLog implements Serializable
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set AD_PInstance_Log_UU
|
* Set AD_PInstance_Log_UU
|
||||||
* @return Sting AD_PInstance_Log_UU
|
* @return String AD_PInstance_Log_UU
|
||||||
*/
|
*/
|
||||||
public String getAD_PInstance_Log_UU() {
|
public String getAD_PInstance_Log_UU() {
|
||||||
return m_AD_PInstance_Log_UU;
|
return m_AD_PInstance_Log_UU;
|
||||||
|
|
|
@ -301,7 +301,7 @@ public class ServerProcessCtl implements Runnable {
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Start Java Process Class.
|
* Start Java Process Class.
|
||||||
* instanciate the class implementing the interface ProcessCall.
|
* instantiate the class implementing the interface ProcessCall.
|
||||||
* The class can be a Server/Client class (when in Package
|
* The class can be a Server/Client class (when in Package
|
||||||
* org adempiere.process or org.compiere.model) or a client only class
|
* org adempiere.process or org.compiere.model) or a client only class
|
||||||
* (e.g. in org.compiere.report)
|
* (e.g. in org.compiere.report)
|
||||||
|
|
|
@ -47,20 +47,20 @@ public class MReportLine extends X_PA_ReportLine
|
||||||
private BasicStroke overline_Stroke;
|
private BasicStroke overline_Stroke;
|
||||||
private Stroke underline_Stroke;
|
private Stroke underline_Stroke;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param PA_ReportLine_UU UUID key
|
* @param PA_ReportLine_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MReportLine(Properties ctx, String PA_ReportLine_UU, String trxName) {
|
public MReportLine(Properties ctx, String PA_ReportLine_UU, String trxName) {
|
||||||
super(ctx, PA_ReportLine_UU, trxName);
|
super(ctx, PA_ReportLine_UU, trxName);
|
||||||
if (Util.isEmpty(PA_ReportLine_UU))
|
if (Util.isEmpty(PA_ReportLine_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
else
|
else
|
||||||
loadSources();
|
loadSources();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -97,7 +97,7 @@ public class MReportLine extends X_PA_ReportLine
|
||||||
loadSources();
|
loadSources();
|
||||||
} // MReportLine
|
} // MReportLine
|
||||||
|
|
||||||
/** Containt Sources */
|
/** Contained Sources */
|
||||||
private MReportSource[] m_sources = null;
|
private MReportSource[] m_sources = null;
|
||||||
/** Cache result */
|
/** Cache result */
|
||||||
private String m_whereClause = null;
|
private String m_whereClause = null;
|
||||||
|
|
|
@ -269,7 +269,7 @@ public class RModel implements Serializable
|
||||||
// TableModel interface
|
// TableModel interface
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return Total mumber of rows
|
* Return Total number of rows
|
||||||
* @return row count
|
* @return row count
|
||||||
*/
|
*/
|
||||||
public int getRowCount()
|
public int getRowCount()
|
||||||
|
|
|
@ -188,7 +188,7 @@ public class RModelData
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("Start Rows=" + m_rows.size());
|
if (log.isLoggable(Level.FINE)) log.fine("Start Rows=" + m_rows.size());
|
||||||
|
|
||||||
// Row level Funcions
|
// Row level Functions
|
||||||
// would come here
|
// would come here
|
||||||
|
|
||||||
// Group by Values
|
// Group by Values
|
||||||
|
|
|
@ -364,7 +364,7 @@ public class FileUtil
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Filter String
|
* Get Filter String
|
||||||
* @return flter String
|
* @return filter String
|
||||||
*/
|
*/
|
||||||
String getFilterString()
|
String getFilterString()
|
||||||
{
|
{
|
||||||
|
|
|
@ -955,7 +955,7 @@ public class EmailSrv {
|
||||||
*/
|
*/
|
||||||
public List<BodyPart> lsEmbedPart = new ArrayList<BodyPart>();
|
public List<BodyPart> lsEmbedPart = new ArrayList<BodyPart>();
|
||||||
/**
|
/**
|
||||||
* list part unknow to process
|
* list part unknown to process
|
||||||
*/
|
*/
|
||||||
public List<Part> lsUnknowPart = new ArrayList<Part>();
|
public List<Part> lsUnknowPart = new ArrayList<Part>();
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class NullParameter implements Serializable
|
||||||
private static final long serialVersionUID = 5098594046699488306L;
|
private static final long serialVersionUID = 5098594046699488306L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cosntructor
|
* Constructor
|
||||||
* @param type SQL Type java.sql.Types.*
|
* @param type SQL Type java.sql.Types.*
|
||||||
*/
|
*/
|
||||||
public NullParameter(int type)
|
public NullParameter(int type)
|
||||||
|
|
|
@ -141,19 +141,19 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
} // getActivityInfo
|
} // getActivityInfo
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_WF_Activity_UU UUID key
|
* @param AD_WF_Activity_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MWFActivity(Properties ctx, String AD_WF_Activity_UU, String trxName) {
|
public MWFActivity(Properties ctx, String AD_WF_Activity_UU, String trxName) {
|
||||||
super(ctx, AD_WF_Activity_UU, trxName);
|
super(ctx, AD_WF_Activity_UU, trxName);
|
||||||
if (Util.isEmpty(AD_WF_Activity_UU))
|
if (Util.isEmpty(AD_WF_Activity_UU))
|
||||||
throw new IllegalArgumentException ("Cannot create new WF Activity directly");
|
throw new IllegalArgumentException ("Cannot create new WF Activity directly");
|
||||||
m_state = new StateEngine (getWFState());
|
m_state = new StateEngine (getWFState());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -181,7 +181,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
||||||
} // MWFActivity
|
} // MWFActivity
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent Contructor
|
* Parent Constructor
|
||||||
* @param process process
|
* @param process process
|
||||||
* @param AD_WF_Node_ID start node
|
* @param AD_WF_Node_ID start node
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -44,20 +44,20 @@ public class MWFNodeNext extends X_AD_WF_NodeNext implements ImmutablePOSupport
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 5965306487040965994L;
|
private static final long serialVersionUID = 5965306487040965994L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID based Constructor
|
* UUID based Constructor
|
||||||
* @param ctx Context
|
* @param ctx Context
|
||||||
* @param AD_WF_NodeNext_UU UUID key
|
* @param AD_WF_NodeNext_UU UUID key
|
||||||
* @param trxName Transaction
|
* @param trxName Transaction
|
||||||
*/
|
*/
|
||||||
public MWFNodeNext(Properties ctx, String AD_WF_NodeNext_UU, String trxName) {
|
public MWFNodeNext(Properties ctx, String AD_WF_NodeNext_UU, String trxName) {
|
||||||
super(ctx, AD_WF_NodeNext_UU, trxName);
|
super(ctx, AD_WF_NodeNext_UU, trxName);
|
||||||
if (Util.isEmpty(AD_WF_NodeNext_UU))
|
if (Util.isEmpty(AD_WF_NodeNext_UU))
|
||||||
setInitialDefaults();
|
setInitialDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Costructor
|
* Standard Constructor
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @param AD_WF_NodeNext_ID id
|
* @param AD_WF_NodeNext_ID id
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class BankTransfer extends SvrProcess
|
||||||
private int p_C_ConversionType_ID = 0; // Payment Conversion Type
|
private int p_C_ConversionType_ID = 0; // Payment Conversion Type
|
||||||
private int p_C_Charge_ID = 0; // Charge to be used as bridge
|
private int p_C_Charge_ID = 0; // Charge to be used as bridge
|
||||||
|
|
||||||
private BigDecimal p_Amount = Env.ZERO; // Amount to be transfered between the accounts
|
private BigDecimal p_Amount = Env.ZERO; // Amount to be transferred between the accounts
|
||||||
private int p_From_C_BankAccount_ID = 0; // Bank Account From
|
private int p_From_C_BankAccount_ID = 0; // Bank Account From
|
||||||
private int p_To_C_BankAccount_ID= 0; // Bank Account To
|
private int p_To_C_BankAccount_ID= 0; // Bank Account To
|
||||||
private Timestamp p_StatementDate = null; // Date Statement
|
private Timestamp p_StatementDate = null; // Date Statement
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class BridgeServlet extends HttpServlet {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Search from OSGi registry the servlet, ressources... to executed according the path of the HTTP request. If no service are founded :
|
* Search from OSGi registry the servlet, resources... to execute according to the path of the HTTP request. If no services are found :
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>if {@link FilterChain} is not null : {@link FilterChain#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)} is called.</li>
|
* <li>if {@link FilterChain} is not null : {@link FilterChain#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)} is called.</li>
|
||||||
* <li>otherwise throw 404 error.</li>
|
* <li>otherwise throw 404 error.</li>
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.osgi.service.http.HttpContext;
|
||||||
* The Http Service also requires a ServletContext namespaced by each individual HttpContext. The ProxyContext provides support for the
|
* The Http Service also requires a ServletContext namespaced by each individual HttpContext. The ProxyContext provides support for the
|
||||||
* attribute map of a ServletContext again namespaced by HttpContext as specified in the Http Service specification. The ContextAttributes
|
* attribute map of a ServletContext again namespaced by HttpContext as specified in the Http Service specification. The ContextAttributes
|
||||||
* are reference counted so that when the HttpContext is no longer referenced the associated context attributes can be
|
* are reference counted so that when the HttpContext is no longer referenced the associated context attributes can be
|
||||||
* garbage collected and the context temp dir deleteted.
|
* garbage collected and the context temp dir deleted.
|
||||||
*/
|
*/
|
||||||
public class ProxyContext {
|
public class ProxyContext {
|
||||||
private static final String JAVAX_SERVLET_CONTEXT_TEMPDIR = "javax.servlet.context.tempdir"; //$NON-NLS-1$
|
private static final String JAVAX_SERVLET_CONTEXT_TEMPDIR = "javax.servlet.context.tempdir"; //$NON-NLS-1$
|
||||||
|
@ -86,7 +86,7 @@ public class ProxyContext {
|
||||||
/**
|
/**
|
||||||
* deleteDirectory is a convenience method to recursively delete a directory
|
* deleteDirectory is a convenience method to recursively delete a directory
|
||||||
* @param directory - the directory to delete.
|
* @param directory - the directory to delete.
|
||||||
* @return was the delete succesful
|
* @return was the delete successful
|
||||||
*/
|
*/
|
||||||
protected static boolean deleteDirectory(File directory) {
|
protected static boolean deleteDirectory(File directory) {
|
||||||
if (directory.exists() && directory.isDirectory()) {
|
if (directory.exists() && directory.isDirectory()) {
|
||||||
|
|
|
@ -97,7 +97,7 @@ public abstract class Config
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UI Signal OK
|
* UI Signal OK
|
||||||
* @param cb ckeck box
|
* @param cb check box
|
||||||
* @param resString resource string key
|
* @param resString resource string key
|
||||||
* @param pass true if test passed
|
* @param pass true if test passed
|
||||||
* @param critical true if critical
|
* @param critical true if critical
|
||||||
|
|
|
@ -291,7 +291,7 @@ public class KeyStoreMgt
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Distinguised Name
|
* Get Distinguished Name
|
||||||
* @param parent interactive dialog
|
* @param parent interactive dialog
|
||||||
* @return dname or null
|
* @return dname or null
|
||||||
*/
|
*/
|
||||||
|
@ -378,7 +378,7 @@ public class KeyStoreMgt
|
||||||
/**
|
/**
|
||||||
* Escape Commas
|
* Escape Commas
|
||||||
* @param in input string
|
* @param in input string
|
||||||
* @return excaped string
|
* @return escaped string
|
||||||
*/
|
*/
|
||||||
public static String escapeCommas(String in)
|
public static String escapeCommas(String in)
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class ALayout implements LayoutManager2
|
||||||
} // ALayout
|
} // ALayout
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Detail Contructor
|
* Detail Constructor
|
||||||
* @param spaceH horizontal space (top, between rows, button)
|
* @param spaceH horizontal space (top, between rows, button)
|
||||||
* @param spaceV vertical space (left, between columns, right)
|
* @param spaceV vertical space (left, between columns, right)
|
||||||
* @param colFill fields are fully filled (rather then preferred size)
|
* @param colFill fields are fully filled (rather then preferred size)
|
||||||
|
@ -162,7 +162,7 @@ public class ALayout implements LayoutManager2
|
||||||
/**
|
/**
|
||||||
* Calculate Layout Size
|
* Calculate Layout Size
|
||||||
* @param parent Parent Container
|
* @param parent Parent Container
|
||||||
* @param how P=Preferred - M=Maximum = m=Mimimum
|
* @param how P=Preferred - M=Maximum = m=Minimum
|
||||||
* @return Size
|
* @return Size
|
||||||
*/
|
*/
|
||||||
private Dimension calculateLayoutSize(Container parent, char how)
|
private Dimension calculateLayoutSize(Container parent, char how)
|
||||||
|
|
|
@ -70,7 +70,7 @@ public final class AppsAction extends AbstractAction
|
||||||
*
|
*
|
||||||
* @param action base action command - used as AD_Message for Text and Icon name
|
* @param action base action command - used as AD_Message for Text and Icon name
|
||||||
* @param accelerator optional keystroke for accelerator
|
* @param accelerator optional keystroke for accelerator
|
||||||
* @param text text, if null defered from action
|
* @param text text, if null deferred from action
|
||||||
*/
|
*/
|
||||||
public AppsAction (String action, KeyStroke accelerator, String text)
|
public AppsAction (String action, KeyStroke accelerator, String text)
|
||||||
{
|
{
|
||||||
|
@ -82,7 +82,7 @@ public final class AppsAction extends AbstractAction
|
||||||
*
|
*
|
||||||
* @param action base action command - used as AD_Message for Text and Icon name
|
* @param action base action command - used as AD_Message for Text and Icon name
|
||||||
* @param accelerator optional keystroke for accelerator
|
* @param accelerator optional keystroke for accelerator
|
||||||
* @param toolTipText text, if null defered from action
|
* @param toolTipText text, if null deferred from action
|
||||||
* @param toggle is toggle action (maintains state)
|
* @param toggle is toggle action (maintains state)
|
||||||
*/
|
*/
|
||||||
public AppsAction (String action, KeyStroke accelerator, String toolTipText, boolean toggle)
|
public AppsAction (String action, KeyStroke accelerator, String toolTipText, boolean toggle)
|
||||||
|
|
|
@ -612,7 +612,7 @@ public final class ConfirmPanel extends JPanel
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is OK Visible
|
* Is OK Visible
|
||||||
* @return true of OK visisble
|
* @return true of OK visible
|
||||||
*/
|
*/
|
||||||
public boolean isOKVisible()
|
public boolean isOKVisible()
|
||||||
{
|
{
|
||||||
|
|
|
@ -156,7 +156,7 @@ public class PP_Optimal extends PaymentProcessor
|
||||||
AVSCodes.put("W", "Nine digit zip matches, address not");
|
AVSCodes.put("W", "Nine digit zip matches, address not");
|
||||||
AVSCodes.put("Z", "Five digit zip matches, address not");
|
AVSCodes.put("Z", "Five digit zip matches, address not");
|
||||||
AVSCodes.put("N", "No Part matches");
|
AVSCodes.put("N", "No Part matches");
|
||||||
AVSCodes.put("U", "Address info unabailable");
|
AVSCodes.put("U", "Address info unavailable");
|
||||||
AVSCodes.put("R", "Retry");
|
AVSCodes.put("R", "Retry");
|
||||||
AVSCodes.put("S", "AVS not supported");
|
AVSCodes.put("S", "AVS not supported");
|
||||||
AVSCodes.put("E", "AVS not supported for this industry");
|
AVSCodes.put("E", "AVS not supported for this industry");
|
||||||
|
|
|
@ -201,7 +201,7 @@ public final class PP_PayFlowPro extends PaymentProcessor
|
||||||
else
|
else
|
||||||
log.log(Level.SEVERE, "Response unknown = " + token);
|
log.log(Level.SEVERE, "Response unknown = " + token);
|
||||||
}
|
}
|
||||||
// Probelms with rc (e.g. 0 with Result=24)
|
// Problems with rc (e.g. 0 with Result=24)
|
||||||
return m_ok;
|
return m_ok;
|
||||||
} // process
|
} // process
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,7 @@ public final class PP_PayFlowPro4 extends PaymentProcessor
|
||||||
|
|
||||||
// Following lines of code are optional.
|
// Following lines of code are optional.
|
||||||
// Begin optional code for displaying SDK errors ...
|
// Begin optional code for displaying SDK errors ...
|
||||||
// It is used to read any errors that might have occured in the SDK.
|
// It is used to read any errors that might have occurred in the SDK.
|
||||||
// Get the transaction errors.
|
// Get the transaction errors.
|
||||||
|
|
||||||
String transErrors = m_pp.getTransactionContext().toString();
|
String transErrors = m_pp.getTransactionContext().toString();
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class ColumnElementHandler extends AbstractElementHandler {
|
||||||
&& mColumn.is_ValueChanged(MColumn.COLUMNNAME_FieldLength)
|
&& mColumn.is_ValueChanged(MColumn.COLUMNNAME_FieldLength)
|
||||||
&& mColumn.getFieldLength() < mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength)
|
&& mColumn.getFieldLength() < mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength)
|
||||||
) {
|
) {
|
||||||
// IDEMPIERE-1518 2Pack shoud not try to reduce column size
|
// IDEMPIERE-1518 2Pack should not try to reduce column size
|
||||||
mColumn.setFieldLength(mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength));
|
mColumn.setFieldLength(mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class ReportViewElementHandler extends AbstractElementHandler {
|
||||||
AttributesImpl atts = new AttributesImpl();
|
AttributesImpl atts = new AttributesImpl();
|
||||||
MReportView m_Reportview = new MReportView(ctx.ctx, AD_ReportView_ID, getTrxName(ctx));
|
MReportView m_Reportview = new MReportView(ctx.ctx, AD_ReportView_ID, getTrxName(ctx));
|
||||||
|
|
||||||
// Export Table if neccessary
|
// Export Table if necessary
|
||||||
ElementHandler tableHandler = packOut.getHandler(I_AD_Table.Table_Name);
|
ElementHandler tableHandler = packOut.getHandler(I_AD_Table.Table_Name);
|
||||||
try {
|
try {
|
||||||
tableHandler.packOut(packOut, document, null, m_Reportview.getAD_Table_ID());
|
tableHandler.packOut(packOut, document, null, m_Reportview.getAD_Table_ID());
|
||||||
|
|
|
@ -126,7 +126,7 @@ public class TopicImportProcessor implements IImportProcessor {
|
||||||
|
|
||||||
if ( topicListener != null ) {
|
if ( topicListener != null ) {
|
||||||
topicListener.stop();
|
topicListener.stop();
|
||||||
log.info("Stoped topicListener." );
|
log.info("Stopped topicListener." );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -254,7 +254,7 @@ public class ExportHelper {
|
||||||
// process single XML Attribute
|
// process single XML Attribute
|
||||||
// Create new element
|
// Create new element
|
||||||
Element newElement = outDocument.createElement(formatLine.getValue());
|
Element newElement = outDocument.createElement(formatLine.getValue());
|
||||||
if (log.isLoggable(Level.INFO)) log.info("Format Line Seach key: "+ formatLine.getValue());
|
if (log.isLoggable(Level.INFO)) log.info("Format Line Search key: "+ formatLine.getValue());
|
||||||
if (formatLine.getAD_Column_ID() == 0) {
|
if (formatLine.getAD_Column_ID() == 0) {
|
||||||
throw new Exception(Msg.getMsg (masterPO.getCtx(), "EXPColumnMandatory"));
|
throw new Exception(Msg.getMsg (masterPO.getCtx(), "EXPColumnMandatory"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -296,7 +296,7 @@ public class ImportHelper {
|
||||||
// and set value of column!
|
// and set value of column!
|
||||||
for (MEXPFormatLine formatLine : formatLines)
|
for (MEXPFormatLine formatLine : formatLines)
|
||||||
{
|
{
|
||||||
log.info("=================== Beginnig of Format Line ===============================");
|
log.info("=================== Beginning of Format Line ==============================");
|
||||||
if (log.isLoggable(Level.INFO)) log.info("formatLine: [" + formatLine.toString() + "]");
|
if (log.isLoggable(Level.INFO)) log.info("formatLine: [" + formatLine.toString() + "]");
|
||||||
//Get the value
|
//Get the value
|
||||||
Object value = getValueFromFormat(formatLine,po,rootElement,result,ReplicationType);
|
Object value = getValueFromFormat(formatLine,po,rootElement,result,ReplicationType);
|
||||||
|
@ -343,7 +343,7 @@ public class ImportHelper {
|
||||||
String xPath = null;
|
String xPath = null;
|
||||||
xPath = "" + line.getValue() + "";
|
xPath = "" + line.getValue() + "";
|
||||||
|
|
||||||
if (log.isLoggable(Level.INFO)) log.info("Seach for XML Element = " + xPath);
|
if (log.isLoggable(Level.INFO)) log.info("Search for XML Element = " + xPath);
|
||||||
Element referencedNode = XMLHelper.getElement(xPath, rootElement);
|
Element referencedNode = XMLHelper.getElement(xPath, rootElement);
|
||||||
|
|
||||||
if (log.isLoggable(Level.INFO)) log.info("referencedNode = " + referencedNode);
|
if (log.isLoggable(Level.INFO)) log.info("referencedNode = " + referencedNode);
|
||||||
|
|
|
@ -22,14 +22,14 @@ function windowTitle()
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
<A NAME="navbar_top"><!-- --></A>
|
<A NAME="navbar_top"><!-- --></A>
|
||||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||||
<TR>
|
<TR>
|
||||||
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||||
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
||||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||||
|
@ -64,7 +64,7 @@ function windowTitle()
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||||
</NOSCRIPT>
|
</NOSCRIPT>
|
||||||
|
|
||||||
</FONT></TD>
|
</FONT></TD>
|
||||||
</TR>
|
</TR>
|
||||||
|
@ -75,7 +75,7 @@ function windowTitle()
|
||||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="skip-navbar_top"></A>
|
<A NAME="skip-navbar_top"></A>
|
||||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
|
||||||
<HR>
|
<HR>
|
||||||
|
@ -98,16 +98,16 @@ java.lang.Object
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>rlemeill
|
<DD>rlemeill
|
||||||
originaly coming from an application note from compiere.co.uk</DD>
|
originally coming from an application note from compiere.co.uk</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||||
|
|
||||||
<A NAME="nested_class_summary"><!-- --></A>
|
<A NAME="nested_class_summary"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=2><FONT SIZE="+2">
|
<TD COLSPAN=2><FONT SIZE="+2">
|
||||||
|
@ -141,7 +141,7 @@ java.lang.Object
|
||||||
|
|
||||||
<!-- =========== FIELD SUMMARY =========== -->
|
<!-- =========== FIELD SUMMARY =========== -->
|
||||||
|
|
||||||
<A NAME="field_summary"><!-- --></A>
|
<A NAME="field_summary"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=2><FONT SIZE="+2">
|
<TD COLSPAN=2><FONT SIZE="+2">
|
||||||
|
@ -167,7 +167,7 @@ java.lang.Object
|
||||||
|
|
||||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||||
|
|
||||||
<A NAME="constructor_summary"><!-- --></A>
|
<A NAME="constructor_summary"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=2><FONT SIZE="+2">
|
<TD COLSPAN=2><FONT SIZE="+2">
|
||||||
|
@ -183,7 +183,7 @@ java.lang.Object
|
||||||
|
|
||||||
<!-- ========== METHOD SUMMARY =========== -->
|
<!-- ========== METHOD SUMMARY =========== -->
|
||||||
|
|
||||||
<A NAME="method_summary"><!-- --></A>
|
<A NAME="method_summary"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=2><FONT SIZE="+2">
|
<TD COLSPAN=2><FONT SIZE="+2">
|
||||||
|
@ -192,7 +192,7 @@ java.lang.Object
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>private void</CODE></FONT></TD>
|
<CODE>private void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#addProcessParameters(int, java.util.Map)">addProcessParameters</A></B>(int AD_PInstance_ID,
|
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#addProcessParameters(int, java.util.Map)">addProcessParameters</A></B>(int AD_PInstance_ID,
|
||||||
java.util.Map params)</CODE>
|
java.util.Map params)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -201,7 +201,7 @@ java.lang.Object
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>private net.sf.jasperreports.engine.JasperReport</CODE></FONT></TD>
|
<CODE>private net.sf.jasperreports.engine.JasperReport</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#compileReport(java.io.File, java.io.File)">compileReport</A></B>(java.io.File reportFile,
|
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#compileReport(java.io.File, java.io.File)">compileReport</A></B>(java.io.File reportFile,
|
||||||
java.io.File jasperFile)</CODE>
|
java.io.File jasperFile)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -218,7 +218,7 @@ java.lang.Object
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>private java.io.File</CODE></FONT></TD>
|
<CODE>private java.io.File</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#getRemoteFile(java.lang.String, java.lang.String)">getRemoteFile</A></B>(java.lang.String reportLocation,
|
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#getRemoteFile(java.lang.String, java.lang.String)">getRemoteFile</A></B>(java.lang.String reportLocation,
|
||||||
java.lang.String localPath)</CODE>
|
java.lang.String localPath)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -243,7 +243,7 @@ java.lang.Object
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>private java.io.File</CODE></FONT></TD>
|
<CODE>private java.io.File</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#getReportFile(java.lang.String, java.lang.String)">getReportFile</A></B>(java.lang.String reportPath,
|
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#getReportFile(java.lang.String, java.lang.String)">getReportFile</A></B>(java.lang.String reportPath,
|
||||||
java.lang.String reportType)</CODE>
|
java.lang.String reportType)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -292,7 +292,7 @@ java.lang.Object
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>private void</CODE></FONT></TD>
|
<CODE>private void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#reportResult(int, java.lang.String)">reportResult</A></B>(int AD_PInstance_ID,
|
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#reportResult(int, java.lang.String)">reportResult</A></B>(int AD_PInstance_ID,
|
||||||
java.lang.String errMsg)</CODE>
|
java.lang.String errMsg)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -301,16 +301,16 @@ java.lang.Object
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#startProcess(java.util.Properties, org.compiere.process.ProcessInfo, org.compiere.util.Trx)">startProcess</A></B>(java.util.Properties ctx,
|
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#startProcess(java.util.Properties, org.compiere.process.ProcessInfo, org.compiere.util.Trx)">startProcess</A></B>(java.util.Properties ctx,
|
||||||
org.compiere.process.ProcessInfo pi,
|
org.compiere.process.ProcessInfo pi,
|
||||||
org.compiere.util.Trx trx)</CODE>
|
org.compiere.util.Trx trx)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Start the process.
|
Start the process.
|
||||||
</TD>
|
</TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
||||||
|
@ -324,7 +324,7 @@ java.lang.Object
|
||||||
|
|
||||||
<!-- ============ FIELD DETAIL =========== -->
|
<!-- ============ FIELD DETAIL =========== -->
|
||||||
|
|
||||||
<A NAME="field_detail"><!-- --></A>
|
<A NAME="field_detail"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=1><FONT SIZE="+2">
|
<TD COLSPAN=1><FONT SIZE="+2">
|
||||||
|
@ -353,7 +353,7 @@ private static java.io.File <B>REPORT_HOME</B></PRE>
|
||||||
|
|
||||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||||
|
|
||||||
<A NAME="constructor_detail"><!-- --></A>
|
<A NAME="constructor_detail"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=1><FONT SIZE="+2">
|
<TD COLSPAN=1><FONT SIZE="+2">
|
||||||
|
@ -370,7 +370,7 @@ public <B>ReportStarter</B>()</PRE>
|
||||||
|
|
||||||
<!-- ============ METHOD DETAIL ========== -->
|
<!-- ============ METHOD DETAIL ========== -->
|
||||||
|
|
||||||
<A NAME="method_detail"><!-- --></A>
|
<A NAME="method_detail"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
<TD COLSPAN=1><FONT SIZE="+2">
|
<TD COLSPAN=1><FONT SIZE="+2">
|
||||||
|
@ -387,7 +387,7 @@ private boolean <B>isRequestedonAS</B>(java.net.URL requestURL)</PRE>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>requestURL</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>requestURL</CODE> -
|
||||||
<DT><B>Returns:</B><DD>true if the report is on the same ip address than Application Server</DL>
|
<DT><B>Returns:</B><DD>true if the report is on the same ip address than Application Server</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -402,7 +402,7 @@ private boolean <B>isMD5HomeInterfaceAvailable</B>()</PRE>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>true if the class org.compiere.interfaces.MD5Home is present</DL>
|
<DT><B>Returns:</B><DD>true if the class org.compiere.interfaces.MD5Home is present</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -417,8 +417,8 @@ private java.lang.String <B>ejbGetRemoteMD5</B>(java.lang.String requestedU
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>requestedURLString</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>requestedURLString</CODE> -
|
||||||
<DT><B>Returns:</B><DD>md5 hash of remote file computed directly on application server
|
<DT><B>Returns:</B><DD>md5 hash of remote file computed directly on application server
|
||||||
null if problem or if report doesn't seem to be on AS (different IP or 404)</DL>
|
null if problem or if report doesn't seem to be on AS (different IP or 404)</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -427,15 +427,15 @@ private java.lang.String <B>ejbGetRemoteMD5</B>(java.lang.String requestedU
|
||||||
<A NAME="getRemoteFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
<A NAME="getRemoteFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
||||||
getRemoteFile</H3>
|
getRemoteFile</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
private java.io.File <B>getRemoteFile</B>(java.lang.String reportLocation,
|
private java.io.File <B>getRemoteFile</B>(java.lang.String reportLocation,
|
||||||
java.lang.String localPath)</PRE>
|
java.lang.String localPath)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>reportLocation</CODE> - http://applicationserver/webApp/standalone.jrxml for exemple<DD><CODE>localPath</CODE> - Where to put the http downloadede file
|
<DT><B>Parameters:</B><DD><CODE>reportLocation</CODE> - http://applicationserver/webApp/standalone.jrxml for example<DD><CODE>localPath</CODE> - Where to put the http downloadede file
|
||||||
<DT><B>Returns:</B><DD>abstract File wich represent the downloaded file</DL>
|
<DT><B>Returns:</B><DD>abstract File which represents the downloaded file</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
@ -449,7 +449,7 @@ private java.io.File <B>httpDownloadedReport</B>(java.lang.String reportLoc
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>reportLocation</CODE> - http string url ex: http://compiereserver.domain.com/webApp/standalone.jrxml
|
<DT><B>Parameters:</B><DD><CODE>reportLocation</CODE> - http string url ex: http://compiereserver.domain.com/webApp/standalone.jrxml
|
||||||
<DT><B>Returns:</B><DD>downloaded File (or already existing one)</DL>
|
<DT><B>Returns:</B><DD>downloaded File (or already existing one)</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -458,20 +458,20 @@ private java.io.File <B>httpDownloadedReport</B>(java.lang.String reportLoc
|
||||||
<A NAME="startProcess(java.util.Properties, org.compiere.process.ProcessInfo, org.compiere.util.Trx)"><!-- --></A><H3>
|
<A NAME="startProcess(java.util.Properties, org.compiere.process.ProcessInfo, org.compiere.util.Trx)"><!-- --></A><H3>
|
||||||
startProcess</H3>
|
startProcess</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public boolean <B>startProcess</B>(java.util.Properties ctx,
|
public boolean <B>startProcess</B>(java.util.Properties ctx,
|
||||||
org.compiere.process.ProcessInfo pi,
|
org.compiere.process.ProcessInfo pi,
|
||||||
org.compiere.util.Trx trx)</PRE>
|
org.compiere.util.Trx trx)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Start the process.
|
<DD>Start the process.
|
||||||
Called then pressing the Process button in R_Request.
|
Called then pressing the Process button in R_Request.
|
||||||
It should only return false, if the function could not be performed
|
It should only return false, if the function could not be performed
|
||||||
as this causes the process to abort.
|
as this causes the process to abort.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Specified by:</B><DD><CODE>startProcess</CODE> in interface <CODE>org.compiere.process.ProcessCall</CODE></DL>
|
<DT><B>Specified by:</B><DD><CODE>startProcess</CODE> in interface <CODE>org.compiere.process.ProcessCall</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>ctx</CODE> - context<DD><CODE>pi</CODE> - Compiere standard process info<DD><CODE>trx</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>ctx</CODE> - context<DD><CODE>pi</CODE> - Compiere standard process info<DD><CODE>trx</CODE> -
|
||||||
<DT><B>Returns:</B><DD>true if success</DL>
|
<DT><B>Returns:</B><DD>true if success</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -480,14 +480,14 @@ public boolean <B>startProcess</B>(java.util.Properties ctx,
|
||||||
<A NAME="getReportFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
<A NAME="getReportFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
||||||
getReportFile</H3>
|
getReportFile</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
private java.io.File <B>getReportFile</B>(java.lang.String reportPath,
|
private java.io.File <B>getReportFile</B>(java.lang.String reportPath,
|
||||||
java.lang.String reportType)</PRE>
|
java.lang.String reportType)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>reportPath</CODE> - <DD><CODE>reportType</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>reportPath</CODE> - <DD><CODE>reportType</CODE> -
|
||||||
<DT><B>Returns:</B><DD>the abstract file corresponding to typed report</DL>
|
<DT><B>Returns:</B><DD>the abstract file corresponding to typed report</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -502,7 +502,7 @@ private java.io.File <B>getReportFile</B>(java.lang.String reportPath)</PRE
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>reportPath</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>reportPath</CODE> -
|
||||||
<DT><B>Returns:</B><DD>the abstract file corresponding to report</DL>
|
<DT><B>Returns:</B><DD>the abstract file corresponding to report</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -511,7 +511,7 @@ private java.io.File <B>getReportFile</B>(java.lang.String reportPath)</PRE
|
||||||
<A NAME="reportResult(int, java.lang.String)"><!-- --></A><H3>
|
<A NAME="reportResult(int, java.lang.String)"><!-- --></A><H3>
|
||||||
reportResult</H3>
|
reportResult</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
private void <B>reportResult</B>(int AD_PInstance_ID,
|
private void <B>reportResult</B>(int AD_PInstance_ID,
|
||||||
java.lang.String errMsg)</PRE>
|
java.lang.String errMsg)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
@ -532,7 +532,7 @@ private <A HREF="../../../org/compiere/report/ReportStarter.JasperData.html" tit
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>reportFile</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>reportFile</CODE> -
|
||||||
<DT><B>Returns:</B><DD></DL>
|
<DT><B>Returns:</B><DD></DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -541,7 +541,7 @@ private <A HREF="../../../org/compiere/report/ReportStarter.JasperData.html" tit
|
||||||
<A NAME="addProcessParameters(int, java.util.Map)"><!-- --></A><H3>
|
<A NAME="addProcessParameters(int, java.util.Map)"><!-- --></A><H3>
|
||||||
addProcessParameters</H3>
|
addProcessParameters</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
private void <B>addProcessParameters</B>(int AD_PInstance_ID,
|
private void <B>addProcessParameters</B>(int AD_PInstance_ID,
|
||||||
java.util.Map params)</PRE>
|
java.util.Map params)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
@ -570,14 +570,14 @@ private void <B>JWScorrectClassPath</B>()</PRE>
|
||||||
<A NAME="compileReport(java.io.File, java.io.File)"><!-- --></A><H3>
|
<A NAME="compileReport(java.io.File, java.io.File)"><!-- --></A><H3>
|
||||||
compileReport</H3>
|
compileReport</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
private net.sf.jasperreports.engine.JasperReport <B>compileReport</B>(java.io.File reportFile,
|
private net.sf.jasperreports.engine.JasperReport <B>compileReport</B>(java.io.File reportFile,
|
||||||
java.io.File jasperFile)</PRE>
|
java.io.File jasperFile)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>reportFile</CODE> - <DD><CODE>jasperFile</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>reportFile</CODE> - <DD><CODE>jasperFile</CODE> -
|
||||||
<DT><B>Returns:</B><DD>compiled JasperReport</DL>
|
<DT><B>Returns:</B><DD>compiled JasperReport</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -592,21 +592,21 @@ public <A HREF="../../../org/compiere/report/ReportStarter.ReportData.html" titl
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>AD_PInstance_ID</CODE> -
|
<DT><B>Parameters:</B><DD><CODE>AD_PInstance_ID</CODE> -
|
||||||
<DT><B>Returns:</B><DD>ReportData</DL>
|
<DT><B>Returns:</B><DD>ReportData</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
|
|
||||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||||
<A NAME="navbar_bottom"><!-- --></A>
|
<A NAME="navbar_bottom"><!-- --></A>
|
||||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||||
<TR>
|
<TR>
|
||||||
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||||
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
||||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||||
|
@ -641,7 +641,7 @@ public <A HREF="../../../org/compiere/report/ReportStarter.ReportData.html" titl
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||||
</NOSCRIPT>
|
</NOSCRIPT>
|
||||||
|
|
||||||
</FONT></TD>
|
</FONT></TD>
|
||||||
</TR>
|
</TR>
|
||||||
|
@ -652,7 +652,7 @@ public <A HREF="../../../org/compiere/report/ReportStarter.ReportData.html" titl
|
||||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="skip-navbar_bottom"></A>
|
<A NAME="skip-navbar_bottom"></A>
|
||||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||||
|
|
||||||
<HR>
|
<HR>
|
||||||
|
|
|
@ -27,7 +27,7 @@ import net.sf.jasperreports.export.SimpleExporterConfiguration;
|
||||||
import net.sf.jasperreports.export.SimplePdfExporterConfiguration;
|
import net.sf.jasperreports.export.SimplePdfExporterConfiguration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* mange to fire event relate jasper report
|
* manage to fire event relate jasper report
|
||||||
* at the moment just fire export pdf event
|
* at the moment just fire export pdf event
|
||||||
* @author hieplq
|
* @author hieplq
|
||||||
*
|
*
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue