Examples of save()


Examples of org.exoplatform.application.registry.ApplicationRegistryService.save()

         if (displayName != null && displayName.trim().length() > 0)
         {
            app.setDisplayName(displayName);
         }

         appRegService.save(selectedCate, app);
         uiOrganizer.reload();
         uiOrganizer.setSelectedCategory(selectedCate.getName());
         uiOrganizer.selectApplication(app.getApplicationName());
         ctx.addUIComponentToUpdateByAjax(uiOrganizer);
      }
View Full Code Here

Examples of org.exoplatform.portal.config.DataStorage.save()

                            page.getFactoryId(), page.getAccessPermissions() != null ? Arrays.asList(page
                                    .getAccessPermissions()) : null, page.getEditPermission());
                    configService.getPageService().savePage(new PageContext(page.getPageKey(), pageState));

                    //
                    storage.save(page);

                    //
                    UserNode tabNode = rootNode.addChild(DEFAULT_TAB_NAME);
                    tabNode.setLabel(DEFAULT_TAB_NAME);
                    tabNode.setPageRef(PageKey.parse(page.getPageId()));
View Full Code Here

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

            POMSession session = pomMgr.getSession();
            Workspace workspace = session.getWorkspace();
            Imported imported = workspace.adapt(Imported.class);
            imported.setLastModificationDate(new Date());
            imported.setStatus(Status.DONE.status());
            session.save();
        } finally {
            RequestLifeCycle.end();
        }
    }
View Full Code Here

Examples of org.exoplatform.portal.pom.data.Mapper.save()

               + ownerId + " with type " + siteType + " does not exist");
         }

         //
         Mapper mapper = new Mapper(session);
         changes = mapper.save(this.page, site, name);

         //
         return null;
      }
View Full Code Here

Examples of org.exoplatform.portal.pom.data.ModelDataStorage.save()

        // WARNING :
        // This is used to force a state save and it should not be copied else where to make things
        // convenient as this could lead to a severe performance degradation
        ModelDataStorage mds = getApplicationComponent(ModelDataStorage.class);
        mds.save();
    }

    /**
     * Initializes a newly created <code>SaveUserPrefActionListener</code> object
     */
 
View Full Code Here

Examples of org.exoplatform.services.jcr.core.ExtendedNode.save()

    node.checkout();

    // child node, non versionable but under the version control within their parent
    Node node1 = node.addNode("node1");
    // node1.addMixin("exo:auditable");
    node.save();
    node1.setProperty(propName, "prop #1"); // add property
    node1.save();

    // ver.2
    node.checkin();
View Full Code Here

Examples of org.exoplatform.services.jcr.core.ExtendedSession.save()

            return;
         }
         else
         {
            session.move(service.getStoragePath(), storagePathOld, false);
            session.save();
         }
      }
      finally
      {
         session.logout();
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.DataManager.save()

      // parent it's a VH
      VersionHistoryDataHelper historyHelper =
         new VersionHistoryDataHelper(vh, dmanager, session.getWorkspace().getNodeTypesHolder());

      SessionChangesLog changesLog = restoreLog(destParent, name, historyHelper, restoreSession, removeExisting, null);
      dmanager.save(changesLog);
   }

   public boolean isSuccessorOrSameOf(VersionImpl anotherVersion) throws RepositoryException
   {
      Version[] prds = getPredecessors();
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.PersistentDataManager.save()

      WorkspaceContainerFacade wsc = repository.getWorkspaceContainer(workspace.getName());

      PersistentDataManager dm = (PersistentDataManager)wsc.getComponent(PersistentDataManager.class);
      try
      {
         dm.save(tlog);
         fail("JCRInvalidItemStateException expected");
      }
      catch (JCRInvalidItemStateException e)
      {
         // ok
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.SharedDataManager.save()

      {
         changes.add(ItemState.createDeletedState(cleanUpList.get(--i)));
      }

      clog.addLog(changes);
      wdm.save(clog);

      super.tearDown();
   }

   public void testItemAdd_Connection() throws Exception
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.