Class DestinationsByUser

java.lang.Object
ecmwf.web.dao.ModelSearchBase
ecmwf.ecpds.master.plugin.http.home.transfer.searches.DestinationsByUser
All Implemented Interfaces:
ecmwf.web.model.ModelSearch, Cloneable

public class DestinationsByUser extends ecmwf.web.dao.ModelSearchBase
The Class DestinationsByUser.
  • Field Summary

    Fields inherited from interface ecmwf.web.model.ModelSearch

    OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    DestinationsByUser(ecmwf.web.model.users.User user, String search, String fromToAliases, boolean asc, String status, String type, String filter)
    Instantiates a new destinations by user (legacy — loads all rows, sorts by name).
    DestinationsByUser(ecmwf.web.model.users.User user, String search, String fromToAliases, int orderColumn, boolean ascending, int start, int length, String status, String type, String filter)
    Instantiates a new destinations by user with full pagination and sort control.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the filter.
    Gets the from to aliases.
    int
    Gets the length.
    int
    Gets the order column index.
    Gets the search.
    int
    Gets the start offset.
    Gets the status.
    Gets the type.
    ecmwf.web.model.users.User
    Gets the user.
    boolean
    Gets the ascending sort flag.

    Methods inherited from class ecmwf.web.dao.ModelSearchBase

    addAndQuery, addOrQuery, addSortItem, addSortItems, cacheable, getBase, getCopy, getKey, getOffset, getQuery, getScope, getSizeLimit, getSortItems, partialMatches, resetSortItems, setBase, setCacheable, setOffset, setPartialMatches, setQuery, setScope, setSizeLimit, setSortItemsFromStrings, setStoreSearchResults, storeSearchResults

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DestinationsByUser

      public DestinationsByUser(ecmwf.web.model.users.User user, String search, String fromToAliases, boolean asc, String status, String type, String filter)
      Instantiates a new destinations by user (legacy — loads all rows, sorts by name).
      Parameters:
      user - the user
      search - the search
      fromToAliases - the from to aliases
      asc - the ascending sort direction for name column
      status - the status
      type - the type
      filter - the filter
    • DestinationsByUser

      public DestinationsByUser(ecmwf.web.model.users.User user, String search, String fromToAliases, int orderColumn, boolean ascending, int start, int length, String status, String type, String filter)
      Instantiates a new destinations by user with full pagination and sort control.
      Parameters:
      user - the user
      search - the search
      fromToAliases - the from to aliases
      orderColumn - the DataTables column index to sort by
      ascending - true for ascending sort
      start - the zero-based row offset (-1 for no limit)
      length - the maximum number of rows (-1 for no limit)
      status - the status
      type - the type
      filter - the filter
  • Method Details

    • getSearch

      public String getSearch()
      Gets the search.
      Returns:
      the search
    • getFromToAliases

      public String getFromToAliases()
      Gets the from to aliases.
      Returns:
      the from to aliases
    • getStatus

      public String getStatus()
      Gets the status.
      Returns:
      the status
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • getFilter

      public String getFilter()
      Gets the filter.
      Returns:
      the filter
    • getOrderColumn

      public int getOrderColumn()
      Gets the order column index.
      Returns:
      the DataTables column index to sort by
    • isAscending

      public boolean isAscending()
      Gets the ascending sort flag.
      Returns:
      true for ascending sort
    • getStart

      public int getStart()
      Gets the start offset.
      Returns:
      the zero-based row offset (-1 means no limit)
    • getLength

      public int getLength()
      Gets the length.
      Returns:
      the maximum number of rows (-1 means no limit)
    • getUser

      public ecmwf.web.model.users.User getUser()
      Gets the user.
      Returns:
      the user