1 package org.kuali.ole.docstore.repository;
2
3 import java.io.File;
4 import java.io.FileOutputStream;
5 import java.io.IOException;
6 import java.util.Calendar;
7
8 import org.apache.commons.io.FileUtils;
9 import org.kuali.ole.RepositoryManager;
10 import org.kuali.ole.docstore.DocStoreConstants;
11 import org.kuali.ole.docstore.model.enums.DocFormat;
12 import org.kuali.ole.docstore.model.enums.DocType;
13 import org.kuali.ole.docstore.model.xmlpojo.ingest.AdditionalAttributes;
14 import org.kuali.ole.docstore.model.xmlpojo.ingest.RequestDocument;
15 import org.kuali.ole.pojo.OleException;
16 import org.omg.CORBA.Request;
17 import org.slf4j.Logger;
18 import org.slf4j.LoggerFactory;
19
20 import javax.jcr.Node;
21 import javax.jcr.RepositoryException;
22 import javax.jcr.Session;
23
24
25
26
27
28 public class WorkLicenseNodeManager
29 extends CustomNodeManager
30 implements NodeManager {
31 private static WorkLicenseNodeManager ourInstance = new WorkLicenseNodeManager();
32 private static Logger LOG = LoggerFactory.getLogger(WorkLicenseNodeManager.class);
33
34 public static WorkLicenseNodeManager getInstance() {
35 return ourInstance;
36 }
37
38 private WorkLicenseNodeManager() {
39 super();
40 numLevels = 2;
41 }
42
43 public String getParentNodePath() {
44 return "/work/license";
45 }
46
47 }