|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MacawRetrievalAPI
External software clients such as the SWIFT governance tool or future information portal services will use interact with the repository of Macaw variables via this interface.
For security reasons, the interface methods do not throw exceptions which may accidentally reveal information about the underlying data. Therefore, clients should ensure that when they invoke this API, they anticipate returned results of null or an empty list.
Method Summary | |
---|---|
AliasFilePath |
getAliasFilePath(User user,
java.lang.String cardNumber)
given the name of a logical location for data, returns an AliasFilePath object that can also describe the physical location. |
java.util.ArrayList<AliasFilePath> |
getAliasFilePaths(User user)
A collection of all available alias file paths. |
java.util.ArrayList<AliasFilePath> |
getAliasFilePathsMatchingName(User user,
java.lang.String phrase)
Searches for all alias file paths whose logical location names contain a phrase. |
java.util.ArrayList<AvailabilityState> |
getAvailabilityStates(User user)
|
java.util.ArrayList<Category> |
getCategories(User user)
|
java.util.ArrayList<Category> |
getCategoriesForVariable(User user,
java.lang.String variableName)
|
java.util.ArrayList<CleaningState> |
getCleaningStates(User user)
|
java.util.ArrayList<OntologyTerm> |
getOntologyTerms(User user,
java.lang.String variableName)
return the ontology terms for a given variable |
java.util.ArrayList<SupportingDocument> |
getSupportingDocuments(User user,
java.lang.String variableName)
returns the supporting documents for a given variable |
java.util.ArrayList<User> |
getUnverifiedUsers(User admin)
|
User |
getUserFromEmail(User user,
java.lang.String email)
|
User |
getUserFromID(User user,
java.lang.String userID)
|
java.util.ArrayList<User> |
getUsers(User admin)
|
java.util.ArrayList<ValueLabel> |
getValueLabels(User user,
java.lang.String variableName)
returns the value labels associated with a given variable |
Variable |
getVariable(User user,
java.lang.String variableName)
returns a variable record given a variable name |
java.lang.String[] |
getVariableNames(User user)
returns an alphabetically sorted list of all the variable names in the data repository |
java.util.ArrayList<VariableSummary> |
getVariableSummariesForCategory(User user,
java.lang.String category)
returns summary records of variables that are associated with a given category. |
Method Detail |
---|
java.util.ArrayList<AliasFilePath> getAliasFilePaths(User user)
user
- - registered user who is using the retrieval serviceAliasFilePath getAliasFilePath(User user, java.lang.String cardNumber)
user
- - registered user who is using the retrieval servicecardNumber
- java.util.ArrayList<AliasFilePath> getAliasFilePathsMatchingName(User user, java.lang.String phrase)
user
- - registered user who is using the retrieval servicephrase
- - a search phrase that represents part of the name for a logical location
in an alias file path.java.util.ArrayList<Category> getCategoriesForVariable(User user, java.lang.String variableName)
java.util.ArrayList<Category> getCategories(User user)
java.util.ArrayList<AvailabilityState> getAvailabilityStates(User user)
java.util.ArrayList<CleaningState> getCleaningStates(User user)
Variable getVariable(User user, java.lang.String variableName)
user
- variableName
- java.util.ArrayList<SupportingDocument> getSupportingDocuments(User user, java.lang.String variableName)
user
- variableName
- java.util.ArrayList<OntologyTerm> getOntologyTerms(User user, java.lang.String variableName)
user
- variableName
- java.util.ArrayList<VariableSummary> getVariableSummariesForCategory(User user, java.lang.String category)
user
- category
- java.util.ArrayList<ValueLabel> getValueLabels(User user, java.lang.String variableName)
user
- registered user who is using the retrieval servicevariableName
- the name of a variablejava.lang.String[] getVariableNames(User user)
user
- User getUserFromID(User user, java.lang.String userID)
java.util.ArrayList<User> getUnverifiedUsers(User admin)
java.util.ArrayList<User> getUsers(User admin)
User getUserFromEmail(User user, java.lang.String email)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |