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:
luzpaz 2024-01-16 08:25:48 -05:00 committed by Carlos Ruiz
parent ffd5e75d82
commit a87de727af
190 changed files with 801 additions and 801 deletions

View File

@ -72,7 +72,7 @@ public class ImmediateBankTransfer extends SvrProcess
private String p_Name = ""; // Name
private String p_Description= ""; // Description
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_To_C_BankAccount_ID= 0; // Bank Account To
private Timestamp p_StatementDate = null; // Date Statement

View File

@ -259,7 +259,7 @@ public class PrepareMigrationScripts extends SvrProcess {
}
}
return "Sucess";
return "Success";
}
@Override

View File

@ -42,7 +42,7 @@ import org.compiere.util.Msg;
* @author Jorg Janke
* @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
{
/** BP Group */
@ -718,7 +718,7 @@ public class AllocationAuto extends SvrProcess
/**********************************************************************************************
* Create Allocation allocation
* @param C_Currency_ID currency
* @param description decription
* @param description description
* @param Amount amount
* @param DiscountAmt discount
* @param WriteOffAmt write off

View File

@ -41,7 +41,7 @@ import org.compiere.util.Env;
* @author Jorg Janke
* @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
{
@ -369,7 +369,7 @@ public class InventoryCountCreate extends SvrProcess
* @param productCategoryId
* @param categories
* @param loopIndicatorId
* @return comma seperated list of category ids
* @return comma separated list of category ids
* @throws AdempiereSystemError if a loop is detected
*/
private String getSubCategoriesString(int productCategoryId, Vector<SimpleTreeNode> categories, int loopIndicatorId) throws AdempiereSystemError {

View File

@ -194,7 +194,7 @@ public class ImportCSVProcess extends SvrProcess implements DataStatusListener {
log.warning(msg);
}
// Refresh the list on dependant fields
// Refresh the list on dependent fields
for (GridField dependentField : l_gridTab.getDependantFields(mField.getColumnName()))
{
// if the field has a lookup

View File

@ -29,7 +29,7 @@ public interface IBankStatementLoaderFactory {
* This class will be implemented in OSGi plugins. Every plugin that
* provides this service may or may not provide an BankStatementLoader
* 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
* want to use.
*

View File

@ -141,7 +141,7 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
oldSalesRep_ID = ((Integer)oo).intValue();
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(),
MUser.getNameOfUser(AD_User_ID),
MUser.getNameOfUser(oldSalesRep_ID),

View File

@ -230,7 +230,7 @@ public class GridTabCSVImporter implements IGridTabImporter
rowsTmpResult.add(rawLine);
continue;
}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);
continue;
}
@ -826,7 +826,7 @@ public class GridTabCSVImporter implements IGridTabImporter
wfProcess.setTransactionName(document.get_TrxName());
MWFProcess wdPro = ProcessUtil.startWorkFlow(Env.getCtx(),wfProcess, AD_Workflow_ID);
if(wdPro == null)
return "Document action could not be proccesed";
return "Document action could not be processed";
else if (wfProcess.isError())
return "Document action error: "+wfProcess.getSummary();
else

View File

@ -18,7 +18,7 @@ import org.compiere.util.DB;
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.
*/
@org.adempiere.base.annotation.Process

View File

@ -258,7 +258,7 @@ public abstract class Convert_SQL92 extends Convert {
.append(" ON (").append(second.getCondition());
joins.remove(j); // remove from join 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
//----
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());
joins.remove(k); // remove from join 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
}
else if (trace)

View File

