--- /dev/null
+/** \r
+ * NuxeoImageUtils.java\r
+ *\r
+ * {Purpose of This Class}\r
+ *\r
+ * {Other Notes Relating to This Class (Optional)}\r
+ *\r
+ * $LastChangedBy: $\r
+ * $LastChangedRevision: $\r
+ * $LastChangedDate: $\r
+ *\r
+ * This document is a part of the source code and related artifacts\r
+ * for CollectionSpace, an open source collections management system\r
+ * for museums and related institutions:\r
+ *\r
+ * http://www.collectionspace.org\r
+ * http://wiki.collectionspace.org\r
+ *\r
+ * Copyright © 2009 {Contributing Institution}\r
+ *\r
+ * Licensed under the Educational Community License (ECL), Version 2.0.\r
+ * You may not use this file except in compliance with this License.\r
+ *\r
+ * You may obtain a copy of the ECL 2.0 License at\r
+ * https://source.collectionspace.org/collection-space/LICENSE.txt\r
+ */\r
+package org.collectionspace.services.common.imaging.nuxeo;\r
+\r
+import java.io.File;\r
+import java.io.Serializable;\r
+import java.util.ArrayList;\r
+import java.util.HashMap;\r
+import java.util.List;\r
+import java.util.Map;\r
+\r
+import org.nuxeo.ecm.core.api.repository.RepositoryInstance;\r
+import org.nuxeo.common.utils.FileUtils;\r
+import org.nuxeo.ecm.core.api.Blob;\r
+import org.nuxeo.ecm.core.api.ClientException;\r
+import org.nuxeo.ecm.core.api.DocumentModel;\r
+import org.nuxeo.ecm.core.api.blobholder.BlobHolder;\r
+import org.nuxeo.ecm.core.api.blobholder.BlobHolderAdapterService;\r
+import org.nuxeo.ecm.core.api.impl.DocumentModelImpl;\r
+import org.nuxeo.ecm.core.api.impl.blob.FileBlob;\r
+//import org.nuxeo.ecm.core.repository.jcr.testing.RepositoryOSGITestCase;\r
+import org.nuxeo.ecm.platform.picture.api.adapters.PictureBlobHolder;\r
+import org.nuxeo.runtime.api.Framework;\r
+\r
+import org.collectionspace.services.common.ServiceMain;\r
+\r
+public class NuxeoImageUtils {\r
+ NuxeoImageUtils() {\r
+ //empty constructor\r
+ }\r
+ \r
+ /**\r
+ * Creates the picture.\r
+ */\r
+ static public void createPicture() {\r
+ RepositoryInstance nuxeoSession = null;\r
+ \r
+ try {\r
+ nuxeoSession = ServiceMain.getInstance().getNuxeoConnector().getRepositorySession();\r
+ //nuxeoSession.\r
+ } catch (Exception e) {\r
+ e.printStackTrace();\r
+ }\r
+ }\r
+}\r