Class MSearchDefinition

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_SearchDefinition, I_Persistent, Evaluatee

public class MSearchDefinition extends X_AD_SearchDefinition
Author:
Jan Roessler, jr@schaeffer-ag.de
See Also:
  • Field Details

  • Constructor Details

    • MSearchDefinition

      public MSearchDefinition(Properties ctx, String AD_SearchDefinition_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_SearchDefinition_UU - UUID key
      trxName - Transaction
    • MSearchDefinition

      public MSearchDefinition(Properties ctx, int AD_SearchDefinition_ID, String trxName)
      Parameters:
      ctx -
      AD_SearchDefinition_ID -
      trxName -
    • MSearchDefinition

      public MSearchDefinition(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • getForCode

      public static List<MSearchDefinition> getForCode(String transactionCode) throws SQLException
      Returns all SearchDefinition objects with the given transaction code
      Parameters:
      transactionCode - optional transaction code, null to use default search definition
      Returns:
      search definition list
      Throws:
      SQLException
    • isValidTransactionCode

      public static boolean isValidTransactionCode(String transactionCode) throws SQLException
      Parameters:
      transactionCode -
      Returns:
      true if transaction code exists in at least one active search definition record
      Throws:
      SQLException