Examples of removeAutoPing()


Examples of org.apache.roller.business.pings.AutoPingManager.removeAutoPing()

        PingTargetData pingTarget = select(rreq);
        try {
            if (!isAuthorized(rreq, rreq.getWebsite())) {
                return mapping.findForward("access-denied");
            }
            autoPingMgr.removeAutoPing(pingTarget, rreq.getWebsite());
            RollerFactory.getRoller().flush();

            return view(mapping, form, req, res);
        } catch (Exception e) {
            mLogger.error("ERROR in action", e);
View Full Code Here

Examples of org.apache.roller.business.pings.AutoPingManager.removeAutoPing()

        autoPing = mgr.getAutoPing(id);
        assertNotNull(autoPing);
        assertEquals(pingTarget2, autoPing.getPingTarget());
       
        // delete autoPing
        mgr.removeAutoPing(autoPing);
        TestUtils.endSession(true);
       
        // make sure common autoPing was deleted
        autoPing = null;
        autoPing = mgr.getAutoPing(id);
View Full Code Here

Examples of org.apache.roller.business.pings.AutoPingManager.removeAutoPing()

        AutoPingData autoPing2 = TestUtils.setupAutoPing(pingTarget2, testWeblog);
        AutoPingData autoPing3 = TestUtils.setupAutoPing(pingTarget3, testWeblog);
        TestUtils.endSession(true);
       
        // remove by weblog/target
        mgr.removeAutoPing(pingTarget, testWeblog);
        TestUtils.endSession(true);
       
        // make sure remove succeeded
        testAutoPing = null;
        testAutoPing = mgr.getAutoPing(autoPing.getId());
View Full Code Here

Examples of org.apache.roller.business.pings.AutoPingManager.removeAutoPing()

        autoPings = mgr.getAutoPingsByWebsite(testWeblog);
        assertNotNull(autoPing);
        assertEquals(1, autoPings.size());
       
        // delete autoPing
        mgr.removeAutoPing(autoPing);
        TestUtils.endSession(true);
       
        // teardown test ping target
        TestUtils.teardownPingTarget(pingTarget.getId());
        TestUtils.endSession(true);
View Full Code Here

Examples of org.apache.roller.business.pings.AutoPingManager.removeAutoPing()

        // query for it
        AutoPingManager mgr = RollerFactory.getRoller().getAutopingManager();
        AutoPingData autoPing = mgr.getAutoPing(id);
       
        // remove the auto ping
        mgr.removeAutoPing(autoPing);
    }
   
   
    /**
     * Convenience method for creating a hit count.
View Full Code Here

Examples of org.apache.roller.model.AutoPingManager.removeAutoPing()

        // query for it
        AutoPingManager mgr = RollerFactory.getRoller().getAutopingManager();
        AutoPingData autoPing = mgr.getAutoPing(id);
       
        // remove the auto ping
        mgr.removeAutoPing(autoPing);
    }
   
}
View Full Code Here

Examples of org.apache.roller.model.AutoPingManager.removeAutoPing()

        {
            if (!isAuthorized(rreq, rreq.getWebsite()))
            {
                return mapping.findForward("access-denied");
            }
            autoPingMgr.removeAutoPing(pingTarget, rreq.getWebsite());
            RollerFactory.getRoller().flush();
       
            return view(mapping, form, req, res);
        }
        catch (Exception e)
View Full Code Here

Examples of org.apache.roller.model.AutoPingManager.removeAutoPing()

        autoPing = mgr.getAutoPing(id);
        assertNotNull(autoPing);
        assertEquals(pingTarget2, autoPing.getPingTarget());
       
        // delete autoPing
        mgr.removeAutoPing(autoPing);
        TestUtils.endSession(true);
       
        // make sure common autoPing was deleted
        autoPing = null;
        autoPing = mgr.getAutoPing(id);
View Full Code Here

Examples of org.apache.roller.model.AutoPingManager.removeAutoPing()

        AutoPingData autoPing2 = TestUtils.setupAutoPing(pingTarget2, testWeblog);
        AutoPingData autoPing3 = TestUtils.setupAutoPing(pingTarget3, testWeblog);
        TestUtils.endSession(true);
       
        // remove by weblog/target
        mgr.removeAutoPing(pingTarget, testWeblog);
        TestUtils.endSession(true);
       
        // make sure remove succeeded
        testAutoPing = null;
        testAutoPing = mgr.getAutoPing(autoPing.getId());
View Full Code Here

Examples of org.apache.roller.model.AutoPingManager.removeAutoPing()

        autoPings = mgr.getAutoPingsByWebsite(testWeblog);
        assertNotNull(autoPing);
        assertEquals(1, autoPings.size());
       
        // delete autoPing
        mgr.removeAutoPing(autoPing);
        TestUtils.endSession(true);
       
        // teardown test ping target
        TestUtils.teardownPingTarget(pingTarget.getId());
        TestUtils.endSession(true);
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.