|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.aspect.administrative.FlowRegistryUtils
public class FlowRegistryUtils
| Constructor Summary | |
|---|---|
FlowRegistryUtils()
|
|
| Method Summary | |
|---|---|
static FlowResult |
processAddMetadataField(Context context,
int schemaID,
java.lang.String element,
java.lang.String qualifier,
java.lang.String note)
Add a new metadata field. |
static FlowResult |
processAddMetadataSchema(Context context,
java.lang.String namespace,
java.lang.String name)
Add a new metadata schema. |
static FlowResult |
processDeleteBitstreamFormats(Context context,
java.lang.String[] formatIDs)
Delete the specified bitstream formats. |
static FlowResult |
processDeleteMetadataField(Context context,
java.lang.String[] fieldIDs)
Delete the specified metadata fields. |
static FlowResult |
processDeleteMetadataSchemas(Context context,
java.lang.String[] schemaIDs)
Delete the given schemas. |
static FlowResult |
processEditBitstreamFormat(Context context,
int formatID,
org.apache.cocoon.environment.Request request)
Edit a bitstream format. |
static FlowResult |
processEditMetadataField(Context context,
int schemaID,
int fieldID,
java.lang.String element,
java.lang.String qualifier,
java.lang.String note)
Edit a metadata field. |
static FlowResult |
processMoveMetadataField(Context context,
int schemaID,
java.lang.String[] fieldIDs)
Move the specified metadata fields to the target schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowRegistryUtils()
| Method Detail |
|---|
public static FlowResult processAddMetadataSchema(Context context,
java.lang.String namespace,
java.lang.String name)
throws java.sql.SQLException,
AuthorizeException,
NonUniqueMetadataException,
UIException
context - The DSpace contextnamespace - The new schema's namespacename - The new schema's name.
java.sql.SQLException
AuthorizeException
NonUniqueMetadataException
UIException
public static FlowResult processDeleteMetadataSchemas(Context context,
java.lang.String[] schemaIDs)
throws java.sql.SQLException,
AuthorizeException,
NonUniqueMetadataException
context - The DSpace contextschemaIDs - A list of schema IDs to be deleted.
java.sql.SQLException
AuthorizeException
NonUniqueMetadataException
public static FlowResult processAddMetadataField(Context context,
int schemaID,
java.lang.String element,
java.lang.String qualifier,
java.lang.String note)
throws java.io.IOException,
AuthorizeException,
java.sql.SQLException,
UIException
context - The DSpace contextschemaID - The id of the schema where this new field should be added.element - The field's element.qualifier - The field's qualifier.note - A scope not about the field.
java.io.IOException
AuthorizeException
java.sql.SQLException
UIException
public static FlowResult processEditMetadataField(Context context,
int schemaID,
int fieldID,
java.lang.String element,
java.lang.String qualifier,
java.lang.String note)
throws java.io.IOException,
AuthorizeException,
java.sql.SQLException,
UIException
context - The DSpace context.schemaID - The ID of the schema for this field.fieldID - The id of this field.element - A new element valuequalifier - A new qualifier valuenote - A new note value.
java.io.IOException
AuthorizeException
java.sql.SQLException
UIException
public static FlowResult processMoveMetadataField(Context context,
int schemaID,
java.lang.String[] fieldIDs)
throws java.lang.NumberFormatException,
java.sql.SQLException,
AuthorizeException,
NonUniqueMetadataException,
java.io.IOException
context - The DSpace contextschemaID - The target schema IDfieldIDs - The fields to be moved.
java.lang.NumberFormatException
java.sql.SQLException
AuthorizeException
NonUniqueMetadataException
java.io.IOException
public static FlowResult processDeleteMetadataField(Context context,
java.lang.String[] fieldIDs)
throws java.lang.NumberFormatException,
java.sql.SQLException,
AuthorizeException
context - The DSpace contextfieldIDs - The fields to be deleted.
java.lang.NumberFormatException
java.sql.SQLException
AuthorizeException
public static FlowResult processEditBitstreamFormat(Context context,
int formatID,
org.apache.cocoon.environment.Request request)
throws java.sql.SQLException,
AuthorizeException
context - The dspace contextformatID - The id of the format being updated.request - The request object, for all the field entries.
java.sql.SQLException
AuthorizeException
public static FlowResult processDeleteBitstreamFormats(Context context,
java.lang.String[] formatIDs)
throws java.lang.NumberFormatException,
java.sql.SQLException,
AuthorizeException
context - The DSpace contextformatIDs - The formats-to-be-deleted.
java.lang.NumberFormatException
java.sql.SQLException
AuthorizeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||