Package org.dspace.sort
Class OrderFormat
java.lang.Object
org.dspace.sort.OrderFormat
Class implementing static helpers for anywhere that interacts with the sort columns
(ie. ItemsByAuthor.sort_author, ItemsByTitle.sort_title)
This class maps index 'types' to delegates that implement the sort string creation
Types can be defined or configured using the plugin manager:
plugin.named.org.dspace.sort.OrderFormatDelegate=
org.dspace.sort.OrderFormatTitleMarc21=title
org.dspace.sort.OrderFormatAuthor=author
The following standard types have been defined by default, but can be reconfigured
via the plugin manager:
author = org.dspace.sort.OrderFormatAuthor
title = org.dspace.sort.OrderFormatTitle
text = org.dspace.sort.OrderFormatText
IMPORTANT - If you change any of the orderings, you need to rebuild the browse sort columns
(ie. run 'index-all', or 'dsrun org.dspace.browse.InitializeBrowse')
- Version:
- $Revision$
- Author:
- Graham Triggs
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmakeSortString(String value, String language, String type) Generate a sort string for the given DC metadata
-
Field Details
-
AUTHOR
- See Also:
-
TITLE
- See Also:
-
TEXT
- See Also:
-
DATE
- See Also:
-
AUTHORITY
- See Also:
-
-
Method Details