Changeset 2798


Ignore:
Timestamp:
04/11/13 06:38:01 (11 years ago)
Author:
keeloo
Message:

Added the useHandleResolver parameter. While the switch itself is not implemented yet, this parameter will allow for a choice between getting the name of a resource via the handle resolver or via a REST interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo_importer/src/main/java/eu/clarin/cmdi/vlo/config/VloConfig.java

    r2774 r2798  
    165165   
    166166    @Element
     167    private static boolean useHandleResolver = false;
     168   
     169    @Element
    167170    private static boolean printMapping = false;
    168171   
     
    256259    }
    257260   
    258    
    259261    /**
    260262     * Set the value of the maxOnHeap parameter<br><br>
     
    263265     * documentation.
    264266     *
    265      * @return the value
     267     * @param param the value
    266268     */
    267269    public static void setMaxOnHeap (int param){
     
    270272   
    271273    /**
     274     * Get the value of the useHandleResolver parameter<br><br>
     275     *
     276     * For a description of the parameter, refer to the general VLO
     277     * documentation.
     278     *
     279     * @return the value
     280     */
     281    public static boolean getUseHandleResolver (){
     282        return useHandleResolver;
     283    }
     284   
     285    /**
     286     * Set the value of the useHandleResolver parameter<br><br>
     287     *
     288     * For a description of the parameter, refer to the general VLO
     289     * documentation.
     290     *
     291     * @param param the value
     292     */
     293    public static void setUseHandleResolver (boolean param){
     294        useHandleResolver = param;
     295    }
     296   
     297    /**
    272298     * Get the list of dataRoots parameters<br><br>
    273299     *
     
    287313     * documentation.
    288314     *
    289      * @param dataRoots the value
     315     * @param param the value
    290316     */
    291317    public static void setDataRoots(List<DataRoot> param) {
     
    311337     * documentation.
    312338     *
    313      * @return the value
     339     * @param param the value
    314340     */
    315341    public static void setDeleteAllFirst(boolean param) {
     
    335361     * documentation.
    336362     *
    337      * @param printMapping the value
     363     * @param param the value
    338364     */
    339365    public static void setPrintMapping(boolean param) {
     
    359385     * documentation.
    360386     *
    361      * @param vloHomeLink the value
     387     * @param param the value
    362388     */
    363389    public static void setVloHomeLink(String param) {
     
    383409     * documentation.
    384410     *
    385      * @param url the value
     411     * @param param the value
    386412     */
    387413    public static void setSolrUrl(String param) {
     
    407433     * Note: the profileId needs to be expanded.
    408434     *
    409      * @param profileId the value
     435     * @param param the value
    410436     */
    411437    public static void setProfileSchemaUrl(String param) {
     
    431457     * documentation.
    432458     *
    433      * @param componentRegistryRESTURL the value
     459     * @param param the value
    434460     */
    435461    public static void setComponentRegistryRESTURL(String param) {
     
    455481     * documentation.
    456482     *
    457      * @param handleServerUrl the value
     483     * @param param the value
    458484     */
    459485    public static void setHandleServerUrl(String param) {
     
    467493     * documentation.
    468494     *
    469      * @param imdiBrowserUrl the value
     495     * @param param the value
    470496     */
    471497    public static void setIMDIBrowserUrl(String param) {
     
    498524     * @return the value
    499525     */
     526    public static String getFederatedContentSearchUrl() {
     527        return FederatedContentSearchUrl;
     528    }
     529
     530    /**
     531     * Set the value of the FederatedContentSearchUrl parameter<br><br>
     532     *
     533     * For a description of the parameter, refer to the general VLO
     534     * documentation.
     535     *
     536     * @param param the value
     537     */
    500538    public static void setFederatedContentSearchUrl(String param) {
    501539        FederatedContentSearchUrl = param;
     
    503541
    504542    /**
    505      * Set the value of the FederatedContentSearchUrl parameter<br><br>
    506      *
    507      * For a description of the parameter, refer to the general VLO
    508      * documentation.
    509      *
    510      * @param FederatedContentSearchUrl the value
    511      */
    512     public static String getFederatedContentSearchUrl() {
    513         return FederatedContentSearchUrl;
     543     * Get the value of the NationalProjectMapping parameter<br><br>
     544     *
     545     * For a description of the parameter, refer to the general VLO
     546     * documentation.
     547     *
     548     * @return the value
     549     */
     550    public static String getNationalProjectMapping() {
     551        return nationalProjectMapping;
    514552    }
    515553
     
    528566
    529567    /**
    530      * Get the value of the NationalProjectMapping parameter<br><br>
    531      *
    532      * For a description of the parameter, refer to the general VLO
    533      * documentation.
    534      *
    535      * @return the value
    536      */
    537     public static String getNationalProjectMapping() {
    538         return nationalProjectMapping;
    539     }
    540 
    541     /**
    542568     * Get the value of the FacetFields parameter<br><br>
    543569     *
     
    557583     * documentation.
    558584     *
    559      * @param facetFields the value, a list of facet fields
     585     * @param param the value, a list of facet fields
    560586     */
    561587    public static void setFacetFields(String[] param) {
     
    581607     * documentation.
    582608     *
    583      * @param countryComponentUrl the value
     609     * @param param the value
    584610     */
    585611    public static void setCountryComponentUrl(String param) {
     
    605631     * documentation.
    606632     *
    607      * @param language2LetterCodeComponentUrl the value
     633     * @param param the value
    608634     */
    609635    public static void setLanguage2LetterCodeComponentUrl(String param) {
     
    629655     * documentation.
    630656     *
    631      * @param language3LetterCodeComponentUrl the value
     657     * @param param the value
    632658     */
    633659    public static void setLanguage3LetterCodeComponentUrl(String param) {
     
    653679     * documentation.
    654680     *
    655      * @param silToISO639CodesUrl the value
     681     * @param param the value
    656682     */
    657683    public static void setSilToISO639CodesUrl(String param) {
Note: See TracChangeset for help on using the changeset viewer.