Examples of VersionImpl


Examples of org.exoplatform.services.jcr.impl.core.version.VersionImpl

      InvalidItemStateException
   {

      checkValid();

      VersionImpl version = (VersionImpl)getVersionHistory().getVersionByLabel(versionLabel);
      restore(version, removeExisting);

   }
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.version.VersionImpl

      private NodeImpl createNode(NodeData data, NodeData parent) throws RepositoryException
      {
         NodeImpl node = new NodeImpl(data, parent, session);
         if (data.getPrimaryTypeName().equals(Constants.NT_VERSION))
         {
            return new VersionImpl(data, session);
         }
         else if (data.getPrimaryTypeName().equals(Constants.NT_VERSIONHISTORY))
         {
            return new VersionHistoryImpl(data, session);
         }
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.version.VersionImpl

      changesLog.add(ItemState.createUpdatedState(updatePropertyData(Constants.JCR_PREDECESSORS,
         new ArrayList<ValueData>())));

      dataManager.getTransactManager().save(changesLog);

      VersionImpl version = (VersionImpl)dataManager.getItemByIdentifier(verIdentifier, true, false);

      session.getActionHandler().postCheckin(this);
      return version;
   }
View Full Code Here

Examples of org.hornetq.core.version.impl.VersionImpl

            int incrementingVersion = Integer.valueOf(versionProps.getProperty("hornetq.version.incrementingVersion"));
            String versionSuffix = versionProps.getProperty("hornetq.version.versionSuffix");
            String nettyVersion = versionProps.getProperty("hornetq.netty.version");
            int[] compatibleVersionArray = parseCompatibleVersionList(versionProps.getProperty("hornetq.version.compatibleVersionList"));

            return new VersionImpl(versionName,
                                   majorVersion,
                                   minorVersion,
                                   microVersion,
                                   incrementingVersion,
                                   versionSuffix,
View Full Code Here

Examples of org.wiztools.appupdate.VersionImpl

       
        // Verify version:
        try {
            final VersionUrl data = VersionWSUtil.getLatestVersion(UPDATE_URL);
            Version latestVersion = data.getVersion();
            Version currentVersion = new VersionImpl(RCConstants.VERSION);
           
            // Newer version available:
            if(latestVersion.isGreaterThan(currentVersion)) {
                SwingUtilities.invokeLater(new Runnable() {
                    @Override
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.