Moves filter settings from pz2 bean to search command
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / Pz2Interface.java
index 8cba18a..0c509fc 100644 (file)
@@ -50,47 +50,7 @@ public interface Pz2Interface extends Serializable {
    * \r
    */\r
   public String update (String commands);\r
-  \r
-    \r
-  public void setFilter(String filterExpression);\r
-  \r
-  public String getFilter();\r
-\r
-  \r
-  /**\r
-   * Adds a single target filter to restrict the current query by, \r
-   * then executes the current search.\r
-   * \r
-   * This is a special case of the general setFilter function, \r
-   * allowing to associate a descriptive target name with the \r
-   * filter expression for display in UI. \r
-   * \r
-   * @param targetId pazpar2's ID for the target to limit by\r
-   * @param targetName a descriptive name for the target\r
-   */\r
-  public void setSingleTargetFilter (String targetId, String targetName);\r
-  \r
-  /**\r
-   * Removes the current target filter from the search\r
-   * \r
-   */\r
-  public void removeSingleTargetFilter ();\r
-  \r
-  /**\r
-   * \r
-   * @return The target filter set on the current search command\r
-   */\r
-  public SingleTargetFilter getSingleTargetFilter();\r
-  \r
-  /**\r
-   * Resolves if the current search command has a target filter - to\r
-   * be used by the UI for conditional rendering of target filter info.\r
-   * \r
-   * @return true if the current search command is limited by a target \r
-   * filter\r
-   */\r
-  public boolean hasSingleTargetFilter();\r
-          \r
+            \r
   /**\r
    * Will retrieve or remove the record with the given recid from memory.\r
    * \r
@@ -238,8 +198,5 @@ public interface Pz2Interface extends Serializable {
    */\r
   public List<ErrorInterface> getConfigurationErrors();\r
 \r
-  void setRecordId(String recId);\r
-\r
-  String getRecordId();\r
      \r
 }\r