1 package org.kuali.ole.describe.controller;
2
3 import org.kuali.ole.describe.form.EditorForm;
4 import org.kuali.ole.docstore.model.xmlpojo.ingest.Request;
5
6 import javax.servlet.http.HttpServletRequest;
7
8
9
10
11
12 public interface DocumentEditor {
13
14 public EditorForm loadDocument(EditorForm editorForm);
15
16 public EditorForm saveDocument(EditorForm editorForm);
17
18 public EditorForm deleteDocument(EditorForm editorForm);
19
20 public EditorForm createNewRecord(EditorForm editorForm, Request request);
21
22 public EditorForm editNewRecord(EditorForm editorForm, Request request);
23
24 public String saveDocument(Request req, EditorForm form);
25
26 public EditorForm addORDeleteFields(EditorForm editorForm, HttpServletRequest request);
27
28 public EditorForm deleteVerify(EditorForm editorForm) throws Exception;
29
30 public EditorForm delete(EditorForm editorForm) throws Exception;
31
32 public EditorForm addORRemoveExtentOfOwnership(EditorForm editorForm, HttpServletRequest request);
33
34 public EditorForm addORRemoveAccessInformationAndHoldingsNotes(EditorForm editorForm, HttpServletRequest request);
35
36 public EditorForm addORRemoveItemNote(EditorForm editorForm, HttpServletRequest request);
37
38 public EditorForm showBibs(EditorForm editorForm);
39
40 public EditorForm copy(EditorForm editorForm);
41
42 Boolean isValidUpdate(EditorForm editorForm);
43
44 }