1 package org.collectionspace.services.structureddate;
5 import org.collectionspace.services.common.api.RefName.RefNameInterface;
6 import org.collectionspace.services.common.context.ServiceContext;
7 import org.collectionspace.services.common.document.AbstractMultipartDocumentHandlerImpl;
8 import org.collectionspace.services.common.document.DocumentException;
9 import org.collectionspace.services.common.document.DocumentFilter;
10 import org.collectionspace.services.common.document.DocumentWrapper;
11 import org.collectionspace.services.lifecycle.Lifecycle;
12 import org.collectionspace.services.lifecycle.TransitionDef;
13 import org.nuxeo.ecm.core.api.DocumentModel;
16 * The StructedDate service uses non of these method. It exists only because it is needed to create a proper ServiceContext instance.
18 public class StructureddateDocumentHandler extends AbstractMultipartDocumentHandlerImpl<StructureddateCommon, List<StructureddateCommon>, StructureddateCommon, List<StructureddateCommon>> {
21 public Lifecycle getLifecycle() {
22 throw new RuntimeException("Unimplemented method.");
26 public Lifecycle getLifecycle(String serviceObjectName) {
27 throw new RuntimeException("Unimplemented method.");
31 public void handleWorkflowTransition(ServiceContext ctx, DocumentWrapper<DocumentModel> wrapDoc,
32 TransitionDef transitionDef) throws Exception {
33 throw new RuntimeException("Unimplemented method.");
37 public void handleCreate(DocumentWrapper<StructureddateCommon> wrapDoc) throws Exception {
38 throw new RuntimeException("Unimplemented method.");
42 public void handleUpdate(DocumentWrapper<StructureddateCommon> wrapDoc) throws Exception {
43 throw new RuntimeException("Unimplemented method.");
47 public void handleGet(DocumentWrapper<StructureddateCommon> wrapDoc) throws Exception {
48 throw new RuntimeException("Unimplemented method.");
52 public void handleGetAll(DocumentWrapper<List<StructureddateCommon>> wrapDoc) throws Exception {
53 throw new RuntimeException("Unimplemented method.");
57 public void extractAllParts(DocumentWrapper<StructureddateCommon> wrapDoc) throws Exception {
58 throw new RuntimeException("Unimplemented method.");
62 public void fillAllParts(DocumentWrapper<StructureddateCommon> wrapDoc,
63 org.collectionspace.services.common.document.DocumentHandler.Action action) throws Exception {
64 throw new RuntimeException("Unimplemented method.");
68 public StructureddateCommon extractCommonPart(DocumentWrapper<StructureddateCommon> wrapDoc) throws Exception {
69 throw new RuntimeException("Unimplemented method.");
73 public void fillCommonPart(StructureddateCommon obj, DocumentWrapper<StructureddateCommon> wrapDoc)
75 throw new RuntimeException("Unimplemented method.");
79 public List<StructureddateCommon> extractCommonPartList(DocumentWrapper<List<StructureddateCommon>> wrapDoc)
81 throw new RuntimeException("Unimplemented method.");
85 public List<StructureddateCommon> extractPagingInfo(List<StructureddateCommon> theCommonList,
86 DocumentWrapper<List<StructureddateCommon>> wrapDoc) throws Exception {
87 throw new RuntimeException("Unimplemented method.");
91 public StructureddateCommon getCommonPart() {
92 throw new RuntimeException("Unimplemented method.");
96 public void setCommonPart(StructureddateCommon obj) {
97 throw new RuntimeException("Unimplemented method.");
101 public List<StructureddateCommon> getCommonPartList() {
102 throw new RuntimeException("Unimplemented method.");
106 public void setCommonPartList(List<StructureddateCommon> obj) {
107 throw new RuntimeException("Unimplemented method.");
111 public String getQProperty(String prop) throws DocumentException {
112 throw new RuntimeException("Unimplemented method.");
116 protected String getRefnameDisplayName(DocumentWrapper<StructureddateCommon> docWrapper) {
117 throw new RuntimeException("Unimplemented method.");
121 protected RefNameInterface getRefName(DocumentWrapper<StructureddateCommon> docWrapper, String tenantName,
122 String serviceName) {
123 throw new RuntimeException("Unimplemented method.");
127 public DocumentFilter createDocumentFilter() {
128 throw new RuntimeException("Unimplemented method.");