public abstract class SHERPARoMEOProtocol extends java.lang.Object implements ChoiceAuthority
SHERPARoMEOPublisher,
SHERPARoMEOJournalTitle| Constructor and Description |
|---|
SHERPARoMEOProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Choices |
getBestMatch(java.lang.String field,
java.lang.String text,
int collection,
java.lang.String locale)
Get the single "best" match (if any) of a value in the authority
to the given user value.
|
java.lang.String |
getLabel(java.lang.String field,
java.lang.String key,
java.lang.String locale)
Get the canonical user-visible "label" (i.e.
|
abstract Choices |
getMatches(java.lang.String text,
int collection,
int start,
int limit,
java.lang.String locale) |
protected Choices |
query(java.lang.String result,
java.lang.String label,
java.lang.String authority,
org.apache.commons.httpclient.NameValuePair[] args,
int start,
int limit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMatchespublic abstract Choices getMatches(java.lang.String text, int collection, int start, int limit, java.lang.String locale)
public Choices getBestMatch(java.lang.String field, java.lang.String text, int collection, java.lang.String locale)
ChoiceAuthoritygetBestMatch in interface ChoiceAuthorityfield - being matched fortext - user's value to matchcollection - database ID of Collection for context (owner of Item)locale - explicit localization key if available, or nullpublic java.lang.String getLabel(java.lang.String field,
java.lang.String key,
java.lang.String locale)
ChoiceAuthoritygetLabel in interface ChoiceAuthorityfield - being matched forkey - authority key known to this authority.locale - explicit localization key if available, or nullprotected Choices query(java.lang.String result, java.lang.String label, java.lang.String authority, org.apache.commons.httpclient.NameValuePair[] args, int start, int limit)
Copyright © 2018 DuraSpace. All Rights Reserved.