Class MCRMetadataHistoryCommands
java.lang.Object
org.mycore.datamodel.metadata.history.MCRMetadataHistoryCommands
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildHistory
(String baseId) static void
buildSingleHistory
(String mcrId) static void
clearHistory
(String baseId) static void
clearSingleHistory
(String mcrId)
-
Constructor Details
-
MCRMetadataHistoryCommands
public MCRMetadataHistoryCommands()
-
-
Method Details
-
clearHistory
@MCRCommand(syntax="clear metadata history of base {0}", help="clears metadata history of all objects with base id {0}") public static void clearHistory(String baseId) -
clearSingleHistory
@MCRCommand(syntax="clear metadata history of id {0}", help="clears metadata history of object/derivate with id {0}") public static void clearSingleHistory(String mcrId) -
clearHistory
@MCRCommand(syntax="clear metadata history completely", help="clears metadata history completely") public static List<String> clearHistory() -
buildHistory
@MCRCommand(syntax="build metadata history completely", help="build metadata history completely") public static List<String> buildHistory() -
buildHistory
-
buildSingleHistory
@MCRCommand(syntax="build metadata history of id {0}", help="build metadata history of object/derivate with id {0}") public static void buildSingleHistory(String mcrId)
-