Examples of removePingTarget()


Examples of org.apache.roller.business.pings.PingTargetManager.removePingTarget()

            String pingTargetId = pingTargetForm.getId();
            if (pingTargetId == null || pingTargetId.length() == 0) {
                throw new RollerException("Missing ping target id.");
            }
            PingTargetData ping = pingTargetMgr.getPingTarget(pingTargetId);
            pingTargetMgr.removePingTarget(ping);
            RollerFactory.getRoller().flush();
            return view(mapping, form, req, res);
        } catch (Exception e) {
            getLogger().error("ERROR in action", e);
            throw new ServletException(e);
View Full Code Here

Examples of org.apache.roller.business.pings.PingTargetManager.removePingTarget()

        assertEquals("testtestCustom", ping.getName());
       
        // delete common ping
        ping = null;
        ping = mgr.getPingTarget(commonId);
        mgr.removePingTarget(ping);
        TestUtils.endSession(true);
       
        // make sure common ping was deleted
        ping = null;
        ping = mgr.getPingTarget(commonId);
View Full Code Here

Examples of org.apache.roller.business.pings.PingTargetManager.removePingTarget()

        assertNull(ping);
       
        // delete custom ping
        ping = null;
        ping = mgr.getPingTarget(customId);
        mgr.removePingTarget(ping);
        TestUtils.endSession(true);
       
        // make sure custom ping was deleted
        ping = null;
        ping = mgr.getPingTarget(customId);
View Full Code Here

Examples of org.apache.roller.business.pings.PingTargetManager.removePingTarget()

        assertEquals(1, customPings.size());
       
        // delete common ping
        ping = null;
        ping = mgr.getPingTarget(commonId);
        mgr.removePingTarget(ping);
        TestUtils.endSession(true);
       
        // delete custom ping
        ping = null;
        ping = mgr.getPingTarget(customId);
View Full Code Here

Examples of org.apache.roller.business.pings.PingTargetManager.removePingTarget()

        TestUtils.endSession(true);
       
        // delete custom ping
        ping = null;
        ping = mgr.getPingTarget(customId);
        mgr.removePingTarget(ping);
        TestUtils.endSession(true);
    }
   
   
    /**
 
View Full Code Here

Examples of org.apache.roller.business.pings.PingTargetManager.removePingTarget()

        // query for it
        PingTargetManager pingMgr = RollerFactory.getRoller().getPingTargetManager();
        PingTargetData ping = pingMgr.getPingTarget(id);
       
        // remove the ping
        pingMgr.removePingTarget(ping);
    }
   
   
    /**
     * Convenience method for creating an auto ping.
View Full Code Here

Examples of org.apache.roller.model.PingTargetManager.removePingTarget()

        // query for it
        PingTargetManager pingMgr = RollerFactory.getRoller().getPingTargetManager();
        PingTargetData ping = pingMgr.getPingTarget(id);
       
        // remove the ping
        pingMgr.removePingTarget(ping);
    }
   
   
    /**
     * Convenience method for creating an auto ping.
View Full Code Here

Examples of org.apache.roller.model.PingTargetManager.removePingTarget()

            if (pingTargetId == null || pingTargetId.length() == 0)
            {
                throw new RollerException("Missing ping target id.");
            }
            PingTargetData ping = pingTargetMgr.getPingTarget(pingTargetId);
            pingTargetMgr.removePingTarget(ping);
            RollerFactory.getRoller().flush();
            return view(mapping, form, req, res);
        }
        catch (Exception e)
        {
View Full Code Here

Examples of org.apache.roller.model.PingTargetManager.removePingTarget()

        assertEquals("testtestCustom", ping.getName());
       
        // delete common ping
        ping = null;
        ping = mgr.getPingTarget(commonId);
        mgr.removePingTarget(ping);
        TestUtils.endSession(true);
       
        // make sure common ping was deleted
        ping = null;
        ping = mgr.getPingTarget(commonId);
View Full Code Here

Examples of org.apache.roller.model.PingTargetManager.removePingTarget()

        assertNull(ping);
       
        // delete custom ping
        ping = null;
        ping = mgr.getPingTarget(customId);
        mgr.removePingTarget(ping);
        TestUtils.endSession(true);
       
        // make sure custom ping was deleted
        ping = null;
        ping = mgr.getPingTarget(customId);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.