Console Webservice API

DataViewCriteria

Other API in Package

Console

Console System

Internal Console

List of Classes

ConsoleWebServiceController

AnalyticDataViewFilter

Archive

ArchiveManager

AreaChart

Attachment

AudioFile

BarChart

BillingEngine

BillingEvent

Browser

Buffer

BusinessUtil

CacheManager

Cell

CellFilter

Chart

ChartSharedSettings

ChartTool

Chunk

ConsoleManager

ConsolePacket

ConsoleWebServiceRequest

Cube

Data

DataList

DataListFilter

DataReader

DataRecord

DataSet

DataSetRecord

DataSetResult

DataView

DataViewBuilder

DataViewCriteria

DataViewFilter

DataViewList

DataViewRecord

DatasetFile

DateUtil

DisplaySettings

Document

DocumentFile

DownloadResponse

Email

EncryptionUtil

Enterprise

EnterpriseInfo

ExcelFile

File

FileBuffer

Formatter

Fragment

FtpRequest

GeoUtil

GroupConcat

ImageFile

Inspector

JSONBuffer

JSONParser

Job

JobManager

LineChart

LockManager

Logger

MailBox

MailBoxList

MailMessage

MailResponse

Message

MessageManager

Modules

Monitor

PWA

Packet

PacketDataList

PacketDataRecord

PagingInfo

Pal

PalActivationKeyInfo

PalInfo

Payload

PdfFile

PieChart

Profile

ProfileInfo

ProfilePacket

ProfilePalManager

ProfileTxManager

QRUtil

Render

Role

RuntimePal

SSOToken

SafeBox

ScatterPlotChart

ServiceRequest

ServiceResponse

ShellPal

ShellPalManager

SignSettings

SiteBuilder

Slice

SmartDoc

SmartDocManager

Socket

SocketResponse

StorageProvider

StorageProviderDataList

StoredObject

SystemDataView

SystemDataViewFilter

Tag

TagFilter

TagManager

TextEmail

TextMessage

TiffBuilder

TransactionPacket

Tunnel

TunnelResult

UnknownFile

VCardFile

Validator

ValidityCheck

WebServiceResponse

Wizard

XMLReader

ZoneAccess

This class also used in (click to expand):
Method Summary
DataViewCriteria addAnd()

Adds an AND operator to the query.

DataViewCriteria addBetween(String column, String lower, String higher)

Include records where column is between and includes the two constraints. The values will be cast to the correct type. The behavior depends on the type of data being operated on. Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008. To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59. For string comparisons, between 'A' and 'C' would include 'A', 'B', and 'C' but not 'D'. For numbers, the end points are also inclusive: between 1 and 5 will return 1,2,3,4 and 5 but not 6.

DataViewCriteria addBetweenDates(String column, Date lowerDate, Date higherDate)

Include records where column is between the two dates. Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008. To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59.

DataViewCriteria addEqual(String column, String value)

Include records where column equals value. The value will be cast to the correct type.

DataViewCriteria addGreaterThan(String column, String value)

Include records where column is greater than the value. The values will be cast to the correct type.

DataViewCriteria addGreaterThanDate(String column, Date date)

Include records where column is greater than the date.

DataViewCriteria addGreaterThanEqualTo(String column, String value)

Include records where column is greater than or equal to the value. The values will be cast to the correct type.

DataViewCriteria addGreaterThanEqualToDate(String column, Date date)

Include records where column is greater than or equal to the date.

DataViewCriteria addIn(String columnName, String[] arrayOfIds)

Adds an 'IN' clause to the query

DataViewCriteria addIsNull(String column)

Include records where column specified is null

DataViewCriteria addLessThan(String column, String value)

Include records where column is less than the value. The values will be cast to the correct type.

DataViewCriteria addLessThanDate(String column, Date date)

Include records where column is less than the date.

DataViewCriteria addLessThanEqualTo(String column, String value)

Include records where column is less than or equal to the value. The values will be cast to the correct type.

DataViewCriteria addLessThanEqualToDate(String column, Date date)

Include records where column is less than or equal to the date.

DataViewCriteria addLike(String column, String value)

Include records where column is like the value. The value will be cast to the correct type.

DataViewCriteria addNotEqual(String column, String value)

Include records where column is not equal to the value. The value will be cast to the correct type.

DataViewCriteria addNotIn(String columnName, String[] arrayOfIds)

Adds an 'NOT IN' clause to the query

DataViewCriteria addNotLike(String column, String value)

Include records where column is not like the value. The value will be cast to the correct type.

DataViewCriteria addNotNull(String column)

Include records where column specified is not null

