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)
Abstract implementations of WingTransformer.
|
void |
addFieldErrors(List form,
List<String> errors)
Determine if there were any special errors and display appropriate
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)
Abstract implementation of WingTransformer.
|
void |
addUpdateFieldForm(Division div,
String schemaName,
int fieldID,
List<String> errors)
Update an existing field by prompting the user for its 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
AbstractWingTransformeraddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerpageMeta - to be added.WingException - whenever.UIException - whenever.public void addBody(Body body) throws WingException, SQLException
AbstractWingTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerbody - to be added.WingException - whenever.UIException - whenever.SQLException - whenever.public 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.WingException - passed through.public 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 updating the field.WingException - passed through.SQLException - passed through.public void addFieldErrors(List form, List<String> errors) throws WingException
form - The form to add errors to.errors - A list of errors.WingException - passed through.Copyright © 2016 DuraSpace. All rights reserved.