SetFather
91929394959697
* @exception AdminException If the request fails. * @deprecated */ public static void setHierarchicalLink(Topic father, Topic son) throws ConnectException, AdminException { AdminModule.doRequest(new SetFather(father.getName(), son.getName())); }
107108109110111112113
* @exception ConnectException If the admin connection is closed or broken. * @exception AdminException If the request fails. * @deprecated */ public static void unsetHierarchicalLink(Topic topic) throws ConnectException, AdminException { AdminModule.doRequest(new SetFather(null, topic.getName())); }
349350351352353354355
*/ public void setParent(Topic parent) throws ConnectException, AdminException { if (parent == null) unsetParent(); else doRequest(new SetFather(parent.getName(), agentId)); }
362363364365366367368
* * @exception ConnectException If the admin connection is closed or broken. * @exception AdminException If the request fails. */ public void unsetParent() throws ConnectException, AdminException { doRequest(new SetFather(null, agentId)); }