CCM NG/ccm-cms: AssetManagerTest method bodies

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4403 8810af33-2d31-482b-a856-94f89814c4df
pull/2/head
jensp 2016-10-24 17:29:52 +00:00
parent 4aff7be1c7
commit a8869168a4
4 changed files with 1124 additions and 4 deletions

View File

@ -32,7 +32,6 @@ import org.libreccm.categorization.CategoryManager;
import org.libreccm.core.CoreConstants;
import org.libreccm.security.AuthorizationRequired;
import org.libreccm.security.RequiresPrivilege;
import org.librecms.CmsConstants;
import org.librecms.attachments.AttachmentList;
import org.librecms.contentsection.ContentSection;
import org.librecms.contentsection.Folder;
@ -124,7 +123,9 @@ public class AssetManager {
* Users of this class usually should use these methods. This method has
* been made public for special cases. Please note that this class does
* <strong>not</strong>
* perform any authorization checks. This is up to the caller.
* perform any authorisation checks. This is up to the caller. Also if no
* folder is provided and the caller does not add the created asset to an
* {@link AttachmentList} the asset will become orphaned can't be accessed.
*
* @param <T> Type variable for the type of the {@link Asset}.
* @param name The name of the new {@link Asset}.
@ -149,7 +150,7 @@ public class AssetManager {
*/
@Transactional(Transactional.TxType.REQUIRED)
@RequiresPrivilege(CoreConstants.PRIVILEGE_ADMIN)
public void deleteOrphanedAssets() {
public void cleanOrphanedAssets() {
throw new UnsupportedOperationException("Not implemented yet.");
}

View File

@ -0,0 +1,578 @@
/*
* Copyright (C) 2016 LibreCCM Foundation.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
package org.librecms.assets;
import static org.libreccm.testutils.DependenciesHelpers.*;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.ShouldThrowException;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.junit.InSequence;
import org.jboss.arquillian.persistence.CreateSchema;
import org.jboss.arquillian.persistence.PersistenceTest;
import org.jboss.arquillian.persistence.ShouldMatchDataSet;
import org.jboss.arquillian.persistence.UsingDataSet;
import org.jboss.arquillian.transaction.api.annotation.TransactionMode;
import org.jboss.arquillian.transaction.api.annotation.Transactional;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.libreccm.security.Shiro;
import org.libreccm.tests.categories.IntegrationTest;
import org.librecms.attachments.AttachmentList;
import org.librecms.contentsection.FolderRepository;
import javax.inject.Inject;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
/**
* Tests for the {@link AssetManager}.
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
@org.junit.experimental.categories.Category(IntegrationTest.class)
@RunWith(Arquillian.class)
@PersistenceTest
@Transactional(TransactionMode.COMMIT)
@CreateSchema({"create_ccm_cms_schema.sql"})
public class AssetManagerTest {
@Inject
private AssetRepository assetRepo;
@Inject
private AssetManager assetManager;
@Inject
private FolderRepository folderRepo;
@Inject
private Shiro shiro;
public AssetManagerTest() {
}
@BeforeClass
public static void setUpClass() {
}
@AfterClass
public static void tearDownClass() {
}
@Before
public void setUp() {
}
@After
public void tearDown() {
}
@Deployment
public static WebArchive createDeployment() {
return ShrinkWrap
.create(WebArchive.class,
"LibreCCM-org.librecms.assets.AssetManagerTest.war")
.addPackage(org.libreccm.auditing.CcmRevision.class.getPackage())
.addPackage(org.libreccm.categorization.Categorization.class
.getPackage())
.addPackage(org.libreccm.cdi.utils.CdiUtil.class.getPackage())
.addPackage(org.libreccm.configuration.Configuration.class
.getPackage())
.addPackage(org.libreccm.core.CcmCore.class.getPackage())
.addPackage(org.libreccm.jpa.EntityManagerProducer.class
.getPackage())
.addPackage(org.libreccm.jpa.utils.MimeTypeConverter.class
.getPackage())
.addPackage(org.libreccm.l10n.LocalizedString.class
.getPackage())
.addPackage(org.libreccm.security.Permission.class.getPackage())
.addPackage(org.libreccm.web.CcmApplication.class.getPackage())
.addPackage(org.libreccm.workflow.Workflow.class.getPackage())
.addPackage(com.arsdigita.bebop.Component.class.getPackage())
.addPackage(com.arsdigita.bebop.util.BebopConstants.class
.getPackage())
.addClass(com.arsdigita.kernel.KernelConfig.class)
.addClass(com.arsdigita.runtime.CCMResourceManager.class)
.addClass(
com.arsdigita.ui.admin.applications.AbstractAppInstanceForm.class)
.addClass(
com.arsdigita.ui.admin.applications.AbstractAppSettingsPane.class)
.addClass(
com.arsdigita.ui.admin.applications.DefaultApplicationInstanceForm.class)
.addClass(
com.arsdigita.ui.admin.applications.DefaultApplicationSettingsPane.class)
.addClass(com.arsdigita.cms.dispatcher.ItemResolver.class)
.addPackage(com.arsdigita.util.Lockable.class.getPackage())
.addPackage(com.arsdigita.web.BaseServlet.class.getPackage())
.addPackage(org.librecms.Cms.class.getPackage())
.addPackage(org.librecms.assets.Asset.class.getPackage())
.addPackage(org.librecms.attachments.AttachmentList.class
.getPackage())
.addPackage(org.librecms.lifecycle.Lifecycle.class.getPackage())
.addPackage(org.librecms.contentsection.ContentSection.class
.getPackage())
.addPackage(org.librecms.contenttypes.Article.class.getPackage()).
addClass(com.arsdigita.kernel.security.SecurityConfig.class)
.addPackage(org.libreccm.tests.categories.IntegrationTest.class
.getPackage())
// .addAsLibraries(getModuleDependencies())
.addAsLibraries(getCcmCoreDependencies())
.addAsResource("configs/shiro.ini", "shiro.ini")
.addAsResource(
"configs/org/librecms/contentsection/ContentItemManagerTest/log4j2.xml",
"log4j2.xml")
.addAsResource("test-persistence.xml",
"META-INF/persistence.xml")
.addAsWebInfResource("test-web.xml", "web.xml")
.addAsWebInfResource(EmptyAsset.INSTANCE, "WEB-INF/beans.xml");
}
/**
* Verify that dependencies have been injected.
*/
@Test
@InSequence(1)
public void checkInjections() {
assertThat(shiro, is(not(nullValue())));
assertThat(assetRepo, is(not(nullValue())));
assertThat(assetManager, is(not(nullValue())));
assertThat(folderRepo, is(not(nullValue())));
}
/**
* Verify that Shiro is working.
*/
@Test
@InSequence(20)
public void checkShiro() {
assertThat(shiro.getSecurityManager(), is(not(nullValue())));
assertThat(shiro.getSystemUser(), is(not(nullValue())));
}
/**
* Tries to generate various non shared {@link Asset}s of different types
* using
* {@link AssetManager#createAsset(java.lang.String, org.librecms.attachments.AttachmentList, java.lang.Class)}.
* and puts them into an {@link AttachmentList}.
*/
@Test
@InSequence(100)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-create-nonshared.xml",
excludeColumns = {"object_id",
"uuid"})
public void createNonSharedAssets() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.attachments.AttachmentList, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code name}
* is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(110)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createNonSharedAssetNameIsNull() {
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.attachments.AttachmentList, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code name}
* is empty.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(120)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createNonSharedAssetNameIsEmpty() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.attachments.AttachmentList, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided
* {@code attachmentList} is empty.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(130)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createNonSharedAssetAttachmentListNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.attachments.AttachmentList, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code type}
* is empty.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(140)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createNonSharedAssetTypeIsNull() {
fail();
}
/**
* Tries to generate various shared {@link Asset}s of different types using
* {@link AssetManager#createAsset(java.lang.String, org.librecms.contentsection.Folder, java.lang.Class)}.
*/
@Test
@InSequence(200)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-create-shared.xml",
excludeColumns = {"object_id",
"uuid"})
public void createSharedAssets() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.contentsection.Folder, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code name}
* is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(210)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createSharedAssetNameIsNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.contentsection.Folder, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code name}
* is empty.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(220)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createSharedAssetNameIsEmpty() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.contentsection.Folder, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code folder}
* is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(230)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createSharedAssetFolderIsNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#createAsset(java.lang.String, org.librecms.contentsection.Folder, java.lang.Class)}
* throws an {@link IllegalArgumentException} if the provided {@code type}
* is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(240)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void createSharedAssetTypeIsNull() {
fail();
}
/**
* Verifies that {@link AssetManager} finds all orphaned {@link Asset}s and
* deletes them.
*/
@Test
@InSequence(300)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-clean-orphaned.xml",
excludeColumns = {"object_id",
"uuid"})
public void cleanOrphanedAssets() {
fail();
}
/**
* Tries to move an asset to an other asset folder in the same content
* section using
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}.
*/
@InSequence(400)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-move-to-other-folder.xml",
excludeColumns = {"object_id",
"uuid"})
public void moveAssetToOtherFolder() {
fail();
}
/**
* Tries to move an asset to an other asset folder in another content
* section using
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}.
*/
@InSequence(410)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-move-to-other-contentsection.xml",
excludeColumns = {"object_id",
"uuid"})
public void moveAssetToFolderInOtherContentSection() {
fail();
}
/**
* Verifies that
* {@link AssetManager#move(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}
* throws an {@link IllegalArgumentException} if the provided {@code asset}
* is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(420)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void moveAssetNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#move(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}
* throws an {@link IllegalArgumentException} if the provided
* {@code targetFolder} is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(430)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void moveAssetTargetFolderIsNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#move(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}
* throws an {@link IllegalArgumentException} if the provided
* {@code targetFolder} is not an asset folder.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(430)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void moveAssetTargetFolderNotAssetFolder() {
fail();
}
/**
* Tries to copy an an {@link Asset} to another folder in the same using
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}.
*/
@Test
@InSequence(500)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-copy-to-other-folder.xml",
excludeColumns = {"object_id",
"uuid"})
public void copyAssetToOtherFolder() {
fail();
}
/**
* Tries to copy an an {@link Asset} to same folder using
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}.
*/
@Test
@InSequence(510)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-copy-to-same-folder.xml",
excludeColumns = {"object_id",
"uuid"})
public void copyAssetToSameFolder() {
fail();
}
/**
* Tries to copy an an {@link Asset} to another folder in another content
* section using
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}.
*/
@Test
@InSequence(520)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet(
value = "datasets/org/librecms/assets/AssetManagerTest/"
+ "after-copy-to-other-contentsection.xml",
excludeColumns = {"object_id",
"uuid"})
public void copyAssetToOtherContentSection() {
fail();
}
/**
* Verifies that
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}
* throws an {@link IllegalArgumentException} if the provided {@code asset}
* is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(530)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void copyAssetNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}
* throws an {@link IllegalArgumentException} if the provided
* {@code targetFolder} is {@code null}.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(540)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void copyAssetTargetFolderIsNull() {
fail();
}
/**
* Verifies that
* {@link AssetManager#copy(org.librecms.assets.Asset, org.librecms.contentsection.Folder)}
* throws an {@link IllegalArgumentException} if the provided
* {@code targetFolder} is not an asset folder.
*/
@Test(expected = IllegalArgumentException.class)
@InSequence(550)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldThrowException(IllegalArgumentException.class)
public void copyAssetTargetFolderIsNotAssetFolder() {
fail();
}
/**
* Verifies the result of
* {@link AssetManager#isAssetInUse(org.librecms.assets.Asset)} for various
* {@link Asset}s.
*/
@InSequence(600)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
public void verifyIsAssetInUse() {
fail();
}
/**
* Verifies the result of
* {@link AssetManager#getAssetPath(org.librecms.assets.Asset)} for various
* {@link Asset}s.
*/
@InSequence(700)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
public void verifyGetAssetPathWithoutContentSection() {
fail();
}
/**
* Verifies the result of {@link AssetManager#getAssetPath(org.librecms.assets.Asset, boolean)
* }
* for various {@link Asset}s.
*/
@InSequence(800)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
public void verifyGetAssetPathWithContentSection() {
fail();
}
/**
* Verifies that result of
* {@link AssetManager#getAssetFolder(org.librecms.assets.Asset)} for
* various {@link Asset}s.
*/
@InSequence(900)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
public void verifyGetAssetFolder() {
fail();
}
/**
* Verifies that result of {@link AssetManager#getAssetFolders(org.librecms.assets.Asset)
* }
* for various {@link Asset}s.
*/
@InSequence(1000)
@UsingDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
@ShouldMatchDataSet("datasets/org/librecms/assets/AssetManagerTest/data.xml")
public void verifyGetAssetFolders() {
fail();
}
}

