Uses of Record Class
org.synchronoss.cpo.core.CpoQuery

Packages that use CpoQuery
Package
Description
 
  • Uses of CpoQuery in org.synchronoss.cpo.core

    Methods in org.synchronoss.cpo.core that return CpoQuery
    Modifier and Type
    Method
    Description
    static CpoQuery
    CpoQuery.defaultGroup()
    A query against the default (unnamed) function group.
    static CpoQuery
    CpoQuery.group(String groupName)
    A query against the named function group.
    CpoQuery.nativeExpression(CpoNativeFunction nativeExpression)
    Adds a native expression that augments the expression stored in the metadata.
    CpoQuery.nativeExpressions(Collection<CpoNativeFunction> nativeExpressions)
    Adds a collection of native expressions.
    CpoQuery.orderBy(CpoOrderBy orderBy)
    Adds an ordering.
    CpoQuery.orderBys(Collection<CpoOrderBy> orderBys)
    Adds a collection of orderings.
    CpoQuery.where(CpoWhere where)
    Adds a where constraint.
    CpoQuery.wheres(Collection<CpoWhere> wheres)
    Adds a collection of where constraints.
    Methods in org.synchronoss.cpo.core with parameters of type CpoQuery
    Modifier and Type
    Method
    Description
    <T> long
    CpoAdapter.deleteBean(CpoQuery query, T bean)
    Removes the bean from the datasource using the query's DELETE function group.
    <T> long
    CpoBaseAdapter.deleteBean(CpoQuery query, T bean)
     
    <T> long
    CpoAdapter.deleteBeans(CpoQuery query, List<T> beans)
    Removes the beans from the datasource using the query's DELETE function group, batching where the datasource supports it.
    <T> long
    CpoBaseAdapter.deleteBeans(CpoQuery query, List<T> beans)
     
    <T, C> T
    CpoAdapter.executeBean(CpoQuery query, C criteria, T result)
    Executes the EXECUTE function group identified by the query — typically a stored procedure — using the criteria bean to populate the IN arguments and the result bean type for the OUT arguments.
    <T, C> T
    CpoBaseAdapter.executeBean(CpoQuery query, C criteria, T result)
     
    <T> long
    CpoAdapter.existsBean(CpoQuery query, T bean)
    Checks whether beans matching the given bean exist in the datasource, using the query's EXIST function group and where constraints.
    abstract <T> long
    CpoBaseAdapter.existsBean(CpoQuery query, T bean)
    The CpoAdapter will check to see if this object exists in the datasource.
    <T> long
    CpoAdapter.insertBean(CpoQuery query, T bean)
    Creates the bean in the datasource using the query's CREATE function group.
    <T> long
    CpoBaseAdapter.insertBean(CpoQuery query, T bean)
     
    <T> long
    CpoAdapter.insertBeans(CpoQuery query, List<T> beans)
    Creates the beans in the datasource using the query's CREATE function group, batching where the datasource supports it.
    <T> long
    CpoBaseAdapter.insertBeans(CpoQuery query, List<T> beans)
     
    <T, C> T
    CpoAdapter.retrieveBean(CpoQuery query, C criteria, T result)
    Retrieves the first bean produced by the query's RETRIEVE function group, using separate criteria and result beans.
    <T> T
    CpoAdapter.retrieveBean(CpoQuery query, T bean)
    Retrieves a single bean from the datasource using the query's RETRIEVE function group, with the given bean supplying the search criteria and receiving the result.
    <T, C> T
    CpoBaseAdapter.retrieveBean(CpoQuery query, C criteria, T result)
     
    <T> T
    CpoBaseAdapter.retrieveBean(CpoQuery query, T bean)
     
    default <C> Stream<C>
    CpoAdapter.retrieveBeans(CpoQuery query, C criteria)
    Retrieves beans from the datasource using the query's LIST function group; the criteria bean type is also the result type.
    <T, C> Stream<T>
    CpoAdapter.retrieveBeans(CpoQuery query, C criteria, T result)
    Retrieves beans from the datasource using the query's LIST function group, with separate criteria and result beans.
    <T, C> Stream<T>
    CpoBaseAdapter.retrieveBeans(CpoQuery query, C criteria, T result)
     
    <T> long
    CpoAdapter.updateBean(CpoQuery query, T bean)
    Updates the bean in the datasource using the query's UPDATE function group.
    <T> long
    CpoBaseAdapter.updateBean(CpoQuery query, T bean)
     
    <T> long
    CpoAdapter.updateBeans(CpoQuery query, List<T> beans)
    Updates the beans in the datasource using the query's UPDATE function group, batching where the datasource supports it.
    <T> long
    CpoBaseAdapter.updateBeans(CpoQuery query, List<T> beans)
     
    <T> long
    CpoAdapter.upsertBean(CpoQuery query, T bean)
    Inserts or updates the bean using the query's UPSERT function group: the EXIST function decides whether the CREATE or UPDATE function is executed.
    <T> long
    CpoBaseAdapter.upsertBean(CpoQuery query, T bean)
     
    <T> long
    CpoAdapter.upsertBeans(CpoQuery query, List<T> beans)
    Inserts or updates the beans using the query's UPSERT function group: for each bean the EXIST function decides whether the CREATE or UPDATE function is executed.
    <T> long
    CpoBaseAdapter.upsertBeans(CpoQuery query, List<T> beans)