Package org.exoplatform.portal.config.model

Examples of org.exoplatform.portal.config.model.CloneApplicationState


      {
         boolean remote = ApplicationType.WSRP_PORTLET.equals(appType);

         UIPortlet uiPortlet = uiPage.createUIComponent(UIPortlet.class, null, null);

         CloneApplicationState appState;
         Object appId;
         if (!remote)
         {
            appState = new CloneApplicationState<Portlet>(application.getId());
         }
View Full Code Here


                  TransientApplicationState state = new TransientApplicationState<Object>(app.getContentId());
                  uiPortlet.setState(new PortletState(state, applicationType));
               }
               else
               {
                  CloneApplicationState state = new CloneApplicationState<Object>(app.getStorageId());
                  uiPortlet.setState(new PortletState(state, applicationType));
               }
               uiPortlet.setPortletInPortal(uiTarget instanceof UIPortal);
               uiPortlet.setShowEditControl(true);
               uiSource = uiPortlet;
View Full Code Here

            S state = ((TransientApplicationState<S>) instanceState).getContentState();
            if (state != null) {
                dstCustomization.setState(state);
            }
        } else if (instanceState instanceof CloneApplicationState) {
            CloneApplicationState cloneState = (CloneApplicationState) instanceState;

            //
            Customization<?> customization = session.findCustomizationById(cloneState.getStorageId());

            //
            dst.customize(customization);
        } else if (instanceState instanceof PersistentApplicationState) {
            // Do nothing
View Full Code Here

            dstCustomization.setState(state);
         }
      }
      else if (instanceState instanceof CloneApplicationState)
      {
         CloneApplicationState cloneState = (CloneApplicationState)instanceState;

         //
         Customization<?> customization = session.findCustomizationById(cloneState.getStorageId());

         //
         dst.customize(customization);
      }
      else if (instanceState instanceof PersistentApplicationState)
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.config.model.CloneApplicationState

Copyright © 2018 www.massapicom. 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.