Ignore:
Timestamp:
11/23/06 18:21:36 (6 years ago)
Author:
sys
Message:

api Data + AgentLinker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_GE/com/scenari/m/ge/agent/HAgentExport.java

    r7460 r7467  
    4747import com.scenari.m.co.agent.IWADialog; 
    4848import com.scenari.m.co.agent.IWAgent; 
    49 import com.scenari.m.co.agent.IWAgentAvecLiens; 
     49import com.scenari.m.co.agent.IWAgentLinker; 
    5050import com.scenari.m.co.agent.IWAgentComputor; 
    5151import com.scenari.m.co.dialog.IHDialog; 
     
    364364                                        vDialogPath.setLength(vDialogPath.lastIndexOf("/@")); 
    365365                                        IWAgent vParent = (IWAgent) vHier.get(j); 
    366                                         if (vParent instanceof IWAgentAvecLiens) { 
    367                                                 IWAgent[] vChilds = ((IWAgentAvecLiens) vParent).hGetAgentsLies(pDialog); 
     366                                        if (vParent instanceof IWAgentLinker) { 
     367                                                IWAgent[] vChilds = ((IWAgentLinker) vParent).hGetAgentsLies(pDialog, null); 
    368368                                                if (vChilds != null) { 
    369369                                                        boolean vIsBeforeCurrent = true; 
     
    406406         */ 
    407407        protected String xLookForChildren(IWAgent pAgent, IWADialog pDialog, StringBuffer pDialogPath, HParamsQueryString pParams, boolean pBackward) throws Exception { 
    408                 if (pAgent != null && (pAgent instanceof IWAgentAvecLiens)) { 
    409                         IWAgent[] vChildren = ((IWAgentAvecLiens) pAgent).hGetAgentsLies(pDialog); 
     408                if (pAgent != null && (pAgent instanceof IWAgentLinker)) { 
     409                        IWAgent[] vChildren = ((IWAgentLinker) pAgent).hGetAgentsLies(pDialog, null); 
    410410                        if (vChildren != null) { 
    411411                                for (int i = (pBackward ? vChildren.length - 1 : 0); (pBackward ? i >= 0 : i < vChildren.length); i += (pBackward ? -1 : +1)) { 
Note: See TracChangeset for help on using the changeset viewer.