Author: ssmalamb
Date: 2007-07-03 15:04:14 +0200 (Tue, 03 Jul 2007)
New Revision: 5492

Modified:
   
branches/2.14/search-command-config-spi/src/main/java/no/schibstedsok/searchportal/mode/config/VideoCommandConfig.java
Log:
Added support for changing video language on top in video search

Modified: 
branches/2.14/search-command-config-spi/src/main/java/no/schibstedsok/searchportal/mode/config/VideoCommandConfig.java
===================================================================
--- 
branches/2.14/search-command-config-spi/src/main/java/no/schibstedsok/searchportal/mode/config/VideoCommandConfig.java
      2007-07-03 13:03:51 UTC (rev 5491)
+++ 
branches/2.14/search-command-config-spi/src/main/java/no/schibstedsok/searchportal/mode/config/VideoCommandConfig.java
      2007-07-03 13:04:14 UTC (rev 5492)
@@ -1,6 +1,5 @@
 package no.schibstedsok.searchportal.mode.config;
 
-import org.apache.log4j.Logger;
 import org.w3c.dom.Element;
 
 import no.schibstedsok.searchportal.mode.config.CommandConfig.Controller;
@@ -11,25 +10,8 @@
 @Controller("VideoSearchCommand")
 public class VideoCommandConfig extends AbstractXmlSearchConfiguration {
 
-    private static final Logger LOG = 
Logger.getLogger(VideoCommandConfig.class);
-    private String customerId;
     private String searchType;
-//    /**
-//     * Returns the customer id to use for picsearch queries associated with 
this configuration.
-//     *
-//     * @return The customer id.
-//     */
-//    public String getCustomerId() {
-//        return customerId;
-//    }
-//    /**
-//     * Sets property customerId
-//     *
-//     * @param customerId New value for customerId
-//     */
-//    public void setCustomerId(final String customerId) {
-//        this.customerId = customerId;
-//    }
+    private String videoLanguageOnTop;
 
     public String getSearchType() {
         return searchType;
@@ -39,6 +21,15 @@
         this.searchType = searchType;
     }
 
+    public String getVideoLanguageOnTop() {
+        return videoLanguageOnTop;
+    }
+
+    public void setVideoLanguageOnTop(String videoLanguageOnTop) {
+        this.videoLanguageOnTop = videoLanguageOnTop;
+    }
+
+
     @Override
     public AbstractXmlSearchConfiguration readSearchConfiguration(
             final Element element,
@@ -47,6 +38,7 @@
         super.readSearchConfiguration(element, inherit);
 
         AbstractDocumentFactory.fillBeanProperty(this, inherit, "searchType", 
ParseType.String, element, "notset");
+        AbstractDocumentFactory.fillBeanProperty(this, inherit, 
"videoLanguageOnTop", ParseType.String, element, "english");
 
         return this;
     }

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to