generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #236 from NASA-PDS/moar-lidvid-classes
Add additional lidvid classes fixes #234
- Loading branch information
Showing
21 changed files
with
286 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
service/src/main/java/gov/nasa/pds/api/registry/RequestConstructionContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
package gov.nasa.pds.api.registry; | ||
|
||
import gov.nasa.pds.api.registry.model.identifiers.PdsProductIdentifier; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
public interface RequestConstructionContext | ||
{ | ||
public List<String> getKeywords(); // must not return null but an empty list | ||
public Map<String, List<String>> getKeyValuePairs(); // must not return null but an empty map | ||
public String getLIDVID(); // must not return null but an empty string | ||
public PdsProductIdentifier getProductIdentifier(); | ||
public String getProductIdentifierString(); // must not return null but an empty string | ||
public String getQueryString(); // must not return null but an empty string | ||
public boolean isTerm(); // if true, then use QueryBuilders.termQuery otherwise use QueryBuilders.matchQuery | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.