@ -291,14 +291,14 @@ public abstract class OFXBankStatementHandler extends DefaultHandler
} //isValid
/**
* Check wether the import was succesfull
* @return true if all statement lines have been imported succesfully
* Check whether the import was successful
* @return true if all statement lines have been imported successfully
*/
public boolean importSuccessfull()
{
/*
* 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;
} // importSuccessfull

View File

@ -418,7 +418,7 @@ public class AccessSqlParser
} // TableInfo
/**
* Short Constuctor - no synonym
* Short Constructor - no synonym
* @param tableName table
*/
public TableInfo (String tableName)

View File

@ -91,7 +91,7 @@ public class ArchiveFileSystem implements IArchiveStore {
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
if(filePath!=null){
filePath = filePath.replaceFirst(ARCHIVE_FOLDER_PLACEHOLDER, archivePathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure...
//just to be sure...
String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\";

View File

@ -211,7 +211,7 @@ public class AttachmentFileSystem implements IAttachmentStore {
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
if(filePath!=null){
filePath = filePath.replaceFirst(attach.ATTACHMENT_FOLDER_PLACEHOLDER, attachmentPathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure...
//just to be sure...
String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\";

View File

@ -218,7 +218,7 @@ public class GridField
return;
}
// 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.lookupInfo.IsCreadedUpdatedBy = true;
@ -2056,7 +2056,7 @@ public class GridField
* Set Value to null.
* <p>
* 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 ()
{

View File

@ -633,7 +633,7 @@ public class GridFieldVO implements Serializable, Cloneable
public int displayType = 0;
/** Table ID */
public int AD_Table_ID = 0;
/** Clumn ID */
/** Column ID */
public int AD_Column_ID = 0;
/** Display Length */
public int DisplayLength = 0;
@ -647,7 +647,7 @@ public class GridFieldVO implements Serializable, Cloneable
public int SeqNo = 0;
/** Grid Display sequence */
public int SeqNoGrid = 0;
/** Dislay Logic, never set null for it */
/** Display Logic, never set null for it */
public String DisplayLogic = "";
/** Default Value, never set null for it */
public String DefaultValue = "";
@ -848,13 +848,13 @@ public class GridFieldVO implements Serializable, Cloneable
* @param tabNo tab no
* @param ad_Window_ID window id
* @param ad_Tab_ID tab id
* @param TabReadOnly r/o
* @return Field or null
*/
public GridFieldVO clone(Properties ctx, int windowNo, int tabNo,
int ad_Window_ID, int ad_Tab_ID,
boolean TabReadOnly)
{
* @param TabReadOnly r/o
* @return Field or null
*/
public GridFieldVO clone(Properties ctx, int windowNo, int tabNo,
int ad_Window_ID, int ad_Tab_ID,
boolean TabReadOnly)
{
GridFieldVO clone = null;
clone = (GridFieldVO) clone();
clone.ctx = ctx;

View File

@ -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%'
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
+ ", Query=" + query);
return query.getWhereClause(true);
@ -2283,7 +2283,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
* </pre>
* @param e event
*/
@Override
@Override
public void dataStatusChanged (DataStatusEvent e)
{
if (log.isLoggable(Level.FINE)) log.fine("#" + m_vo.TabNo + " - " + e.toString());

View File

@ -2157,7 +2157,7 @@ public class GridTable extends AbstractTableModel
// Tab R/O
if (m_readOnly)
{
fireDataStatusEEvent("AccessCannotDelete", "", true); // previleges
fireDataStatusEEvent("AccessCannotDelete", "", true); // privileges
return false;
}

View File

@ -322,7 +322,7 @@ public class GridWindowVO implements Serializable
public String AD_Window_UU = "";
/** Name */
public String Name = "";
/** Desription */
/** Description */
public String Description = "";
/** Help */
public String Help = "";

View File

@ -133,12 +133,12 @@ public interface I_U_POSTerminal
public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType";
/** 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);
/** 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();

View File

@ -88,7 +88,7 @@ public class ImageFileStorageImpl implements IImageStore {
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
if(filePath!=null){
filePath = filePath.replaceFirst(IMAGE_FOLDER_PLACEHOLDER, imagePathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure...
//just to be sure...
String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\";

View File

@ -295,7 +295,7 @@ public class MAcctSchemaElement extends X_C_AcctSchema_Element implements Immuta
/**
* Set value for Account element type
* @param SeqNo squence
* @param SeqNo sequence
* @param Name name
* @param C_Element_ID element
* @param C_ElementValue_ID element value

View File

@ -37,18 +37,18 @@ public class MAlertRule extends X_AD_AlertRule
{
private static final long serialVersionUID = -1267260460210893262L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_AlertRule_UU UUID key
* @param trxName Transaction
*/
public MAlertRule(Properties ctx, String AD_AlertRule_UU, String trxName) {
super(ctx, AD_AlertRule_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_AlertRule_UU UUID key
* @param trxName Transaction
*/
public MAlertRule(Properties ctx, String AD_AlertRule_UU, String trxName) {
super(ctx, AD_AlertRule_UU, trxName);
}
/**
* Standatd Constructor
* Standard Constructor
* @param ctx context
* @param AD_AlertRule_ID id
* @param trxName transaction

View File

@ -65,23 +65,23 @@ public class MAssetAddition extends X_A_Asset_Addition
/** Static Logger */
private static CLogger s_log = CLogger.getCLogger(MAssetAddition.class);
/**
* UUID based Constructor
* @param ctx Context
* @param A_Asset_Addition_UU UUID key
* @param trxName Transaction
*/
public MAssetAddition(Properties ctx, String A_Asset_Addition_UU, String trxName) {
super(ctx, A_Asset_Addition_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param A_Asset_Addition_UU UUID key
* @param trxName Transaction
*/
public MAssetAddition(Properties ctx, String A_Asset_Addition_UU, String trxName) {
super(ctx, A_Asset_Addition_UU, trxName);
if (Util.isEmpty(A_Asset_Addition_UU))
setInitialDefaults();
}
}
/**
* @param ctx
* @param A_Asset_Addition_ID
* @param trxName
*/
*/
public MAssetAddition (Properties ctx, int A_Asset_Addition_ID, String trxName)
{
super (ctx, A_Asset_Addition_ID, trxName);
@ -1213,7 +1213,7 @@ public class MAssetAddition extends X_A_Asset_Addition
}
else
{
// Succesfull creation of Asset
// Successful creation of Asset
if (cnt == 0)
{
setA_CreateAsset(true);

View File

@ -35,16 +35,16 @@ public class MAttributeUse extends X_M_AttributeUse
*/
private static final long serialVersionUID = -9159120094145438975L;
/**
* UUID based Constructor
* @param ctx Context
* @param M_AttributeUse_UU UUID key
* @param trxName Transaction
*/
public MAttributeUse(Properties ctx, String M_AttributeUse_UU, String trxName) {
super(ctx, M_AttributeUse_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param M_AttributeUse_UU UUID key
* @param trxName Transaction
*/
public MAttributeUse(Properties ctx, String M_AttributeUse_UU, String trxName) {
super(ctx, M_AttributeUse_UU, trxName);
}
/**
* @param ctx context
* @param ignored ignored
@ -58,7 +58,7 @@ public class MAttributeUse extends X_M_AttributeUse
} // MAttributeUse
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName transaction

View File

@ -45,18 +45,18 @@ public class MCashLine extends X_C_CashLine
*/
private static final long serialVersionUID = 5023249596033465923L;
/**
* UUID based Constructor
* @param ctx Context
* @param C_CashLine_UU UUID key
* @param trxName Transaction
*/
public MCashLine(Properties ctx, String C_CashLine_UU, String trxName) {
super(ctx, C_CashLine_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param C_CashLine_UU UUID key
* @param trxName Transaction
*/
public MCashLine(Properties ctx, String C_CashLine_UU, String trxName) {
super(ctx, C_CashLine_UU, trxName);
if (Util.isEmpty(C_CashLine_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -81,7 +81,7 @@ public class MCashLine extends X_C_CashLine
}
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName transaction
@ -92,7 +92,7 @@ public class MCashLine extends X_C_CashLine
} // MCashLine
/**
* Parent Cosntructor
* Parent Constructor
* @param cash parent
*/
public MCashLine (MCash cash)

View File

@ -1208,7 +1208,7 @@ public class MClient extends X_AD_Client implements ImmutablePOSupport
/**
* Get SMTP Host
* @return SMTP or loaclhost
* @return SMTP or localhost
*/
@Override
public String getSMTPHost() {

View File

@ -890,7 +890,7 @@ public class MCost extends X_M_Cost
* @param product product
* @param M_AttributeSetInstance_ID optional asi
* @param as acct schema
* @param AD_Org_ID optonal org
* @param AD_Org_ID optional org
* @return average invoice costs or null
*/
public static BigDecimal calculateAverageInv (MProduct product, int M_AttributeSetInstance_ID,
@ -1457,18 +1457,18 @@ public class MCost extends X_M_Cost
/** Logger */
private static CLogger s_log = CLogger.getCLogger (MCost.class);
/**
* UUID based Constructor
* @param ctx Context
* @param M_Cost_UU UUID key
* @param trxName Transaction
*/
public MCost(Properties ctx, String M_Cost_UU, String trxName) {
super(ctx, M_Cost_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param M_Cost_UU UUID key
* @param trxName Transaction
*/
public MCost(Properties ctx, String M_Cost_UU, String trxName) {
super(ctx, M_Cost_UU, trxName);
if (Util.isEmpty(M_Cost_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -1656,7 +1656,7 @@ public class MCost extends X_M_Cost
* String Representation
* @return info
*/
@Override
@Override
public String toString ()
{
StringBuilder sb = new StringBuilder ("MCost[");

View File

@ -403,7 +403,7 @@ public class MDepreciation extends X_A_Depreciation implements ImmutablePOSuppor
/** 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);
/** 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
// logging

View File

@ -28,7 +28,7 @@ import org.idempiere.cache.ImmutablePOSupport;
import org.idempiere.cache.ImmutablePOCache;
/**
* Enitity Type Model
* Entity Type Model
*
* @author Jorg Janke
* @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")
private static CLogger s_log = CLogger.getCLogger (MEntityType.class);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_EntityType_UU UUID key
* @param trxName Transaction
*/
public MEntityType(Properties ctx, String AD_EntityType_UU, String trxName) {
super(ctx, AD_EntityType_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_EntityType_UU UUID key
* @param trxName Transaction
*/
public MEntityType(Properties ctx, String AD_EntityType_UU, String trxName) {
super(ctx, AD_EntityType_UU, trxName);
}
/**
* Standard Constructor
* @param ctx context

View File

@ -255,18 +255,18 @@ public class MGoal extends X_PA_Goal
/** Logger */
private static CLogger s_log = CLogger.getCLogger (MGoal.class);
/**
* UUID based Constructor
* @param ctx Context
* @param PA_Goal_UU UUID key
* @param trxName Transaction
*/
public MGoal(Properties ctx, String PA_Goal_UU, String trxName) {
super(ctx, PA_Goal_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param PA_Goal_UU UUID key
* @param trxName Transaction
*/
public MGoal(Properties ctx, String PA_Goal_UU, String trxName) {
super(ctx, PA_Goal_UU, trxName);
if (Util.isEmpty(PA_Goal_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -307,7 +307,7 @@ public class MGoal extends X_PA_Goal
/**
* @param ctx context
* @param Name Name
* @param Description Decsription
* @param Description Description
* @param MeasureTarget target
* @param trxName trx
*/

View File

@ -287,7 +287,7 @@ public class MIFixedAsset extends X_I_FixedAsset
private int m_A_Asset_Group_ID = 0;
/**
* set defauly asset group id
* set default asset group id
* @param A_Asset_Group_ID
*/
public void setDefault_Asset_Group_ID(int A_Asset_Group_ID) {

View File

@ -2510,7 +2510,7 @@ public class MInOut extends X_M_InOut implements DocAction, IDocsPostProcess
counter.setDropShip_User_ID(getDropShip_User_ID());
}
// Refernces (Should not be required
// References (Should not be required)
counter.setSalesRep_ID(getSalesRep_ID());
counter.saveEx(get_TrxName());

View File

@ -110,16 +110,16 @@ public class MInventoryLineMA extends X_M_InventoryLineMA
/** Logger */
private static CLogger s_log = CLogger.getCLogger (MInventoryLineMA.class);
/**
* UUID based Constructor
* @param ctx Context
* @param M_InventoryLineMA_UU UUID key
* @param trxName Transaction
*/
public MInventoryLineMA(Properties ctx, String M_InventoryLineMA_UU, String trxName) {
super(ctx, M_InventoryLineMA_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param M_InventoryLineMA_UU UUID key
* @param trxName Transaction
*/
public MInventoryLineMA(Properties ctx, String M_InventoryLineMA_UU, String trxName) {
super(ctx, M_InventoryLineMA_UU, trxName);
}
/**
* Standard Constructor
* @param ctx context
@ -134,7 +134,7 @@ public class MInventoryLineMA extends X_M_InventoryLineMA
} // MInventoryLineMA
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName trx

View File

@ -70,7 +70,7 @@ import org.eevolution.model.MPPProductBOMLine;
* <li> FR [ 2520591 ] Support multiples calendar for Org
* @see https://sourceforge.net/p/adempiere/feature-requests/631/
* 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
{
@ -394,18 +394,18 @@ public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess
return null;
} // get
/**
* UUID based Constructor
* @param ctx Context
* @param C_Invoice_UU UUID key
* @param trxName Transaction
*/
public MInvoice(Properties ctx, String C_Invoice_UU, String trxName) {
super(ctx, C_Invoice_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param C_Invoice_UU UUID key
* @param trxName Transaction
*/
public MInvoice(Properties ctx, String C_Invoice_UU, String trxName) {
super(ctx, C_Invoice_UU, trxName);
if (Util.isEmpty(C_Invoice_UU))
setInitialDefaults();
}
}
/**
* Invoice Constructor
* @param ctx context

View File

@ -109,18 +109,18 @@ public class MInvoiceLine extends X_C_InvoiceLine
/** Tax */
protected MTax m_tax = null;
/**
* UUID based Constructor
* @param ctx Context
* @param C_InvoiceLine_UU UUID key
* @param trxName Transaction
*/
public MInvoiceLine(Properties ctx, String C_InvoiceLine_UU, String trxName) {
super(ctx, C_InvoiceLine_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param C_InvoiceLine_UU UUID key
* @param trxName Transaction
*/
public MInvoiceLine(Properties ctx, String C_InvoiceLine_UU, String trxName) {
super(ctx, C_InvoiceLine_UU, trxName);
if (Util.isEmpty(C_InvoiceLine_UU))
setInitialDefaults();
}
}
/**
* Invoice Line Constructor
* @param ctx context
@ -1232,7 +1232,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
MInOutLine[] lines = ship.getLines();
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)
continue;
if (lc.getM_Product_ID() == 0 // no restriction or product match

View File

@ -59,18 +59,18 @@ public class MJournal extends X_GL_Journal implements DocAction
*/
private static final long serialVersionUID = 4661098755828765138L;
/**
* UUID based Constructor
* @param ctx Context
* @param GL_Journal_UU UUID key
* @param trxName Transaction
*/
public MJournal(Properties ctx, String GL_Journal_UU, String trxName) {
super(ctx, GL_Journal_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param GL_Journal_UU UUID key
* @param trxName Transaction
*/
public MJournal(Properties ctx, String GL_Journal_UU, String trxName) {
super(ctx, GL_Journal_UU, trxName);
if (Util.isEmpty(GL_Journal_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -185,7 +185,7 @@ public class MJournal extends X_GL_Journal implements DocAction
/**
* Set Currency Info
* @param C_Currency_ID currenct
* @param C_Currency_ID currency
* @param C_ConversionType_ID type
* @param CurrencyRate rate
*/

View File

@ -43,18 +43,18 @@ public class MJournalLine extends X_GL_JournalLine
*/
private static final long serialVersionUID = 253571209449736797L;
/**
* UUID based Constructor
* @param ctx Context
* @param GL_JournalLine_UU UUID key
* @param trxName Transaction
*/
public MJournalLine(Properties ctx, String GL_JournalLine_UU, String trxName) {
super(ctx, GL_JournalLine_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param GL_JournalLine_UU UUID key
* @param trxName Transaction
*/
public MJournalLine(Properties ctx, String GL_JournalLine_UU, String trxName) {
super(ctx, GL_JournalLine_UU, trxName);
if (Util.isEmpty(GL_JournalLine_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -131,7 +131,7 @@ public class MJournalLine extends X_GL_JournalLine
/**
* Set Currency Info
* @param C_Currency_ID currenct
* @param C_Currency_ID currency
* @param C_ConversionType_ID type
* @param CurrencyRate rate
*/

View File

@ -145,16 +145,16 @@ public class MMessage extends X_AD_Message implements ImmutablePOSupport
/** Static Logger */
private static CLogger s_log = CLogger.getCLogger(MMessage.class);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Message_UU UUID key
* @param trxName Transaction
*/
public MMessage(Properties ctx, String AD_Message_UU, String trxName) {
super(ctx, AD_Message_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Message_UU UUID key
* @param trxName Transaction
*/
public MMessage(Properties ctx, String AD_Message_UU, String trxName) {
super(ctx, AD_Message_UU, trxName);
}
/**
* Standard Constructor
* @param ctx context
@ -167,7 +167,7 @@ public class MMessage extends X_AD_Message implements ImmutablePOSupport
} // MMessage
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName transaction

View File

@ -413,7 +413,7 @@ public class MPInstanceLog
/**
* Set AD_PInstance_Log_UU
* @return Sting AD_PInstance_Log_UU
* @return String AD_PInstance_Log_UU
*/
public String getAD_PInstance_Log_UU() {
if(Util.isEmpty(m_AD_PInstance_Log_UU))

View File

@ -160,7 +160,7 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck
psl.saveEx();
} else {
// 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
MPaymentAllocate[] pAllocs = MPaymentAllocate.get(payment);
if (pAllocs.length != 0) {
@ -511,18 +511,18 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck
/** Logger */
static private CLogger s_log = CLogger.getCLogger (MPaySelectionCheck.class);
/**
* UUID based Constructor
* @param ctx Context
* @param C_PaySelectionCheck_UU UUID key
* @param trxName Transaction
*/
public MPaySelectionCheck(Properties ctx, String C_PaySelectionCheck_UU, String trxName) {
super(ctx, C_PaySelectionCheck_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param C_PaySelectionCheck_UU UUID key
* @param trxName Transaction
*/
public MPaySelectionCheck(Properties ctx, String C_PaySelectionCheck_UU, String trxName) {
super(ctx, C_PaySelectionCheck_UU, trxName);
if (Util.isEmpty(C_PaySelectionCheck_UU))
setInitialDefaults();
}
}
/**
* @param ctx context
* @param C_PaySelectionCheck_ID C_PaySelectionCheck_ID

View File

@ -188,7 +188,7 @@ public class MPaySelectionLine extends X_C_PaySelectionLine
/**
* After Delete
* @param success success
* @return sucess
* @return success
*/
@Override
protected boolean afterDelete (boolean success)

View File

@ -53,18 +53,18 @@ public class MPaymentAllocate extends X_C_PaymentAllocate
return list.toArray(new MPaymentAllocate[list.size()]);
} // get
/**
* UUID based Constructor
* @param ctx Context
* @param C_PaymentAllocate_UU UUID key
* @param trxName Transaction
*/
public MPaymentAllocate(Properties ctx, String C_PaymentAllocate_UU, String trxName) {
super(ctx, C_PaymentAllocate_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param C_PaymentAllocate_UU UUID key
* @param trxName Transaction
*/
public MPaymentAllocate(Properties ctx, String C_PaymentAllocate_UU, String trxName) {
super(ctx, C_PaymentAllocate_UU, trxName);
if (Util.isEmpty(C_PaymentAllocate_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -93,7 +93,7 @@ public class MPaymentAllocate extends X_C_PaymentAllocate
private MInvoice m_invoice = null;
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName trx

View File

@ -92,16 +92,16 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I
return acct;
} // get
/**
* UUID based Constructor
* @param ctx Context
* @param M_Product_Category_Acct_UU UUID key
* @param trxName Transaction
*/
public MProductCategoryAcct(Properties ctx, String M_Product_Category_Acct_UU, String trxName) {
super(ctx, M_Product_Category_Acct_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param M_Product_Category_Acct_UU UUID key
* @param trxName Transaction
*/
public MProductCategoryAcct(Properties ctx, String M_Product_Category_Acct_UU, String trxName) {
super(ctx, M_Product_Category_Acct_UU, trxName);
}
/**
* Standard Constructor
* @param ctx context
@ -116,7 +116,7 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I
} // MProductCategoryAcct
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName trx

View File

@ -354,7 +354,7 @@ public class MRefList extends X_AD_Ref_List implements ImmutablePOSupport
}
/**
* Load Contructor
* Load Constructor
* @param ctx context
* @param rs result
* @param trxName transaction

View File

@ -45,7 +45,7 @@ public class MRegistrationAttribute extends X_A_RegistrationAttribute implements
/**
* Get All Asset Registration Attributes (not cached).
* Refreshes Cache for direct addess
* Refreshes Cache for direct address
* @param ctx context
* @return array of Registration Attributes
*/
@ -154,16 +154,16 @@ public class MRegistrationAttribute extends X_A_RegistrationAttribute implements
private static ImmutableIntPOCache<Integer,MRegistrationAttribute> s_cache
= new ImmutableIntPOCache<Integer,MRegistrationAttribute>(Table_Name, 20);
/**
* UUID based Constructor
* @param ctx Context
* @param A_RegistrationAttribute_UU UUID key
* @param trxName Transaction
*/
public MRegistrationAttribute(Properties ctx, String A_RegistrationAttribute_UU, String trxName) {
super(ctx, A_RegistrationAttribute_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param A_RegistrationAttribute_UU UUID key
* @param trxName Transaction
*/
public MRegistrationAttribute(Properties ctx, String A_RegistrationAttribute_UU, String trxName) {
super(ctx, A_RegistrationAttribute_UU, trxName);
}
/**************************************************************************
* Standard Constructor
* @param ctx context

View File

@ -29,20 +29,20 @@ import java.util.Properties;
public class MReplication extends X_AD_Replication
{
/**
* geneated serial id
* generated serial id
*/
private static final long serialVersionUID = -562186299848949607L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Replication_UU UUID key
* @param trxName Transaction
*/
public MReplication(Properties ctx, String AD_Replication_UU, String trxName) {
super(ctx, AD_Replication_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Replication_UU UUID key
* @param trxName Transaction
*/
public MReplication(Properties ctx, String AD_Replication_UU, String trxName) {
super(ctx, AD_Replication_UU, trxName);
}
/**
* @param ctx context
* @param AD_Replication_ID id

View File

@ -2214,7 +2214,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
if (includes.size() == 0 && excludes.size() == 0)
return "";
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 ");
if (includes.size() == 1)
@ -2269,7 +2269,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
if (c == '.')
{
StringBuilder sb = new StringBuilder();
while (c != ' ' && c != ',' && c != '(') // delimeter
while (c != ' ' && c != ',' && c != '(') // delimiter
{
sb.insert(0, c);
c = mainSql.charAt(--offset);

View File

@ -43,21 +43,21 @@ public class MRoleIncluded extends X_AD_Role_Included
*/
private static final long serialVersionUID = -3284165639631581484L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Role_Included_UU UUID key
* @param trxName Transaction
*/
public MRoleIncluded(Properties ctx, String AD_Role_Included_UU, String trxName) {
super(ctx, AD_Role_Included_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Role_Included_UU UUID key
* @param trxName Transaction
*/
public MRoleIncluded(Properties ctx, String AD_Role_Included_UU, String trxName) {
super(ctx, AD_Role_Included_UU, trxName);
}
/**
* @param ctx
* @param AD_Role_Included_ID
* @param trxName
*/
*/
public MRoleIncluded(Properties ctx, int AD_Role_Included_ID, String trxName)
{
super(ctx, AD_Role_Included_ID, trxName);
@ -119,7 +119,7 @@ public class MRoleIncluded extends X_AD_Role_Included
* @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
*/
// 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,
int nodeId, List<Integer> trace,
String trxName)

View File

@ -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);
/**
* UUID based Constructor
* @param ctx Context
* @param PA_SLA_Criteria_UU UUID key
* @param trxName Transaction
*/
public MSLACriteria(Properties ctx, String PA_SLA_Criteria_UU, String trxName) {
super(ctx, PA_SLA_Criteria_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param PA_SLA_Criteria_UU UUID key
* @param trxName Transaction
*/
public MSLACriteria(Properties ctx, String PA_SLA_Criteria_UU, String trxName) {
super(ctx, PA_SLA_Criteria_UU, trxName);
}
/**
* Standard Constructor
* @param ctx context
@ -191,7 +191,7 @@ public class MSLACriteria extends X_PA_SLA_Criteria implements ImmutablePOSuppor
/**
* Create New Instance of SLA Criteria
* @return instanciated class
* @return instantiated class
* @throws Exception
*/
public SLACriteria newInstance() throws Exception

View File

@ -171,7 +171,7 @@ public class MSession extends X_AD_Session implements ImmutablePOSupport
}
/**
* Load Costructor
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName transaction

View File

@ -85,16 +85,16 @@ public class MSystem extends X_AD_System
/** System - cached */
private static CCache<Integer,MSystem> s_system = new CCache<Integer,MSystem>(Table_Name, 1, -1);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_System_UU UUID key
* @param trxName Transaction
*/
public MSystem(Properties ctx, String AD_System_UU, String trxName) {
super(ctx, AD_System_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_System_UU UUID key
* @param trxName Transaction
*/
public MSystem(Properties ctx, String AD_System_UU, String trxName) {
super(ctx, AD_System_UU, trxName);
}
/**
* Default Constructor
* @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
*/
public boolean isLDAP()
@ -169,7 +169,7 @@ public class MSystem extends X_AD_System
} // isLDAP
/**
* LDAP Authentification. Assumes that LDAP is defined.
* LDAP Authentication. Assumes that LDAP is defined.
* @param userName user name
* @param password password
* @return true if ldap authenticated

View File

@ -37,16 +37,16 @@ public class MTask extends X_AD_Task
*/
private static final long serialVersionUID = 5286481246615520755L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Task_UU UUID key
* @param trxName Transaction
*/
public MTask(Properties ctx, String AD_Task_UU, String trxName) {
super(ctx, AD_Task_UU, trxName);
}
/**
* UUID based Constructor
* @param ctx Context
* @param AD_Task_UU UUID key
* @param trxName Transaction
*/
public MTask(Properties ctx, String AD_Task_UU, String trxName) {
super(ctx, AD_Task_UU, trxName);
}
/**
* Standard Constructor
* @param ctx context
@ -59,7 +59,7 @@ public class MTask extends X_AD_Task
} // MTask
/**
* Load Cosntructor
* Load Constructor
* @param ctx ctx
* @param rs result set
* @param trxName trx

View File

@ -793,7 +793,7 @@ public class MUser extends X_AD_User implements ImmutablePOSupport
ArrayList<MRole> list = new ArrayList<MRole>();
// 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
// this user has access to the org in question
String sql = "SELECT * FROM AD_Role r "

View File

@ -652,7 +652,7 @@ public class ModelValidationEngine
{
//log the stack trace
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();
if (error == null)
error = e.toString();
@ -817,7 +817,7 @@ public class ModelValidationEngine
{
//log the stack trace
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();
if (error == null)
error = e.toString();

View File

@ -380,7 +380,7 @@ public class Query
/**
* 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
* @throws DBException
* @see {@link #first()}

View File

@ -429,7 +429,7 @@ public class Scriptlet
/**
* String Representation incl. Result
* @return Scipt
* @return Script
*/
public String toString()
{

View File

@ -136,7 +136,7 @@ public class SetGetUtil
boolean ok = false;
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)
{
obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime());

View File

@ -312,7 +312,7 @@ public class Tax
rs = null; pstmt = null;
}
// Reverese for PO
// Reverse for PO
if (!IsSOTrx)
{
int temp = billFromC_Location_ID;

View File

@ -257,7 +257,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
/** CashBook = C */
public static final String CASHBOOKTRANSFERTYPE_CashBook = "C";
/** 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)
{
@ -266,7 +266,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
}
/** 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()
{

View File

@ -306,7 +306,7 @@ public class CPaper extends Paper
{
area = (MediaPrintableArea)atts[i];
}
else // unhandeled
else // unhandled
System.out.println(atts[i].getName() + " = " + atts[i] + " - " + atts[i].getCategory());
}
//

View File

@ -57,7 +57,7 @@ import bsh.Interpreter;
/**
* 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
* @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)
{
log.log(Level.SEVERE, "No Colums - Delete Report Format " + reportName + " and start again");
if (log.isLoggable(Level.FINEST)) log.finest("No Colums - SQL=" + sql + " - ID=" + format.get_ID());
log.log(Level.SEVERE, "No Columns - Delete Report Format " + reportName + " and start again");
if (log.isLoggable(Level.FINEST)) log.finest("No Columns - SQL=" + sql + " - ID=" + format.get_ID());
return null;
}
@ -1192,7 +1192,7 @@ public class DataEngine
// Check last Group Change
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];
if (!m_group.isGroupColumn(group_pdc.getAD_PrintFormatItem_ID()))

View File

@ -63,21 +63,21 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport
*/
private static final long serialVersionUID = 7542581302442072662L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_PrintFormat_UU UUID key
* @param trxName Transaction
*/
public MPrintFormat(Properties ctx, String AD_PrintFormat_UU, String trxName) {
super(ctx, AD_PrintFormat_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_PrintFormat_UU UUID key
* @param trxName Transaction
*/
public MPrintFormat(Properties ctx, String AD_PrintFormat_UU, String trxName) {
super(ctx, AD_PrintFormat_UU, trxName);
// Language=[Deutsch,Locale=de_DE,AD_Language=en_US,DatePattern=DD.MM.YYYY,DecimalPoint=false]
m_language = Env.getLanguage(ctx);
if (Util.isEmpty(AD_PrintFormat_UU))
setInitialDefaults();
m_items = getItems();
}
}
/**
* Public Constructor.
* Use static get methods
@ -509,7 +509,7 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport
} // getTableFormat
/**
* Sting Representation
* String Representation
* @return info
*/
public String toString()

View File

@ -56,18 +56,18 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
*/
private static final long serialVersionUID = -1608017405401341288L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_PrintTableFormat_UU UUID key
* @param trxName Transaction
*/
public MPrintTableFormat(Properties ctx, String AD_PrintTableFormat_UU, String trxName) {
super(ctx, AD_PrintTableFormat_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_PrintTableFormat_UU UUID key
* @param trxName Transaction
*/
public MPrintTableFormat(Properties ctx, String AD_PrintTableFormat_UU, String trxName) {
super(ctx, AD_PrintTableFormat_UU, trxName);
if (Util.isEmpty(AD_PrintTableFormat_UU))
setInitialDefaults();
}
}
/**
* Standard Constructor
* @param ctx context
@ -201,8 +201,8 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
} // setStandard_Font
/**
* Get Stndard Font
* @return stndard font
* Get Standard Font
* @return standard font
*/
public Font getStandard_Font()
{
@ -473,7 +473,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
} // getHLine_Color
/**
* Get Verical Line Color.
* Get Vertical Line Color.
* (one db attribute for line color)
* @return color or gray light
*/

View File

@ -45,7 +45,7 @@ import org.w3c.dom.Element;
/**
* Print Data Structure.
* 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).
* The row data is sparse - i.e. null if not existing.
* A Structure has optional meta info about content (PrintDataColumn).

View File

@ -223,7 +223,7 @@ public class PrintUtil
/**
* Print Async
* @param pageable pageable
* @param prats print attribure set
* @param prats print attribute set
*/
static public void print (Pageable pageable, PrintRequestAttributeSet prats)
{
@ -235,7 +235,7 @@ public class PrintUtil
/**
* Print
* @param job printer job
* @param prats print attribure set
* @param prats print attribute set
* @param withDialog if true shows Dialog
* @param waitForIt if false print async
*/

View File

@ -618,7 +618,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* Create HTML File
* @param file file
* @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
*/
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
* @param file file
* @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
* @return true if success
*/
@ -660,7 +660,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* Write HTML to writer
* @param writer writer
* @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
*/
public boolean createHTML (Writer writer, boolean onlyTable, Language language)

View File

@ -21,7 +21,7 @@ import java.awt.geom.Dimension2D;
import java.io.Serializable;
/**
* 2D Dimesnion Implementation
* 2D Dimension Implementation
*
* @author Jorg Janke
* @version $Id: Dimension2DImpl.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $

View File

@ -27,7 +27,7 @@ import java.util.regex.Pattern;
* HTML Form Print ELement.
* Restrictions:
* - Label is not printed
* - Alighnment is ignored
* - Alignment is ignored
*
* @author Jorg Janke
* @version $Id: HTMLElement.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $

View File

@ -1008,7 +1008,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
if (row > 0 && m_format.isBreakPagePerRecord())
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 (int i = 0; i < m_format.getItemCount(); i++)
{
@ -1441,7 +1441,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
// Get Color/ Font
Color color = getColor(); // default
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())
{
MPrintColor c = MPrintColor.get (getCtx(), item.getAD_PrintColor_ID());

View File

@ -538,7 +538,7 @@ public class StringElement extends PrintElement
float lineHeight = layout.getAscent() + layout.getDescent() + layout.getLeading();
if (p_maxHeight == -1f && i == 0) // one line only
p_maxHeight = lineHeight;
// If we have hight left over
// If we have height left over
if (p_maxHeight == 0f || (height + lineHeight) <= p_maxHeight)
{
yPen = (float)location.y + height + layout.getAscent();

View File

@ -93,7 +93,7 @@ public class TableElement extends PrintElement
* i.e. Point (-1, -1) is the default for the table
*
* @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 columnJustification field justification for column
*
@ -109,7 +109,7 @@ public class TableElement extends PrintElement
* @param firstPage bounds on first page
* @param nextPages bounds on following 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 rowColColor HashMap with Point as key with foreground Color overwrite
@ -1722,7 +1722,7 @@ public class TableElement extends PrintElement
}
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));
if (nextIsFunction && m_functionRows.contains(Integer.valueOf(row)))
nextIsFunction = false; // this is a function line too

View File

@ -314,7 +314,7 @@ public class ProcessInfoLog implements Serializable
/**
* Set AD_PInstance_Log_UU
* @return Sting AD_PInstance_Log_UU
* @return String AD_PInstance_Log_UU
*/
public String getAD_PInstance_Log_UU() {
return m_AD_PInstance_Log_UU;

View File

@ -301,7 +301,7 @@ public class ServerProcessCtl implements Runnable {
/**************************************************************************
* 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
* org adempiere.process or org.compiere.model) or a client only class
* (e.g. in org.compiere.report)

View File

@ -47,20 +47,20 @@ public class MReportLine extends X_PA_ReportLine
private BasicStroke overline_Stroke;
private Stroke underline_Stroke;
/**
* UUID based Constructor
* @param ctx Context
* @param PA_ReportLine_UU UUID key
* @param trxName Transaction
*/
public MReportLine(Properties ctx, String PA_ReportLine_UU, String trxName) {
super(ctx, PA_ReportLine_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param PA_ReportLine_UU UUID key
* @param trxName Transaction
*/
public MReportLine(Properties ctx, String PA_ReportLine_UU, String trxName) {
super(ctx, PA_ReportLine_UU, trxName);
if (Util.isEmpty(PA_ReportLine_UU))
setInitialDefaults();
else
loadSources();
}
}
/**
* Constructor
* @param ctx context
@ -97,7 +97,7 @@ public class MReportLine extends X_PA_ReportLine
loadSources();
} // MReportLine
/** Containt Sources */
/** Contained Sources */
private MReportSource[] m_sources = null;
/** Cache result */
private String m_whereClause = null;

View File

@ -269,7 +269,7 @@ public class RModel implements Serializable
// TableModel interface
/**
* Return Total mumber of rows
* Return Total number of rows
* @return row count
*/
public int getRowCount()

View File

@ -188,7 +188,7 @@ public class RModelData
{
if (log.isLoggable(Level.FINE)) log.fine("Start Rows=" + m_rows.size());
// Row level Funcions
// Row level Functions
// would come here
// Group by Values

View File

@ -364,7 +364,7 @@ public class FileUtil
/**
* Get Filter String
* @return flter String
* @return filter String
*/
String getFilterString()
{

View File

@ -955,7 +955,7 @@ public class EmailSrv {
*/
public List<BodyPart> lsEmbedPart = new ArrayList<BodyPart>();
/**
* list part unknow to process
* list part unknown to process
*/
public List<Part> lsUnknowPart = new ArrayList<Part>();

View File

@ -33,7 +33,7 @@ public class NullParameter implements Serializable
private static final long serialVersionUID = 5098594046699488306L;
/**
* Cosntructor
* Constructor
* @param type SQL Type java.sql.Types.*
*/
public NullParameter(int type)

View File

@ -141,19 +141,19 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
return sb.toString();
} // getActivityInfo
/**
* UUID based Constructor
* @param ctx Context
* @param AD_WF_Activity_UU UUID key
* @param trxName Transaction
*/
public MWFActivity(Properties ctx, String AD_WF_Activity_UU, String trxName) {
super(ctx, AD_WF_Activity_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_WF_Activity_UU UUID key
* @param trxName Transaction
*/
public MWFActivity(Properties ctx, String AD_WF_Activity_UU, String trxName) {
super(ctx, AD_WF_Activity_UU, trxName);
if (Util.isEmpty(AD_WF_Activity_UU))
throw new IllegalArgumentException ("Cannot create new WF Activity directly");
m_state = new StateEngine (getWFState());
}
}
/**
* Standard Constructor
* @param ctx context
@ -181,7 +181,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
} // MWFActivity
/**
* Parent Contructor
* Parent Constructor
* @param process process
* @param AD_WF_Node_ID start node
*/

View File

@ -44,20 +44,20 @@ public class MWFNodeNext extends X_AD_WF_NodeNext implements ImmutablePOSupport
*/
private static final long serialVersionUID = 5965306487040965994L;
/**
* UUID based Constructor
* @param ctx Context
* @param AD_WF_NodeNext_UU UUID key
* @param trxName Transaction
*/
public MWFNodeNext(Properties ctx, String AD_WF_NodeNext_UU, String trxName) {
super(ctx, AD_WF_NodeNext_UU, trxName);
/**
* UUID based Constructor
* @param ctx Context
* @param AD_WF_NodeNext_UU UUID key
* @param trxName Transaction
*/
public MWFNodeNext(Properties ctx, String AD_WF_NodeNext_UU, String trxName) {
super(ctx, AD_WF_NodeNext_UU, trxName);
if (Util.isEmpty(AD_WF_NodeNext_UU))
setInitialDefaults();
}
}
/**
* Standard Costructor
* Standard Constructor
* @param ctx context
* @param AD_WF_NodeNext_ID id
* @param trxName transaction

View File

@ -49,7 +49,7 @@ public class BankTransfer extends SvrProcess
private int p_C_ConversionType_ID = 0; // Payment Conversion Type
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_To_C_BankAccount_ID= 0; // Bank Account To
private Timestamp p_StatementDate = null; // Date Statement

View File

@ -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>
* <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>

View File

@ -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
* 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
* garbage collected and the context temp dir deleteted.
* garbage collected and the context temp dir deleted.
*/
public class ProxyContext {
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
* @param directory - the directory to delete.
* @return was the delete succesful
* @return was the delete successful
*/
protected static boolean deleteDirectory(File directory) {
if (directory.exists() && directory.isDirectory()) {

View File

@ -97,7 +97,7 @@ public abstract class Config
/**
* UI Signal OK
* @param cb ckeck box
* @param cb check box
* @param resString resource string key
* @param pass true if test passed
* @param critical true if critical

View File

@ -291,7 +291,7 @@ public class KeyStoreMgt
}
/**
* Get Distinguised Name
* Get Distinguished Name
* @param parent interactive dialog
* @return dname or null
*/
@ -378,7 +378,7 @@ public class KeyStoreMgt
/**
* Escape Commas
* @param in input string
* @return excaped string
* @return escaped string
*/
public static String escapeCommas(String in)
{

View File

@ -50,7 +50,7 @@ public class ALayout implements LayoutManager2
} // ALayout
/**
* Detail Contructor
* Detail Constructor
* @param spaceH horizontal space (top, between rows, button)
* @param spaceV vertical space (left, between columns, right)
* @param colFill fields are fully filled (rather then preferred size)
@ -162,7 +162,7 @@ public class ALayout implements LayoutManager2
/**
* Calculate Layout Size
* @param parent Parent Container
* @param how P=Preferred - M=Maximum = m=Mimimum
* @param how P=Preferred - M=Maximum = m=Minimum
* @return Size
*/
private Dimension calculateLayoutSize(Container parent, char how)

View File

@ -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 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)
{
@ -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 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)
*/
public AppsAction (String action, KeyStroke accelerator, String toolTipText, boolean toggle)

View File

@ -612,7 +612,7 @@ public final class ConfirmPanel extends JPanel
/**
* Is OK Visible
* @return true of OK visisble
* @return true of OK visible
*/
public boolean isOKVisible()
{

View File

@ -156,7 +156,7 @@ public class PP_Optimal extends PaymentProcessor
AVSCodes.put("W", "Nine digit zip matches, address not");
AVSCodes.put("Z", "Five digit zip matches, address not");
AVSCodes.put("N", "No Part matches");
AVSCodes.put("U", "Address info unabailable");
AVSCodes.put("U", "Address info unavailable");
AVSCodes.put("R", "Retry");
AVSCodes.put("S", "AVS not supported");
AVSCodes.put("E", "AVS not supported for this industry");

View File

@ -201,7 +201,7 @@ public final class PP_PayFlowPro extends PaymentProcessor
else
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;
} // process

View File

@ -210,7 +210,7 @@ public final class PP_PayFlowPro4 extends PaymentProcessor
// Following lines of code are optional.
// 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.
String transErrors = m_pp.getTransactionContext().toString();

View File

@ -84,7 +84,7 @@ public class ColumnElementHandler extends AbstractElementHandler {
&& mColumn.is_ValueChanged(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));
}

View File

@ -104,7 +104,7 @@ public class ReportViewElementHandler extends AbstractElementHandler {
AttributesImpl atts = new AttributesImpl();
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);
try {
tableHandler.packOut(packOut, document, null, m_Reportview.getAD_Table_ID());

View File

@ -126,7 +126,7 @@ public class TopicImportProcessor implements IImportProcessor {
if ( topicListener != null ) {
topicListener.stop();
log.info("Stoped topicListener." );
log.info("Stopped topicListener." );
}
}

View File

@ -254,7 +254,7 @@ public class ExportHelper {
// process single XML Attribute
// Create new element
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) {
throw new Exception(Msg.getMsg (masterPO.getCtx(), "EXPColumnMandatory"));
}

View File

@ -296,7 +296,7 @@ public class ImportHelper {
// and set value of column!
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() + "]");
//Get the value
Object value = getValueFromFormat(formatLine,po,rootElement,result,ReplicationType);
@ -343,7 +343,7 @@ public class ImportHelper {
String xPath = null;
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);
if (log.isLoggable(Level.INFO)) log.info("referencedNode = " + referencedNode);

View File

@ -22,14 +22,14 @@ function windowTitle()
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<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="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
@ -64,7 +64,7 @@ function windowTitle()
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</NOSCRIPT>
</FONT></TD>
</TR>
@ -75,7 +75,7 @@ function windowTitle()
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
@ -98,16 +98,16 @@ java.lang.Object
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>rlemeill
originaly coming from an application note from compiere.co.uk</DD>
<DT><B>Author:</B></DT>
<DD>rlemeill
originally coming from an application note from compiere.co.uk</DD>
</DL>
<HR>
<P>
<!-- ======== 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="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
@ -141,7 +141,7 @@ java.lang.Object
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
@ -167,7 +167,7 @@ java.lang.Object
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
@ -183,7 +183,7 @@ java.lang.Object
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
@ -192,7 +192,7 @@ java.lang.Object
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#addProcessParameters(int, java.util.Map)">addProcessParameters</A></B>(int&nbsp;AD_PInstance_ID,
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#addProcessParameters(int, java.util.Map)">addProcessParameters</A></B>(int&nbsp;AD_PInstance_ID,
java.util.Map&nbsp;params)</CODE>
<BR>
@ -201,7 +201,7 @@ java.lang.Object
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;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&nbsp;reportFile,
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#compileReport(java.io.File, java.io.File)">compileReport</A></B>(java.io.File&nbsp;reportFile,
java.io.File&nbsp;jasperFile)</CODE>
<BR>
@ -218,7 +218,7 @@ java.lang.Object
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;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&nbsp;reportLocation,
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#getRemoteFile(java.lang.String, java.lang.String)">getRemoteFile</A></B>(java.lang.String&nbsp;reportLocation,
java.lang.String&nbsp;localPath)</CODE>
<BR>
@ -243,7 +243,7 @@ java.lang.Object
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;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&nbsp;reportPath,
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#getReportFile(java.lang.String, java.lang.String)">getReportFile</A></B>(java.lang.String&nbsp;reportPath,
java.lang.String&nbsp;reportType)</CODE>
<BR>
@ -292,7 +292,7 @@ java.lang.Object
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#reportResult(int, java.lang.String)">reportResult</A></B>(int&nbsp;AD_PInstance_ID,
<TD><CODE><B><A HREF="../../../org/compiere/report/ReportStarter.html#reportResult(int, java.lang.String)">reportResult</A></B>(int&nbsp;AD_PInstance_ID,
java.lang.String&nbsp;errMsg)</CODE>
<BR>
@ -301,16 +301,16 @@ java.lang.Object
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;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&nbsp;ctx,
org.compiere.process.ProcessInfo&nbsp;pi,
<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&nbsp;ctx,
org.compiere.process.ProcessInfo&nbsp;pi,
org.compiere.util.Trx&nbsp;trx)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the process.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the process.
</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
@ -324,7 +324,7 @@ java.lang.Object
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
@ -353,7 +353,7 @@ private static java.io.File <B>REPORT_HOME</B></PRE>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
@ -370,7 +370,7 @@ public <B>ReportStarter</B>()</PRE>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
@ -387,7 +387,7 @@ private boolean <B>isRequestedonAS</B>(java.net.URL&nbsp;requestURL)</PRE>
</DL>
</DD>
<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>
</DD>
</DL>
@ -402,7 +402,7 @@ private boolean <B>isMD5HomeInterfaceAvailable</B>()</PRE>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the class org.compiere.interfaces.MD5Home is present</DL>
</DD>
</DL>
@ -417,8 +417,8 @@ private java.lang.String <B>ejbGetRemoteMD5</B>(java.lang.String&nbsp;requestedU
</DL>
</DD>
<DD><DL>
<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>Parameters:</B><DD><CODE>requestedURLString</CODE> -
<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>
</DD>
</DL>
@ -427,15 +427,15 @@ private java.lang.String <B>ejbGetRemoteMD5</B>(java.lang.String&nbsp;requestedU
<A NAME="getRemoteFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
getRemoteFile</H3>
<PRE>
private java.io.File <B>getRemoteFile</B>(java.lang.String&nbsp;reportLocation,
private java.io.File <B>getRemoteFile</B>(java.lang.String&nbsp;reportLocation,
java.lang.String&nbsp;localPath)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<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>Returns:</B><DD>abstract File wich represent the downloaded file</DL>
<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 which represents the downloaded file</DL>
</DD>
</DL>
<HR>
@ -449,7 +449,7 @@ private java.io.File <B>httpDownloadedReport</B>(java.lang.String&nbsp;reportLoc
</DL>
</DD>
<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>
</DD>
</DL>
@ -458,20 +458,20 @@ private java.io.File <B>httpDownloadedReport</B>(java.lang.String&nbsp;reportLoc
<A NAME="startProcess(java.util.Properties, org.compiere.process.ProcessInfo, org.compiere.util.Trx)"><!-- --></A><H3>
startProcess</H3>
<PRE>
public boolean <B>startProcess</B>(java.util.Properties&nbsp;ctx,
org.compiere.process.ProcessInfo&nbsp;pi,
public boolean <B>startProcess</B>(java.util.Properties&nbsp;ctx,
org.compiere.process.ProcessInfo&nbsp;pi,
org.compiere.util.Trx&nbsp;trx)</PRE>
<DL>
<DD>Start the process.
Called then pressing the Process button in R_Request.
It should only return false, if the function could not be performed
<DD>Start the process.
Called then pressing the Process button in R_Request.
It should only return false, if the function could not be performed
as this causes the process to abort.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>startProcess</CODE> in interface <CODE>org.compiere.process.ProcessCall</CODE></DL>
</DD>
<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>
</DD>
</DL>
@ -480,14 +480,14 @@ public boolean <B>startProcess</B>(java.util.Properties&nbsp;ctx,
<A NAME="getReportFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
getReportFile</H3>
<PRE>
private java.io.File <B>getReportFile</B>(java.lang.String&nbsp;reportPath,
private java.io.File <B>getReportFile</B>(java.lang.String&nbsp;reportPath,
java.lang.String&nbsp;reportType)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<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>
</DD>
</DL>
@ -502,7 +502,7 @@ private java.io.File <B>getReportFile</B>(java.lang.String&nbsp;reportPath)</PRE
</DL>
</DD>
<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>
</DD>
</DL>
@ -511,7 +511,7 @@ private java.io.File <B>getReportFile</B>(java.lang.String&nbsp;reportPath)</PRE
<A NAME="reportResult(int, java.lang.String)"><!-- --></A><H3>
reportResult</H3>
<PRE>
private void <B>reportResult</B>(int&nbsp;AD_PInstance_ID,
private void <B>reportResult</B>(int&nbsp;AD_PInstance_ID,
java.lang.String&nbsp;errMsg)</PRE>
<DL>
<DD><DL>
@ -532,7 +532,7 @@ private <A HREF="../../../org/compiere/report/ReportStarter.JasperData.html" tit
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reportFile</CODE> -
<DT><B>Parameters:</B><DD><CODE>reportFile</CODE> -
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
@ -541,7 +541,7 @@ private <A HREF="../../../org/compiere/report/ReportStarter.JasperData.html" tit
<A NAME="addProcessParameters(int, java.util.Map)"><!-- --></A><H3>
addProcessParameters</H3>
<PRE>
private void <B>addProcessParameters</B>(int&nbsp;AD_PInstance_ID,
private void <B>addProcessParameters</B>(int&nbsp;AD_PInstance_ID,
java.util.Map&nbsp;params)</PRE>
<DL>
<DD><DL>
@ -570,14 +570,14 @@ private void <B>JWScorrectClassPath</B>()</PRE>
<A NAME="compileReport(java.io.File, java.io.File)"><!-- --></A><H3>
compileReport</H3>
<PRE>
private net.sf.jasperreports.engine.JasperReport <B>compileReport</B>(java.io.File&nbsp;reportFile,
private net.sf.jasperreports.engine.JasperReport <B>compileReport</B>(java.io.File&nbsp;reportFile,
java.io.File&nbsp;jasperFile)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<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>
</DD>
</DL>
@ -592,21 +592,21 @@ public <A HREF="../../../org/compiere/report/ReportStarter.ReportData.html" titl
</DL>
</DD>
<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>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<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="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
@ -641,7 +641,7 @@ public <A HREF="../../../org/compiere/report/ReportStarter.ReportData.html" titl
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</NOSCRIPT>
</FONT></TD>
</TR>
@ -652,7 +652,7 @@ public <A HREF="../../../org/compiere/report/ReportStarter.ReportData.html" titl
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>

View File

@ -27,7 +27,7 @@ import net.sf.jasperreports.export.SimpleExporterConfiguration;
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
* @author hieplq
*

Some files were not shown because too many files have changed in this diff Show More