From a1f0ecbb6a2bea6aa214322c412af2f3c5ce124b Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Wed, 7 May 2014 17:33:13 +0200 Subject: Agent now extends Item, so they can have workflows. All traces of the old 'Entity' superclasses should be removed, including proxies and paths. Very large change, breaks API compatibility with CRISTAL 2.x. Fixes #135 --- src/main/java/com/c2kernel/lookup/AgentPath.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/com/c2kernel/lookup/AgentPath.java') diff --git a/src/main/java/com/c2kernel/lookup/AgentPath.java b/src/main/java/com/c2kernel/lookup/AgentPath.java index 5ff6988..a560795 100644 --- a/src/main/java/com/c2kernel/lookup/AgentPath.java +++ b/src/main/java/com/c2kernel/lookup/AgentPath.java @@ -29,14 +29,14 @@ import com.novell.ldap.LDAPEntry; * @version $Revision: 1.12 $ $Date: 2005/10/13 08:15:00 $ * @author $Author: abranson $ **/ -public class AgentPath extends EntityPath +public class AgentPath extends ItemPath { private String mAgentName=null; private String mPassword=null; public AgentPath(int syskey, String agentName) - throws InvalidAgentPathException,InvalidEntityPathException + throws InvalidAgentPathException,InvalidItemPathException { super(syskey); if (agentName!=null && agentName.length()>0) @@ -46,16 +46,16 @@ public class AgentPath extends EntityPath } public AgentPath(int syskey) - throws InvalidEntityPathException + throws InvalidItemPathException { super(syskey); } - public AgentPath(EntityPath entity) { + public AgentPath(ItemPath entity) { super(); try { setSysKey(entity.getSysKey()); - } catch (InvalidEntityPathException ex) { + } catch (InvalidItemPathException ex) { //won't happen as the entity path was valid } } -- cgit v1.2.3