Class ProcessLinkSearchDAO

java.lang.Object
ru.bgcrm.dao.CommonDAO
org.bgerp.dao.process.ProcessLinkSearchDAO

public class ProcessLinkSearchDAO extends CommonDAO
Fluent DAO for selection processes by links.
  • Field Details Link icon

    • form Link icon

      protected final DynActionForm form
      User request context for isolations.
  • Constructor Details Link icon

  • Method Details Link icon

    • withOpen Link icon

      public ProcessLinkSearchDAO withOpen(Boolean value)
      Filter by process closing date.
      Parameters:
      value - null - no filter, or process closing date not null.
      Returns:
    • order Link icon

      public ProcessLinkSearchDAO order(Order value)
      Selection order.
      Parameters:
      value - enum value.
      Returns:
    • withLinkObjectType Link icon

      public ProcessLinkSearchDAO withLinkObjectType(String value)
      Filter by link object type.
      Parameters:
      value -
      Returns:
    • withLinkObjectId Link icon

      public ProcessLinkSearchDAO withLinkObjectId(int value)
      Filter by link object ID.
      Parameters:
      value -
      Returns:
    • search Link icon

      public void search(Pageable<Process> result) throws SQLException
      Queries processes.
      Parameters:
      result - pageable result. throws SQLException
      Throws:
      SQLException
    • withType Link icon

      public org.bgerp.dao.process.SearchDAO withType(Set<Integer> value)
      Filter by process type ID.
      Parameters:
      value - null or empty - no filter, or set with type IDs.
      Returns:
    • withStatus Link icon

      public org.bgerp.dao.process.SearchDAO withStatus(Collection<Integer> value)
      Filter by process status ID.
      Parameters:
      value - null or empty - no filter, or set with status IDs.
      Returns:
    • filterOpen Link icon

      protected void filterOpen(PreparedQuery pq)
    • filterType Link icon

      protected void filterType(PreparedQuery pq)
    • filterStatus Link icon

      protected void filterStatus(PreparedQuery pq)
    • order Link icon

      protected void order(PreparedQuery pq)