public class AddMetadataAction extends UpdateMetadataAction
| Modifier and Type | Field and Description |
|---|---|
protected MetadataFieldService |
metadataFieldService |
protected MetadataSchemaService |
metadataSchemaService |
targetFieldsitemService| Constructor and Description |
|---|
AddMetadataAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Adds metadata specified in the source archive
|
addTargetField, addTargetFields, addTargetFields, getTargetFieldsprotected MetadataSchemaService metadataSchemaService
protected MetadataFieldService metadataFieldService
public void execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) throws AuthorizeException, SQLException
context - DSpace Contextitarch - item archiveisTest - test flagsuppressUndo - undo flagAuthorizeException - if authorization errorSQLException - if database errorCopyright © 2016 DuraSpace. All rights reserved.