public class EditMetadataSchema extends AbstractDSpaceTransformer
| Modifier and Type | Field and Description |
|---|---|
protected MetadataFieldService |
metadataFieldService |
protected MetadataSchemaService |
metadataSchemaService |
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
EditMetadataSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
What to add at the end of the body
|
void |
addFieldErrors(List form,
List<String> errors)
Determine if there were any special errors and display approparte
text.
|
void |
addNewFieldForm(Division div,
String schemaName,
List<String> errors)
Add a form prompting the user to add a new field to the this schema.
|
void |
addPageMeta(PageMeta pageMeta)
What page metadata to add to the document
|
void |
addUpdateFieldForm(Division div,
String schemaName,
int fieldID,
List<String> errors)
Update an existing field by promting the user for it's values.
|
addOptions, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleException, recycle, setupcreateWingDocument, endDocument, endElement, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startDocument, startElement, startPrefixMappingcharacters, comment, endCDATA, endDTD, endEntity, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntitysetConsumer, setContentHandler, setLexicalHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntitycomment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntityprotected MetadataFieldService metadataFieldService
protected MetadataSchemaService metadataSchemaService
public void addPageMeta(PageMeta pageMeta) throws WingException
AbstractDSpaceTransformeraddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerWingExceptionpublic void addBody(Body body) throws WingException, SQLException
AbstractDSpaceTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerWingExceptionSQLExceptionpublic void addNewFieldForm(Division div, String schemaName, List<String> errors) throws WingException
div - The division to add the form too.schemaName - The schemaName currently being operated on.errors - A list of errors from previous attempts at adding new fields.WingExceptionpublic void addUpdateFieldForm(Division div, String schemaName, int fieldID, List<String> errors) throws WingException, SQLException
div - The division to add the form too.schemaName - The schemaName currently being operated on.fieldID - The id of the field being updated.errors - A list of errors from previous attempts at updaating the field.WingExceptionSQLExceptionpublic void addFieldErrors(List form, List<String> errors) throws WingException
form - The form to add errors to.errors - A list of errors.WingExceptionCopyright © 2016 DuraSpace. All Rights Reserved.