Package org.exoplatform.services.jcr.impl.xml

Examples of org.exoplatform.services.jcr.impl.xml.VersionHistoryRemover


            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here


         PropertyData vhpd =
            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);

         String vhID = ValueDataUtil.getString(vhpd.getValues().get(0));
         VersionHistoryRemover historyRemover =
            new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName, null,
               ancestorToSave, changesLog, accessManager, userState);
         historyRemover.remove();
      }
      catch (IllegalStateException e)
      {
         throw new RepositoryException(e);
      }
View Full Code Here

            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

         PropertyData vhpd =
            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1));
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

                  (PropertyData) dataConsumer.getItemData(mixVersionableNode, new QPathEntry(
                           Constants.JCR_VERSIONHISTORY, 1));
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
                     new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository,
                              currentWorkspaceName, null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

         PropertyData vhpd =
            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1));
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

            (PropertyData)dataConsumer.getItemData(mixVersionableNode, new QPathEntry(Constants.JCR_VERSIONHISTORY, 1),
               ItemType.PROPERTY);
         try
         {
            String vhID = new String(vhpd.getValues().get(0).getAsByteArray());
            VersionHistoryRemover historyRemover =
               new VersionHistoryRemover(vhID, dataConsumer, nodeTypeDataManager, repository, currentWorkspaceName,
                  null, ancestorToSave, changesLog, accessManager, userState);
            historyRemover.remove();
         }
         catch (IOException e)
         {
            throw new RepositoryException(e);
         }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.impl.xml.VersionHistoryRemover

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.