Uses of Class
org.synchronoss.cpo.core.CpoException

Packages that use CpoException
  • Uses of CpoException in org.synchronoss.cpo.core

    Modifier and Type
    Method
    Description
    void
    BindableCpoWhere.addWhere(CpoWhere cw)
    Chains another where clause onto this one, joined by this instance's Logical operator, turning this instance into a branch node.
    void
    CpoWhere.addWhere(CpoWhere cw)
    Chains another where clause onto this one, joined by this instance's Logical operator, turning this instance into a branch node.
    void
    CpoTrxAdapter.close()
    Closes the current transaction behind the CpoTrxAdapter.
    void
    CpoTrxAdapter.commit()
    Commits the current transaction behind the CpoTrxAdapter
    default <T> long
    CpoAdapter.deleteBean(String groupName, T bean)
    Removes the bean from the datasource using the named DELETE function group.
    <T> long
    CpoAdapter.deleteBean(CpoQuery query, T bean)
    Removes the bean from the datasource using the query's DELETE function group.
    default <T> long
    CpoAdapter.deleteBean(T bean)
    Removes the bean from the datasource using the default DELETE function group.
    <T> long
    CpoBaseAdapter.deleteBean(CpoQuery query, T bean)
     
    default <T> long
    CpoAdapter.deleteBeans(String groupName, List<T> beans)
    Removes the beans from the datasource using the named DELETE function group.
    default <T> long
    CpoAdapter.deleteBeans(List<T> beans)
    Removes the beans from the datasource using the default DELETE function group.
    <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)
     
    default <T> T
    CpoAdapter.executeBean(String groupName, T bean)
    Executes the named EXECUTE function group with the bean as both criteria and result.
    <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.
    default <T> T
    CpoAdapter.executeBean(T bean)
    Executes the default EXECUTE function group with the bean as both criteria and result.
    <T, C> T
    CpoBaseAdapter.executeBean(CpoQuery query, C criteria, T result)
     
    default <T> long
    CpoAdapter.existsBean(String groupName, T bean)
    Checks whether beans matching the given bean exist, using the named EXIST function group.
    <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.
    default <T> long
    CpoAdapter.existsBean(T bean)
    Checks whether beans matching the given bean exist, using the default EXIST function group.
    abstract <T> long
    CpoBaseAdapter.existsBean(CpoQuery query, T bean)
    The CpoAdapter will check to see if this object exists in the datasource.
    CpoStatementFactory.getBindValues(CpoFunction function, Object obj)
    Called by the CPO Framework.
    CpoAdapterFactory.getCpoAdapter()
    Gets a CpoAdapter that manages its own connections per call (no explicit transaction control).
    static CpoAdapter
    CpoAdapterFactoryManager.getCpoAdapter()
    Gets the CpoAdapter for the default configuration context.
    static CpoAdapter
    CpoAdapterFactoryManager.getCpoAdapter(String context)
    Gets the CpoAdapter for the named configuration context.
    CpoAdapter.getCpoAttributes(String expression)
    Gets the CpoAttribute definitions matching a comma-separated expression of attribute names, as declared in the meta data for this bean's class.
    CpoAdapterFactory.getCpoTrxAdapter()
    Gets a CpoTrxAdapter pinned to a single connection/session for explicit transaction control (commit/rollback/close).
    CpoAdapterFactoryManager.getCpoTrxAdapter()
    Gets a CpoTrxAdapter for the default configuration context.
    CpoAdapterFactoryManager.getCpoTrxAdapter(String context)
    Gets a CpoTrxAdapter for the named configuration context.
    CpoAdapterFactory.getCpoXaAdapter()
    Gets a CpoXaResource that participates in a JTA-managed distributed transaction.
    CpoAdapterFactoryManager.getCpoXaAdapter()
    Gets the CpoXaResource for the default configuration context.
    CpoAdapterFactoryManager.getCpoXaAdapter(String context)
    Gets the CpoXaResource for the named configuration context.
    AbstractDataSourceInfo.getDataSource()
    Gets the underlying datasource object, creating it on first access.
    DataSourceInfo.getDataSource()
    Gets the underlying datasource object, creating it on first access.
    default <T> long
    CpoAdapter.insertBean(String groupName, T bean)
    Creates the bean in the datasource using the named CREATE function group.
    <T> long
    CpoAdapter.insertBean(CpoQuery query, T bean)
    Creates the bean in the datasource using the query's CREATE function group.
    default <T> long
    CpoAdapter.insertBean(T bean)
    Creates the bean in the datasource using the default CREATE function group.
    <T> long
    CpoBaseAdapter.insertBean(CpoQuery query, T bean)
     
    default <T> long
    CpoAdapter.insertBeans(String groupName, List<T> beans)
    Creates the beans in the datasource using the named CREATE function group.
    default <T> long
    CpoAdapter.insertBeans(List<T> beans)
    Creates the beans in the datasource using the default CREATE function group.
    <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)
     
    AbstractCpoData.invokeGetter()
    Invokes the bean's getter for the bound attribute.
    CpoData.invokeGetter()
    Invokes the bean's getter for the bound attribute.
    void
    AbstractCpoData.invokeSetter(Object instanceObject)
    Invokes the bean's setter for the bound attribute.
    void
    CpoData.invokeSetter(Object instanceObject)
    Invokes the bean's setter for the bound attribute.
    boolean
    CpoTrxAdapter.isClosed()
    Returns true if the TrxAdapter has been closed, false if it is still active
    CpoAdapterFactoryManager.makeCpoAdapterFactory(org.synchronoss.cpo.cpoconfig.CtDataSourceConfig dataSourceConfig)
    Instantiates the dataSourceConfig's configured CpoConfigProcessor and uses it to build a CpoAdapterFactory for that datasource.
    CpoAdapter.newOrderBy(String attribute, boolean ascending)
    Creates a CpoOrderBy for the attribute and direction.
    CpoAdapter.newOrderBy(String attribute, boolean ascending, String function)
    Creates a CpoOrderBy applying a datasource function to the attribute.
    CpoAdapter.newOrderBy(String marker, String attribute, boolean ascending)
    Creates a CpoOrderBy bound to a marker within the expression.
    CpoAdapter.newOrderBy(String marker, String attribute, boolean ascending, String function)
    Creates a CpoOrderBy bound to a marker, applying a datasource function to the attribute.
    CpoBaseAdapter.newOrderBy(String attribute, boolean ascending)
     
    CpoBaseAdapter.newOrderBy(String attribute, boolean ascending, String function)
     
    CpoBaseAdapter.newOrderBy(String marker, String attribute, boolean ascending)
     
    CpoBaseAdapter.newOrderBy(String marker, String attribute, boolean ascending, String function)
     
    CpoAdapter.newWhere()
    Creates an empty CpoWhere.
    CpoAdapter.newWhere(Logical logical, String attr, Comparison comp, T value)
    Creates a CpoWhere comparing the attribute to the value.
    CpoAdapter.newWhere(Logical logical, String attr, Comparison comp, T value, boolean not)
    Creates a CpoWhere comparing the attribute to the value, optionally negated.
    CpoBaseAdapter.newWhere()
     
    CpoBaseAdapter.newWhere(Logical logical, String attr, Comparison comp, T value)
     
    CpoBaseAdapter.newWhere(Logical logical, String attr, Comparison comp, T value, boolean not)
     
    void
    CpoReleasable.release()
    release is called by the CPO framework.
    void
    CpoStatementFactory.release()
    Called by the CPO framework.
    default <T> T
    CpoAdapter.retrieveBean(String groupName, T bean)
    Retrieves a single bean using the named RETRIEVE function group; the bean supplies the search criteria and receives the result.
    <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.
    default <T> T
    CpoAdapter.retrieveBean(T bean)
    Retrieves a single bean using the default RETRIEVE function group; the bean supplies the search criteria and receives 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(String groupName, C criteria)
    Retrieves beans using the named LIST function group; the criteria bean type is also the result type.
    default <T, C> Stream<T>
    CpoAdapter.retrieveBeans(String groupName, C criteria, T result)
    Retrieves beans using the named LIST function group with separate criteria and result beans.
    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)
     
    void
    CpoTrxAdapter.rollback()
    Rollback the current transaction behind the CpoTrxAdapter
    void
    CpoStatementFactory.setBindValues(Collection<BindAttribute> bindValues)
    Called by the CPO Framework.
    BindableCpoOrderBy.toString(CpoClass cpoClass)
    Builds the native (SQL/CQL) order-by fragment for this clause against the given class's attribute-to-column mapping.
    CpoOrderBy.toString(CpoClass cpoClass)
    Builds the native (SQL/CQL) order-by fragment for this clause against the given class's attribute-to-column mapping.
    AbstractCpoData.transformIn(Object datasourceObject)
    Transforms a value read from the datastore into the form expected by the bean attribute, applying the attribute's configured transform (if any).
    CpoData.transformIn(Object datasourceObject)
    Transforms a value read from the datastore into the form expected by the bean attribute, applying the attribute's configured transform (if any).
    AbstractCpoData.transformOut(Object attributeObject)
    Transforms a value read from the bean attribute into the form expected by the datastore, applying the attribute's configured transform (if any).
    CpoData.transformOut(Object attributeObject)
    Transforms a value read from the bean attribute into the form expected by the datastore, applying the attribute's configured transform (if any).
    default <T> long
    CpoAdapter.updateBean(String groupName, T bean)
    Updates the bean in the datasource using the named UPDATE function group.
    <T> long
    CpoAdapter.updateBean(CpoQuery query, T bean)
    Updates the bean in the datasource using the query's UPDATE function group.
    default <T> long
    CpoAdapter.updateBean(T bean)
    Updates the bean in the datasource using the default UPDATE function group.
    <T> long
    CpoBaseAdapter.updateBean(CpoQuery query, T bean)
     
    default <T> long
    CpoAdapter.updateBeans(String groupName, List<T> beans)
    Updates the beans in the datasource using the named UPDATE function group.
    default <T> long
    CpoAdapter.updateBeans(List<T> beans)
    Updates the beans in the datasource using the default UPDATE function group.
    <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)
     
    default <T> long
    CpoAdapter.upsertBean(String groupName, T bean)
    Inserts or updates the bean using the named UPSERT function group.
    <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.
    default <T> long
    CpoAdapter.upsertBean(T bean)
    Inserts or updates the bean using the default UPSERT function group.
    <T> long
    CpoBaseAdapter.upsertBean(CpoQuery query, T bean)
     
    default <T> long
    CpoAdapter.upsertBeans(String groupName, List<T> beans)
    Inserts or updates the beans using the named UPSERT function group.
    default <T> long
    CpoAdapter.upsertBeans(List<T> beans)
    Inserts or updates the beans using the default UPSERT function group.
    <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)
     
  • Uses of CpoException in org.synchronoss.cpo.core.config

    Modifier and Type
    Method
    Description
    CpoConfigProcessor.processCpoConfig(org.synchronoss.cpo.cpoconfig.CtDataSourceConfig cpoConfig)
    Processes a single data source configuration and builds the adapter factory it describes.
  • Uses of CpoException in org.synchronoss.cpo.core.helper

    Modifier and Type
    Method
    Description
    static void
    ExceptionHelper.reThrowCpoException(Throwable e, String message)
    Rethrows e as a CpoException: if it already is one it is rethrown unchanged, otherwise it is wrapped in a new CpoException with the given message.
  • Uses of CpoException in org.synchronoss.cpo.core.jta

    Modifier and Type
    Method
    Description
    void
    CpoBaseXaResource.accept(Consumer<T> consumer)
    Applies consumer to the resource currently associated with this instance (the transaction branch's resource if one is associated, otherwise the local resource), serialized against concurrent calls on this instance.
    <R> R
    CpoBaseXaResource.apply(Function<T,R> function)
    Applies function to the resource currently associated with this instance (the transaction branch's resource if one is associated, otherwise the local resource), serialized against concurrent calls on this instance.
  • Uses of CpoException in org.synchronoss.cpo.core.meta

    Modifier and Type
    Method
    Description
    void
    CpoMetaDescriptor.addCpoClass(CpoClass cpoClass)
    Adds a CpoClass to this descriptor's metadata.
    static void
    CpoMetaDescriptor.clearAllInstances()
    Removes all descriptors from the cache.
    CpoMetaDescriptor.createCpoArgument()
    Creates a new, empty CpoArgument.
    CpoMetaDescriptor.createCpoAttribute()
    Creates a new, empty CpoAttribute.
    CpoMetaDescriptor.createCpoClass()
    Creates a new, empty CpoClass of the concrete type appropriate for this descriptor's case-sensitivity setting.
    CpoMetaDescriptor.createCpoFunction()
    Creates a new, empty CpoFunction.
    CpoMetaDescriptor.createCpoFunctionGroup()
    Creates a new, empty CpoFunctionGroup.
    final void
    CpoMetaDescriptor.export(File file)
    Performs an export of the metadata to the specified File
    final void
    CpoMetaDescriptor.export(OutputStream outputStream)
    Performs an export of the meta ata to the specified OutputStream
    final void
    CpoMetaDescriptor.export(Writer writer)
    Performs an export of the metadata to the specified Writer
    void
    CpoMetaExportable.export(File file)
    Performs an export of the metadata to the specified File
    void
    CpoMetaExportable.export(OutputStream outputStream)
    Performs an export of the meta ata to the specified OutputStream
    void
    CpoMetaExportable.export(Writer writer)
    Performs an export of the metadata to the specified Writer
    AbstractCpoMetaAdapter.getAllowableDataTypes()
    Gets the names of all native data types this meta adapter knows how to map.
    CpoMetaAdapter.getAllowableDataTypes()
    Gets the names of all native data types this meta adapter knows how to map.
    CpoMetaDescriptor.getAllowableDataTypes()
    Gets the names of all native data types this meta adapter knows how to map.
    CpoMetaAdapter.getCpoClasses()
    Returns a list of the cpo class objects that the meta adapter is aware of.
    CpoMetaDescriptor.getCpoClasses()
    Returns a list of the cpo class objects that the meta adapter is aware of.
    MethodMapper.getDataMethodMapEntry(Class<?> c)
    Gets the method map entry registered for the given Java class.
    int
    AbstractCpoMetaAdapter.getDataTypeInt(String dataTypeName)
    Gets the integer identifier for a named native data type.
    int
    CpoMetaAdapter.getDataTypeInt(String dataTypeName)
    Gets the integer identifier for a named native data type.
    int
    CpoMetaDescriptor.getDataTypeInt(String dataTypeName)
    Gets the integer identifier for a named native data type.
    CpoMetaAdapter.getDataTypeJavaClass(CpoAttribute attribute)
    Gets the Java class that the given attribute's native data type maps to.
    CpoMetaDescriptor.getDataTypeJavaClass(CpoAttribute attribute)
    Gets the Java class that the given attribute's native data type maps to.
    AbstractCpoMetaAdapter.getDataTypeMapEntry(int dataTypeInt)
    Gets the full data type mapping entry for a given native data type identifier.
    CpoMetaAdapter.getDataTypeMapEntry(int dataTypeInt)
    Gets the full data type mapping entry for a given native data type identifier.
    CpoMetaDescriptor.getDataTypeMapEntry(int dataTypeInt)
    Gets the full data type mapping entry for a given native data type identifier.
    CpoMetaAdapter.getDataTypeName(CpoAttribute attribute)
    Gets the Java class name that the given attribute's native data type maps to.
    CpoMetaDescriptor.getDataTypeName(CpoAttribute attribute)
    Gets the Java class name that the given attribute's native data type maps to.
    CpoMetaAdapter.getExpressionParser()
    Gets the parser used to extract bind-marker/column information from this metadata source's native function expressions.
    CpoMetaDescriptor.getExpressionParser()
    Gets the parser used to extract bind-marker/column information from this metadata source's native function expressions.
    CpoMetaDescriptor.getInstance(String name)
    Gets the already-loaded descriptor registered under the given name.
    CpoMetaDescriptor.getInstance(String name, String[] metaXmls, boolean caseSensitive)
    Gets the descriptor registered under name, creating and loading it from one or more meta XML documents if it does not already exist.
    CpoMetaDescriptor.getInstance(String name, String metaXml, boolean caseSensitive)
    Gets the descriptor registered under name, creating and loading it from a single meta XML document if it does not already exist.
    CpoMetaDescriptor.getInstance(String name, List<String> metaXmls, boolean caseSensitive)
    Gets the descriptor registered under name, creating and loading it from one or more meta XML documents if it does not already exist.
    AbstractCpoMetaAdapter.getMetaClass(T bean)
    Returns the metadata for the class that is contained within the metadata source
    CpoMetaAdapter.getMetaClass(T bean)
    Returns the metadata for the class that is contained within the metadata source
    CpoMetaDescriptor.getMetaClass(T bean)
    Returns the metadata for the class that is contained within the metadata source
    ResultSetCpoData.invokeGetter()
    Invokes the bean's getter for the bound attribute.
    static void
    CpoMetaDescriptor.refreshDescriptorMeta(String name, List<String> metaXmls)
    Hot-reloads the descriptor registered under name by merging in the given meta XML documents, if that descriptor is currently loaded.
    static void
    CpoMetaDescriptor.refreshDescriptorMeta(String name, List<String> metaXmls, boolean overwrite)
    Hot-reloads the descriptor registered under name by merging in (or, if overwrite is set, replacing with) the given meta XML documents, if that descriptor is currently loaded.
    void
    CpoMetaDescriptor.refreshDescriptorMeta(List<String> metaXmls)
    Hot-reloads this descriptor by merging in the given meta XML documents.
    void
    CpoMetaDescriptor.refreshDescriptorMeta(List<String> metaXmls, boolean overwrite)
    Hot-reloads this descriptor by merging in (or, if overwrite is set, replacing with) the given meta XML documents.
    void
    CpoMetaDescriptor.removeCpoClass(CpoClass cpoClass)
    Removes a CpoClass from this descriptor's metadata.
    static void
    CpoMetaDescriptor.removeInstance(String name)
    Removes the descriptor registered under the given name from the cache.
  • Uses of CpoException in org.synchronoss.cpo.core.meta.domain

    Modifier and Type
    Method
    Description
    boolean
    CpoClass.existsFunctionGroup(Crud crud, String groupName)
    Gets whether a function group exists for the given CRUD type and group name.
    CpoClass.getFunctionGroup(Crud crud, String groupName)
    Gets the function group for the given CRUD type and group name.
    CpoAttribute.invokeGetter(Object obj)
    Invokes the bean's getter method to read this attribute's value.
    void
    CpoAttribute.invokeSetter(Object instanceObject, CpoData cpoData)
    Invokes the bean's setter method, passing the value read from cpoData.
    void
    CpoAttribute.loadRunTimeInfo(CpoMetaDescriptor metaDescriptor, Class<?> metaClass)
    Resolves this attribute's reflective getter/setter methods against metaClass, and instantiates and resolves its configured transform (if any) via metaDescriptor.
    void
    CpoClass.loadRunTimeInfo(CpoMetaDescriptor metaDescriptor)
    Resolves this class's reflective metadata (the concrete Java class, and each attribute's getter/setter/transform) against the classpath, if not already resolved.
  • Uses of CpoException in org.synchronoss.cpo.core.transform

    Modifier and Type
    Method
    Description
    CpoTransform.transformIn(D inObject)
    Converts a raw datastore value into the bean-side representation.
    TransformStringByte.transformIn(byte[] bytes)
    Converts a raw datastore value into the bean-side representation.
    CpoTransform.transformOut(J attributeObject)
    Converts a bean attribute's value into the raw datastore-side representation.
    byte[]
    TransformStringByte.transformOut(String str)
    Converts a bean attribute's value into the raw datastore-side representation.