Examples of removePingTarget()


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

        // query for it
        PingTargetManager pingMgr = WebloggerFactory.getWeblogger().getPingTargetManager();
        PingTarget ping = pingMgr.getPingTarget(id);
       
        // remove the ping
        pingMgr.removePingTarget(ping);
       
        // flush to db
        WebloggerFactory.getWeblogger().flush();
    }
   
View Full Code Here

Examples of org.apache.roller.weblogger.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.weblogger.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.weblogger.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.weblogger.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.weblogger.business.pings.PingTargetManager.removePingTarget()

       
        if(getPingTarget() != null) {
           
            try {
                PingTargetManager pingTargetMgr = WebloggerFactory.getWeblogger().getPingTargetManager();
                pingTargetMgr.removePingTarget(getPingTarget());
                WebloggerFactory.getWeblogger().flush();
               
                // remove deleted target from list
                getPingTargets().remove(getPingTarget());
               
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.