Package org.exoplatform.portal.pom.config

Examples of org.exoplatform.portal.pom.config.POMSession.findObjectById()


      if (id == null)
      {
         throw new NullPointerException("No null id accepted");
      }
      POMSession session = manager.getSession();
      WorkspaceObject obj = session.findObjectById(id);
      I18NAdapter able = obj.adapt(I18NAdapter.class);
      Map<Locale, Described> mixins = able.getI18NMixin(Described.class);
      Map<Locale, Described.State> names = null;
      if (mixins != null)
      {
View Full Code Here


      if (id == null)
      {
         throw new NullPointerException("No null id accepted");
      }
      POMSession session = manager.getSession();
      WorkspaceObject obj = session.findObjectById(id);
      I18NAdapter able = obj.adapt(I18NAdapter.class);
      Collection<Locale> locales = able.removeI18NMixin(Described.class);
      for (Locale locale : locales)
      {
         cache.removeState(new CacheKey(locale, id));
View Full Code Here

        return pages;
    }

    public UIWindow getWindowFrom(String uuid) {
        POMSession session = pomManager.getSession();
        return session.findObjectById(ObjectType.WINDOW, uuid);
    }

    public void saveChangesTo(UIWindow window) {
        POMSession session = pomManager.getSession();
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.