Examples of promoteModuleDescriptorVisibility()


Examples of org.jayasoft.woj.server.data.ModuleDescriptorDao.promoteModuleDescriptorVisibility()

    if (oldVisibility != Visibility.SANDBOX) {
      String msg = md.getModuleInfoAsString() + "cannot be promoted it's not in SANDBOX visibility, it may already have been promoted";
      LOGGER.warn(msg);
      throw new IllegalArgumentException(msg);
    } else {
      dao.promoteModuleDescriptorVisibility(md, newVisibility);
      WOJServer.getInstance().getContentService().refreshContentForModuleDescriptorVisibilityPromotion(md, oldAccessorId, oldVisibility);
     
      // Notification
      notifyModulePromoted(WOJServer.getInstance(), md, newVisibility);
          LOGGER.info("Module: " + md.getModuleInfoAsString() + "has been promoted to " + newVisibility);
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.