Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ubo-common/src/main/java/org/mycore/ubo/DozBibCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class DozBibCommands {
private static XPathExpression<Element> SERVFLAG_XPATH = XPATH_FACTORY.compile("//servflag[@type='status']",
Filters.element(), null, MODS_NAMESPACE);

@MCRCommand(syntax = "migrate status to state classification of {0}", help = "Migrates the status servflag to a servstate")
@MCRCommand(syntax = "migrate status to state classification of {0}", help = "Migrates the status servflag to a servstate", order = 1)
public static void migrateState(String objectId) {
if (!MCRObjectID.isValid(objectId)) {
LOGGER.error("'{}' is not a valid MCRObjectID", objectId);
Expand Down Expand Up @@ -115,7 +115,7 @@ public static void migrateState(String objectId) {
}
}

@MCRCommand(syntax = "migrate status to state classification", help = "Migrates the status servflag to a servstate for all objects")
@MCRCommand(syntax = "migrate status to state classification", help = "Migrates the status servflag to a servstate for all objects", order = 2)
public static List<String> migrateState() {
List<String> commandList = new ArrayList<>();
List<String> mcrids = MCRXMLMetadataManager.getInstance().listIDsOfType("mods");
Expand Down