|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.process.SvrProcess
org.compiere.process.ImportLocator
public class ImportLocator
| Field Summary |
|---|
| Fields inherited from class org.compiere.process.SvrProcess |
|---|
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound |
| Constructor Summary | |
|---|---|
ImportLocator()
|
|
| Method Summary | |
|---|---|
protected String |
doIt()
Perform process. |
protected void |
prepare()
Prepare - e.g., get Parameters. |
| Methods inherited from class org.compiere.process.SvrProcess |
|---|
addLog, addLog, commit, doIt, get_Trx, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, rollback, startProcess, unlockObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportLocator()
| Method Detail |
|---|
protected String doIt()
throws Exception
SvrProcess
doIt in class SvrProcessException - if not successful e.g.
throw new CompiereUserError ("@FillMandatory@ @C_BankAccount_ID@");protected void prepare()
SvrProcess
ProcessInfoParameter[] para = getParameter();
for (int i = 0; i < para.length; i++)
{
String name = para[i].getParameterName();
if (para[i].getParameter() == null)
;
else if (name.equals("A_Asset_Group_ID"))
p_A_Asset_Group_ID = para[i].getParameterAsInt();
else if (name.equals("GuaranteeDate"))
p_GuaranteeDate = (Timestamp)para[i].getParameter();
else if (name.equals("AttachAsset"))
p_AttachAsset = "Y".equals(para[i].getParameter());
else
log.log(Level.SEVERE, "Unknown Parameter: " + name);
}
prepare in class SvrProcess
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||