Examples of unpublish()


Examples of bibliothek.gui.dock.util.color.ColorManager.unpublish()

           
            if( newBridge == null ){
                setting.colors.remove( kind );
               
                if( oldBridge != null )
                    colors.unpublish( Priority.DEFAULT, kind );
            }
            else{
                setting.colors.put( kind, newBridge );
                colors.publish( Priority.DEFAULT, kind, newBridge );
            }
View Full Code Here

Examples of bibliothek.gui.dock.util.color.ColorManager.unpublish()

                controllers.remove( i-- );
                n--;
               
                ColorManager colors = controller.getColors();
                for( ColorBridge bridge : settings.colors.values() ){
                    colors.unpublish( Priority.DEFAULT, bridge );
                }
               
                FontManager fonts = controller.getFonts();
                for( FontBridge bridge : settings.fonts.values() ){
                    fonts.unpublish( Priority.DEFAULT, bridge );
View Full Code Here

Examples of bibliothek.gui.dock.util.font.FontManager.unpublish()

           
            if( newBridge == null ){
                setting.fonts.remove( kind );
               
                if( oldBridge != null ){
                    fonts.unpublish( Priority.DEFAULT, kind );
                }
            }
            else{
                setting.fonts.put( kind, newBridge );
                fonts.publish( Priority.DEFAULT, kind, newBridge );
View Full Code Here

Examples of bibliothek.gui.dock.util.font.FontManager.unpublish()

                    colors.unpublish( Priority.DEFAULT, bridge );
                }
               
                FontManager fonts = controller.getFonts();
                for( FontBridge bridge : settings.fonts.values() ){
                    fonts.unpublish( Priority.DEFAULT, bridge );
                }
            }
        }
       
        for( DockThemeExtension extension : extensions ){
View Full Code Here

Examples of com.dotmarketing.portlets.contentlet.business.ContentletAPI.unpublish()

   
          try {
            List<Contentlet> cons = capi.search(luceneQuery.toString(), 0, batchSize, null, expireUSer, false);
            while (cons.size() > 0) {
   
              capi.unpublish(cons, expireUSer, false);
              Thread.sleep(500);
             
              cons = capi.search(luceneQuery.toString(), 0, batchSize, null, expireUSer, false);
            }
          } catch (Exception e) {
View Full Code Here

Examples of org.jahia.services.content.JCRPublicationService.unpublish()

        testNodeNotInWorkspace(englishLiveSession, SITECONTENT_ROOT_NODE + "/home/page1/page1_subpage2",
                "Sub Page 2 should not have been published");

        // Case 3 : now let's unpublish the node and test it's presence in the live workspace.
        getCleanSession();
        jcrService.unpublish(Collections.singletonList(englishEditPage1NodeIdentifier), languages);
        testNodeNotInWorkspace(englishLiveSession, SITECONTENT_ROOT_NODE + "/home/page1",
                "Page 1 should have been unpublished !");
        testNodeInWorkspace(englishLiveSession, SITECONTENT_ROOT_NODE + "/home/page1/page1_subpage1",
                "Sub Page 1 should not have been published");
        testNodeNotInWorkspace(englishLiveSession, SITECONTENT_ROOT_NODE + "/home/page1/page1_subpage2",
View Full Code Here

Examples of org.wso2.carbon.cloud.csg.agent.CSGServicePublisher.unPublish()

     * @param serverName  the server name to publish
     * @throws CSGException throws in case of an error
     */
    public void unPublishService(String serviceName, String serverName) throws CSGException {
        CSGServicePublisher servicePublisher = new CSGAgentConfigLayer().getCSGServicePublisher();
        if (servicePublisher.unPublish(serviceName, serverName)) {
            log.info("The service '" + serviceName + "', un-published sucessfully");
        } else {
            handleException("Cloud not un-publish the service");
        }
    }
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.