View File

@ -45,7 +45,9 @@ public class DatasetsTest extends DatasetsVerifier {
public static Collection<String> data() {
return Arrays.asList(new String[]{
"/datasets/org/librecms/assets/AssetRepositoryTest/data.xml",
"/datasets/org/librecms/assets/AssetRepositoryTest/after-delete.xml"
"/datasets/org/librecms/assets/AssetRepositoryTest/after-delete.xml",
"/datasets/org/librecms/assets/AssetManagerTest/data.xml",
});
}

View File

@ -0,0 +1,539 @@
<?xml version="1.0" encoding="utf-8"?>
<dataset>
<!--
* 2 ContentSections with several asset folders
* CcmObject with existing AttachmentList
* several shared assets
-->
<ccm_core.ccm_revisions id="0"
timestamp="1451602800" />
<ccm_core.ccm_objects object_id="-100"
display_name="info"
uuid="963bcae7-3aeb-4b62-891c-e16c4defa1f2" />
<ccm_core.ccm_objects object_id="-200"
display_name="info_root"
uuid="82014239-9c06-486d-ae8c-4ae47f52a699" />
<ccm_core.ccm_objects object_id="-300"
display_name="info_assets"
uuid="b163f73c-9ac2-44d7-a037-de621f5ca828" />
<ccm_core.ccm_objects object_id="-400"
display_name="media"
uuid="f8546369-4d06-47ea-9138-345d29ab8d68" />
<ccm_core.ccm_objects object_id="-500"
display_name="data"
uuid="18fbc7f4-ce7e-45d6-8dad-02887164b99d" />
<ccm_core.ccm_objects object_id="-600"
display_name="article1"
uuid="aed4b402-1180-46c6-b42d-7245f4dca248" />
<ccm_core.ccm_objects object_id="-700"
display_name="header.png"
uuid="4635589f-b87a-46d9-979e-6af14af063e5" />
<ccm_core.ccm_objects object_id="-800"
display_name="the-phb.png"
uuid="0a192e98-3b28-49d0-833f-bc9ff5f9d1d4" />
<ccm_core.ccm_objects object_id="-900"
display_name="services-header.png"
uuid="3fe13eb8-ec8d-4523-b42a-7fe1d5cf1a44" />
<ccm_core.ccm_objects object_id="-1000"
display_name="product1-datasheet.pdf"
uuid="0393840f-06a6-4ec3-aeb3-a612f845ad60" />
<ccm_core.ccm_objects object_id="-1100"
display_name="catalog.pdf"
uuid="cee702ad-79f7-4f78-b93d-46932d958c1c" />
<ccm_core.ccm_objects object_id="-1200"
display_name="org.librecms.contenttypes.Article"
uuid="bd061ab6-9c4f-45ff-ab69-f521008eeac3" />
<ccm_core.ccm_objects object_id="-1300"
display_name="projects"
uuid="2ac48bb5-a5fd-4e30-a80d-d895c2cad78a" />
<ccm_core.ccm_objects object_id="-1400"
display_name="projects_root"
uuid="fa88836d-3f3e-4197-949a-e9c697400bf0" />
<ccm_core.ccm_objects object_id="-1500"
display_name="projects_assets"
uuid="88c99d18-3a58-477b-89ea-e0ee6d1e4c56" />
<ccm_core.ccm_objects object_id="-1600"
display_name="media"
uuid="ec3f0d51-5d9b-440e-bb5a-5fac7da94af1" />
<ccm_core.ccm_objects object_id="-1700"
display_name="data"
uuid="80086df3-d682-42bb-9939-8cc04a300575" />
<ccm_core.ccm_objects_aud object_id="-600"
rev="0"
revtype="0"
display_name="article1" />
<ccm_core.ccm_objects_aud object_id="-700"
rev="0"
revtype="0"
display_name="header.png" />
<ccm_core.ccm_objects_aud object_id="-800"
rev="0"
revtype="0"
display_name="the-phb.png" />
<ccm_core.ccm_objects_aud object_id="-900"
rev="0"
revtype="0"
display_name="services-header.png" />
<ccm_core.ccm_objects_aud object_id="-1000"
rev="0"
revtype="0"
display_name="product1-datasheet.pdf" />
<ccm_core.ccm_objects_aud object_id="-1100"
rev="0"
revtype="0"
display_name="catalog.pdf" />
<ccm_core.categories object_id="-200"
unique_id="82014239-9c06-486d-ae8c-4ae47f52a699"
name="info_root"
enabled="true"
visible="true"
abstract_category="false"
category_order="1" />
<ccm_core.categories object_id="-300"
unique_id="b163f73c-9ac2-44d7-a037-de621f5ca828"
name="info_assets"
enabled="true"
visible="true"
abstract_category="false"
category_order="1"/>
<ccm_core.categories object_id="-400"
unique_id="f8546369-4d06-47ea-9138-345d29ab8d68"
name="media"
enabled="true"
visible="true"
abstract_category="false"
category_order="1"/>
<ccm_core.categories object_id="-500"
unique_id="18fbc7f4-ce7e-45d6-8dad-02887164b99d"
name="data"
enabled="true"
visible="true"
abstract_category="false"
category_order="1"/>
<ccm_core.categories object_id="-1400"
unique_id="fa88836d-3f3e-4197-949a-e9c697400bf0"
name="projects_root"
enabled="true"
visible="true"
abstract_category="false"
category_order="1" />
<ccm_core.categories object_id="-1500"
unique_id="88c99d18-3a58-477b-89ea-e0ee6d1e4c56"
name="projects_assets"
enabled="true"
visible="true"
abstract_category="false"
category_order="1" />
<ccm_core.categories object_id="-1600"
unique_id="ec3f0d51-5d9b-440e-bb5a-5fac7da94af1"
name="media"
enabled="true"
visible="true"
abstract_category="false"
category_order="1" />
<ccm_core.categories object_id="-1700"
unique_id="80086df3-d682-42bb-9939-8cc04a300575"
name="data"
enabled="true"
visible="true"
abstract_category="false"
category_order="1" />
<ccm_core.category_titles object_id="-200"
locale="en"
localized_value="info_root" />
<ccm_core.category_titles object_id="-300"
locale="en"
localized_value="info_assets" />
<ccm_core.category_titles object_id="-400"
locale="en"
localized_value="media" />
<ccm_core.category_titles object_id="-500"
locale="en"
localized_value="data" />
<ccm_core.category_titles object_id="-1400"
locale="en"
localized_value="projects_root" />
<ccm_core.category_titles object_id="-1500"
locale="en"
localized_value="projects_assets" />
<ccm_core.category_titles object_id="-1600"
locale="en"
localized_value="media" />
<ccm_core.category_titles object_id="-1700"
locale="en"
localized_value="data" />
<ccm_core.resources object_id="-100"
created="2016-07-15" />
<ccm_core.resources object_id="-1300"
created="2016-07-15" />
<ccm_core.applications object_id="-100"
application_type="org.librecms.contentsection.ContentSection"
primary_url="info" />
<ccm_core.applications object_id="-1300"
application_type="org.librecms.contentsection.ContentSection"
primary_url="projects" />
<ccm_cms.folders object_id="-200"
type="DOCUMENTS_FOLDER" />
<ccm_cms.folders object_id="-300"
type="ASSETS_FOLDER" />
<ccm_cms.folders object_id="-400"
type="ASSETS_FOLDER" />
<ccm_cms.folders object_id="-500"
type="ASSETS_FOLDER" />
<ccm_cms.folders object_id="-1400"
type="DOCUMENTS_FOLDER" />
<ccm_cms.folders object_id="-1500"
type="ASSETS_FOLDER" />
<ccm_cms.folders object_id="-1600"
type="ASSETS_FOLDER" />
<ccm_cms.folders object_id="-1700"
type="ASSETS_FOLDER" />
<ccm_cms.content_sections object_id="-100"
label="info"
root_documents_folder_id="-200"
root_assets_folder_id="-300" />
<ccm_cms.content_sections object_id="-1300"
label="projects"
root_documents_folder_id="-1400"
root_assets_folder_id="-1500" />
<ccm_cms.folder_content_section_map folder_id="-200"
content_section_id="-100" />
<ccm_cms.folder_content_section_map folder_id="-300"
content_section_id="-100" />
<ccm_cms.folder_content_section_map folder_id="-400"
content_section_id="-100" />
<ccm_cms.folder_content_section_map folder_id="-500"
content_section_id="-100" />
<ccm_cms.folder_content_section_map folder_id="-1400"
content_section_id="-1300" />
<ccm_cms.folder_content_section_map folder_id="-1500"
content_section_id="-1300" />
<ccm_cms.folder_content_section_map folder_id="-1600"
content_section_id="-1300" />
<ccm_cms.folder_content_section_map folder_id="-1700"
content_section_id="-1300" />
<ccm_cms.content_types object_id="-1200"
content_item_class="org.librecms.contenttypes.Article"
content_section_id="-100" />
<ccm_cms.content_items object_id="-600"
item_uuid="aed4b402-1180-46c6-b42d-7245f4dca248"
version="DRAFT"
content_type_id="-1200" />
<ccm_cms.assets object_id="-700" />
<ccm_cms.assets object_id="-800" />
<ccm_cms.assets object_id="-900" />
<ccm_cms.assets object_id="-1000" />
<ccm_cms.assets object_id="-1100" />
<ccm_cms.assets_aud object_id="-700"
rev="0" />
<ccm_cms.assets_aud object_id="-800"
rev="0" />
<ccm_cms.assets_aud object_id="-900"
rev="0" />
<ccm_cms.assets_aud object_id="-1000"
rev="0" />
<ccm_cms.assets_aud object_id="-1100"
rev="0" />
<ccm_cms.asset_titles asset_id="-700"
localized_value="header.png"
locale="en" />
<ccm_cms.asset_titles asset_id="-800"
localized_value="the-phb.png"
locale="en" />
<ccm_cms.asset_titles asset_id="-900"
localized_value="services-header.png"
locale="en" />
<ccm_cms.asset_titles asset_id="-1000"
localized_value="product1-datasheet.pdf"
locale="en" />
<ccm_cms.asset_titles asset_id="-1100"
localized_value="catelog.pdf"
locale="en" />
<ccm_cms.binary_assets object_id="-700"
filename="header.png"
mime_type="image/png"
data_size="0" />
<ccm_cms.binary_assets object_id="-800"
filename="the-phb.png"
mime_type="images/png"
data_size="0"/>
<ccm_cms.binary_assets object_id="-900"
filename="services-header.png"
mime_type="images/png"
data_size="0"/>
<ccm_cms.binary_assets object_id="-1000"
filename="product1-datasheet.pdf"
mime_type="application/pdf"
data_size="0"/>
<ccm_cms.binary_assets object_id="-1100"
filename="catalog.pdf"
mime_type="application/pdf"
data_size="0"/>
<ccm_cms.binary_assets_aud object_id="-700"
rev="0"
filename="header.png"
mime_type="image/png"
data_size="0"/>
<ccm_cms.binary_assets_aud object_id="-800"
rev="0"
filename="the-phb.png"
mime_type="images/png"
data_size="0"/>
<ccm_cms.binary_assets_aud object_id="-900"
rev="0"
filename="services-header.png"
mime_type="images/png" data_size="0" />
<ccm_cms.binary_assets_aud object_id="-1000"
rev="0"
filename="product1-datasheet.pdf"
mime_type="application/pdf"
data_size="0" />
<ccm_cms.binary_assets_aud object_id="-1100"
rev="0"
filename="catalog.pdf"
mime_type="application/pdf"
data_size="0" />
<ccm_cms.images object_id="-700"
height="0"
width="0" />
<ccm_cms.images object_id="-800"
height="0"
width="0" />
<ccm_cms.images object_id="-900"
height="0"
width="0" />
<ccm_cms.images_aud object_id="-700"
rev="0"
height="0"
width="0" />
<ccm_cms.images_aud object_id="-800"
rev="0"
height="0"
width="0" />
<ccm_cms.images_aud object_id="-900"
rev="0"
height="0"
width="0" />
<ccm_cms.files object_id="-1000" />
<ccm_cms.files object_id="-1100" />
<ccm_cms.files_aud object_id="-1000"
rev="0" />
<ccm_cms.files_aud object_id="-1100"
rev="0" />
<ccm_cms.asset_titles_aud asset_id="-700"
rev="0"
revtype="0"
localized_value="header.png"
locale="en" />
<ccm_cms.asset_titles_aud asset_id="-800"
rev="0"
revtype="0"
localized_value="the-phb.png"
locale="en" />
<ccm_cms.asset_titles_aud asset_id="-900"
rev="0"
revtype="0"
localized_value="services-header.png"
locale="en" />
<ccm_cms.asset_titles_aud asset_id="-1000"
rev="0"
revtype="0"
localized_value="product1-datasheet.pdf"
locale="en" />
<ccm_cms.asset_titles_aud asset_id="-1100"
rev="0"
revtype="0"
localized_value="catelog.pdf"
locale="en" />
<ccm_cms.content_items_aud object_id="-600"
rev="0"
item_uuid="aed4b402-1180-46c6-b42d-7245f4dca248"
version="DRAFT"
content_type_id="-1200" />
<ccm_cms.content_item_names object_id="-600"
locale="en"
localized_value="article1" />
<ccm_cms.content_item_names_aud rev="0"
object_id="-600"
localized_value="article1"
locale="en"
revtype="0" />
<ccm_cms.content_item_titles object_id="-600"
locale="en"
localized_value="Article 1" />
<ccm_cms.content_item_titles_aud rev="0"
object_id="-600"
localized_value="Article 1"
locale="en"
revtype="0" />
<ccm_cms.content_type_labels object_id="-1200"
locale="en"
localized_value="Article" />
<ccm_cms.articles object_id="-600" />
<ccm_cms.article_texts
object_id="-600"
locale="en"
localized_value="Quisque varius turpis et nibh rhoncus consequat. In sapien metus, fermentum quis." />
<ccm_cms.article_texts_aud
rev="0"
object_id="-600"
localized_value="Quisque varius turpis et nibh rhoncus consequat. In sapien metus, fermentum quis."
locale="en"
revtype="0" />
<ccm_core.categorizations categorization_id="-30100"
category_id="-200"
object_id="-600"
category_order="1"
object_order="1"
category_index="false"
type="folder" />
<ccm_core.categorizations categorization_id="-30200"
category_id="-400"
object_id="-700"
category_order="1"
object_order="2"
category_index="false"
type="folder" />
<ccm_core.categorizations categorization_id="-30300"
category_id="-400"
object_id="-800"
category_order="1"
object_order="3"
category_index="false"
type="folder" />
<ccm_core.categorizations categorization_id="-30400"
category_id="-400"
object_id="-900"
category_order="1"
object_order="4"
category_index="false"
type="folder" />
<ccm_core.categorizations categorization_id="-30500"
category_id="-400"
object_id="-1000"
category_order="1"
object_order="5"
category_index="false"
type="folder" />
<ccm_core.categorizations categorization_id="-30600"
category_id="-400"
object_id="-1100"
category_order="1"
object_order="6"
category_index="false"
type="folder" />
<ccm_cms.attachment_lists list_id="-40100"
name="images"
list_order="1"
uuid="45fd7d2f-7f60-480c-8e06-8763c4558213"
item_id="-600" />
<ccm_cms.attachment_lists list_id="-40200"
name="downloads"
list_order="1"
uuid="b39e4937-9f15-4b1f-9869-5a1107612e94"
item_id="-600" />
<ccm_cms.attachment_lists_aud list_id="-40100"
rev="0"
revtype="0"
name="images"
list_order="1"
uuid="45fd7d2f-7f60-480c-8e06-8763c4558213"
item_id="-600" />
<ccm_cms.attachment_lists_aud list_id="-40200"
rev="0"
revtype="0"
name="images"
list_order="1"
uuid="45fd7d2f-7f60-480c-8e06-8763c4558213"
item_id="-600" />
<ccm_cms.attachments attachment_id="-50100"
sort_key="1"
uuid="eb7abe31-9b87-420b-8e5c-ca740b6e54d8"
asset_id="-700"
attachment_list_id="-40100" />
<ccm_cms.attachments attachment_id="-50200"
sort_key="2"
uuid="53e090c1-d7b8-4e86-881b-75d7d0bb5218"
asset_id="-900"
attachment_list_id="-40100" />
<ccm_cms.attachments attachment_id="-50300"
sort_key="1"
uuid="d1d56133-c139-4ee1-8f37-3a60c34b6dc4"
asset_id="-1000"
attachment_list_id="-40200" />
<ccm_cms.attachments attachment_id="-50400"
sort_key="1"
uuid="2ab364cf-28a9-4c3d-803c-a7742e7d49cd"
asset_id="-1100"
attachment_list_id="-40200" />
<ccm_cms.attachments_aud attachment_id="-50100"
rev="0"
revtype="0"
sort_key="1"
uuid="eb7abe31-9b87-420b-8e5c-ca740b6e54d8"
asset_id="-700"
attachment_list_id="-40100" />
<ccm_cms.attachments_aud attachment_id="-50200"
rev="0"
revtype="0"
sort_key="2"
uuid="53e090c1-d7b8-4e86-881b-75d7d0bb5218"
asset_id="-900"
attachment_list_id="-40100" />
<ccm_cms.attachments_aud attachment_id="-50300"
rev="0"
revtype="0"
sort_key="1"
uuid="d1d56133-c139-4ee1-8f37-3a60c34b6dc4"
asset_id="-1000"
attachment_list_id="-40200" />
<ccm_cms.attachments_aud attachment_id="-50400"
rev="0"
revtype="0"
sort_key="1"
uuid="2ab364cf-28a9-4c3d-803c-a7742e7d49cd"
asset_id="-1100"
attachment_list_id="-40200" />
</dataset>