DataViewCriteria addOr()

Adds an OR operator to the query.

DataViewCriteria beginGroup()

Begins a group of statements.

  enablePaging()
⚠Deprecated since 01-03-2014. Use enablePaging(pageNumber,countLimit)

Enables paging. This will force inquiry into the total number of records that match the filter. See DataViewList.getPagingInfo().

DataViewCriteria enablePaging(int pageNumber, int countLimit)

Sets firstResult based on the page size and page number (if greater than 0) and enables paging (if countLimit greater than 0). This will force inquiry into the total number of records that match the filter with a limit controlled by the activation key. See DataViewList.getPagingInfo().

DataViewCriteria endGroup()

Ends a group of statements.

DataViewCriteria filterByPage(int page)
⚠Deprecated since 01-03-2014. Use enablePaging(page,countLimit)

Sets firstResult based on the page size and page number. See also enablePaging

DataViewCriteria filterId(String value)
⚠Deprecated since 10-25-2011. Use record ID column as regular, i.e. addEqual(idColumn, idValue)

Selects record with given ID

DataViewCriteria filterPal(String palId)
⚠Deprecated since 10-25-2011. Use pal ID column as regular, i.e. addEqual(idColumn, idValue)

Select records with the given Pal ID.

DataViewCriteria filterTransaction(String txId)
⚠Deprecated since 10-25-2011. Use transaction ID column as regular, i.e. addEqual(idColumn, idValue)

Select records with the given Transaction ID.

  setDateFormat(String pattern)

Sets the date pattern for date strings used in criteria.

DataViewCriteria setFirstRecord(int firstRecord)

Set the first record to return.

DataViewCriteria setMaxPageSize()

Set the page size to the maximum allowed by the key.

DataViewCriteria setPageSize(int size)

Set the page size (max 1000 or limit controlled by the activation key, min 1, default 100). See also setMaxPageSize.

DataViewCriteria setQueryTimeout(int timeout)

Sets the timeout for the query. By default this is 10 seconds and the maximum is defined by the cloud configuration.

DataViewCriteria sortAscending(String column)

Sorts the results in ascending order on the given column.

DataViewCriteria sortDescending(String column)

Sorts the results in descending order on the given column.

String toString()

Returns a description of this object.

Method Detail


DataViewCriteria addAnd()

Adds an AND operator to the query.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addBetween(String column, String lower, String higher)

Include records where column is between and includes the two constraints. The values will be cast to the correct type. The behavior depends on the type of data being operated on. Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008. To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59. For string comparisons, between 'A' and 'C' would include 'A', 'B', and 'C' but not 'D'. For numbers, the end points are also inclusive: between 1 and 5 will return 1,2,3,4 and 5 but not 6.

Parameters:

  • String   column Required parameter.
  • String   lower Required parameter.
  • String   higher Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addBetweenDates(String column, Date lowerDate, Date higherDate)

Include records where column is between the two dates. Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008. To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59.

Parameters:

  • String   column Required parameter.
  • Date   lowerDate Required parameter.
  • Date   higherDate Required parameter.

Returns:  DataViewCriteria

Since: 06-09-2011

top

DataViewCriteria addEqual(String column, String value)

Include records where column equals value. The value will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addGreaterThan(String column, String value)

Include records where column is greater than the value. The values will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addGreaterThanDate(String column, Date date)

Include records where column is greater than the date.

Parameters:

  • String   column Required parameter.
  • Date   date Required parameter.

Returns:  DataViewCriteria

Since: 06-09-2011

top

DataViewCriteria addGreaterThanEqualTo(String column, String value)

Include records where column is greater than or equal to the value. The values will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addGreaterThanEqualToDate(String column, Date date)

Include records where column is greater than or equal to the date.

Parameters:

  • String   column Required parameter.
  • Date   date Required parameter.

Returns:  DataViewCriteria

Since: 06-09-2011

top

DataViewCriteria addIn(String columnName, String[] arrayOfIds)

Adds an 'IN' clause to the query

Parameters:

  • String   columnName Required parameter.
  • String[]   arrayOfIds Required parameter.

Returns:  DataViewCriteria

Since: 07-05-2023

top

DataViewCriteria addIsNull(String column)

Include records where column specified is null

Parameters:

  • String   column Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addLessThan(String column, String value)

Include records where column is less than the value. The values will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addLessThanDate(String column, Date date)

Include records where column is less than the date.

Parameters:

  • String   column Required parameter.
  • Date   date Required parameter.

Returns:  DataViewCriteria

Since: 06-09-2011

top

DataViewCriteria addLessThanEqualTo(String column, String value)

