small changes on method accessors
This commit is contained in:
parent
b811cde27a
commit
45732de8c1
|
@ -74,6 +74,8 @@ import org.compiere.util.Util;
|
||||||
* set Node - startWork
|
* set Node - startWork
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
|
* @author Silvano Trinchero, www.freepath.it
|
||||||
|
* <li>IDEMPIERE-3209 added process-aware resultset-based constructor
|
||||||
* @version $Id: MWFActivity.java,v 1.4 2006/07/30 00:51:05 jjanke Exp $
|
* @version $Id: MWFActivity.java,v 1.4 2006/07/30 00:51:05 jjanke Exp $
|
||||||
*/
|
*/
|
||||||
public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
||||||
|
@ -204,6 +206,19 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
||||||
m_process = process;
|
m_process = process;
|
||||||
} // MWFActivity
|
} // MWFActivity
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Process-aware Parent Contructor
|
||||||
|
* @param process process
|
||||||
|
* @param ctx context
|
||||||
|
* @param rs record to load
|
||||||
|
* @param trx transaction name
|
||||||
|
*/
|
||||||
|
public MWFActivity (MWFProcess process, Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super(ctx, rs, trxName);
|
||||||
|
m_process = process;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent Contructor
|
* Parent Contructor
|
||||||
* @param process process
|
* @param process process
|
||||||
|
|
|
@ -40,6 +40,8 @@ import org.compiere.util.Util;
|
||||||
* Workflow Process
|
* Workflow Process
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
|
* @author Silvano Trinchero, www.freepath.it
|
||||||
|
* <li>IDEMPIERE-3209 changed fucntions to public to improve integration support
|
||||||
* @version $Id: MWFProcess.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
|
* @version $Id: MWFProcess.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
|
||||||
*/
|
*/
|
||||||
public class MWFProcess extends X_AD_WF_Process
|
public class MWFProcess extends X_AD_WF_Process
|
||||||
|
@ -488,7 +490,7 @@ public class MWFProcess extends X_AD_WF_Process
|
||||||
* Get Workflow
|
* Get Workflow
|
||||||
* @return workflow
|
* @return workflow
|
||||||
*/
|
*/
|
||||||
private MWorkflow getWorkflow()
|
public MWorkflow getWorkflow()
|
||||||
{
|
{
|
||||||
if (m_wf == null)
|
if (m_wf == null)
|
||||||
m_wf = MWorkflow.get (getCtx(), getAD_Workflow_ID());
|
m_wf = MWorkflow.get (getCtx(), getAD_Workflow_ID());
|
||||||
|
|
|
@ -54,6 +54,8 @@ import org.compiere.util.Trx;
|
||||||
* @author Teo Sarca, www.arhipac.ro
|
* @author Teo Sarca, www.arhipac.ro
|
||||||
* <li>FR [ 2214883 ] Remove SQL code and Replace for Query
|
* <li>FR [ 2214883 ] Remove SQL code and Replace for Query
|
||||||
* <li>BF [ 2665963 ] Copy Workflow name in Activity name
|
* <li>BF [ 2665963 ] Copy Workflow name in Activity name
|
||||||
|
* @author Silvano Trinchero, www.freepath.it
|
||||||
|
* <li>IDEMPIERE-3209 changed functions to public to improve integration support
|
||||||
*/
|
*/
|
||||||
public class MWorkflow extends X_AD_Workflow
|
public class MWorkflow extends X_AD_Workflow
|
||||||
{
|
{
|
||||||
|
@ -355,7 +357,7 @@ public class MWorkflow extends X_AD_Workflow
|
||||||
* @param AD_Client_ID client
|
* @param AD_Client_ID client
|
||||||
* @return Nodes in sequence
|
* @return Nodes in sequence
|
||||||
*/
|
*/
|
||||||
private MWFNode[] getNodesInOrder(int AD_Client_ID)
|
public MWFNode[] getNodesInOrder(int AD_Client_ID)
|
||||||
{
|
{
|
||||||
ArrayList<MWFNode> list = new ArrayList<MWFNode>();
|
ArrayList<MWFNode> list = new ArrayList<MWFNode>();
|
||||||
addNodesSF (list, getAD_WF_Node_ID(), AD_Client_ID); // start with first
|
addNodesSF (list, getAD_WF_Node_ID(), AD_Client_ID); // start with first
|
||||||
|
|
Loading…
Reference in New Issue