Include records where column is less than or equal to the value. The values will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addLessThanEqualToDate(String column, Date date)

Include records where column is less than or equal to the date.

Parameters:

  • String   column Required parameter.
  • Date   date Required parameter.

Returns:  DataViewCriteria

Since: 06-09-2011

top

DataViewCriteria addLike(String column, String value)

Include records where column is like the value. The value will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addNotEqual(String column, String value)

Include records where column is not equal to the value. The value will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addNotIn(String columnName, String[] arrayOfIds)

Adds an 'NOT IN' clause to the query

Parameters:

  • String   columnName Required parameter.
  • String[]   arrayOfIds Required parameter.

Returns:  DataViewCriteria

Since: 07-05-2023

top

DataViewCriteria addNotLike(String column, String value)

Include records where column is not like the value. The value will be cast to the correct type.

Parameters:

  • String   column Required parameter.
  • String   value Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addNotNull(String column)

Include records where column specified is not null

Parameters:

  • String   column Required parameter.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria addOr()

Adds an OR operator to the query.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria beginGroup()

Begins a group of statements.

Returns:  DataViewCriteria

Since: 10-11-2010

top

enablePaging()

Enables paging. This will force inquiry into the total number of records that match the filter. See DataViewList.getPagingInfo().

Since: 12-21-2010

This method has been deprecated since 01-03-2014. Use enablePaging(pageNumber,countLimit)

top

DataViewCriteria enablePaging(int pageNumber, int countLimit)

Sets firstResult based on the page size and page number (if greater than 0) and enables paging (if countLimit greater than 0). This will force inquiry into the total number of records that match the filter with a limit controlled by the activation key. See DataViewList.getPagingInfo().

Parameters:

  • int   pageNumber Required parameter.
  • int   countLimit Required parameter.

Returns:  DataViewCriteria

Since: 01-03-2014

top

DataViewCriteria endGroup()

Ends a group of statements.

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria filterByPage(int page)

Sets firstResult based on the page size and page number. See also enablePaging

Parameters:

  • int   page

Returns:  DataViewCriteria

Since: 05-06-2009

This method has been deprecated since 01-03-2014. Use enablePaging(page,countLimit)

top

DataViewCriteria filterId(String value)

Selects record with given ID

Parameters:

  • String   value

Returns:  DataViewCriteria

Since: 10-11-2010

This method has been deprecated since 10-25-2011. Use record ID column as regular, i.e. addEqual(idColumn, idValue)

top

DataViewCriteria filterPal(String palId)

Select records with the given Pal ID.

Parameters:

  • String   palId

Returns:  DataViewCriteria

Since: 10-11-2010

This method has been deprecated since 10-25-2011. Use pal ID column as regular, i.e. addEqual(idColumn, idValue)

top

DataViewCriteria filterTransaction(String txId)

Select records with the given Transaction ID.

Parameters:

  • String   txId

Returns:  DataViewCriteria

Since: 10-11-2010

This method has been deprecated since 10-25-2011. Use transaction ID column as regular, i.e. addEqual(idColumn, idValue)

top

setDateFormat(String pattern)

Sets the date pattern for date strings used in criteria.

Parameters:

  • String   pattern

Since: 06-09-2011

top

DataViewCriteria setFirstRecord(int firstRecord)

Set the first record to return.

Parameters:

  • int   firstRecord

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria setMaxPageSize()

Set the page size to the maximum allowed by the key.

Returns:  DataViewCriteria

Since: 05-30-2013

top

DataViewCriteria setPageSize(int size)

Set the page size (max 1000 or limit controlled by the activation key, min 1, default 100). See also setMaxPageSize.

Parameters:

  • int   size

Returns:  DataViewCriteria

Since: 10-11-2010

top

DataViewCriteria setQueryTimeout(int timeout)

Sets the timeout for the query. By default this is 10 seconds and the maximum is defined by the cloud configuration.

Parameters:

  • int   timeout Required parameter.

Returns:  DataViewCriteria

Since: 03-13-2018

top

DataViewCriteria sortAscending(String column)

Sorts the results in ascending order on the given column.

Parameters:

  • String   column  - Column name. May be prefixed with dataset table alias. Required parameter.

Returns:  DataViewCriteria

Since: 10-19-2010

top

DataViewCriteria sortDescending(String column)

Sorts the results in descending order on the given column.

Parameters:

  • String   column  - Column name. May be prefixed with dataset table alias. Required parameter.

Returns:  DataViewCriteria

Since: 10-19-2010

top

String toString()

Returns a description of this object.

Returns:  String

Since: 10-11-2010

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: May 01, 2024 05:15 AM