Uses of Class
org.synchronoss.cpo.core.CpoException
Packages that use CpoException
Package
Description
-
Uses of CpoException in org.synchronoss.cpo.core
Methods in org.synchronoss.cpo.core that throw CpoExceptionModifier and TypeMethodDescriptionvoidChains another where clause onto this one, joined by this instance'sLogicaloperator, turning this instance into a branch node.voidChains another where clause onto this one, joined by this instance'sLogicaloperator, turning this instance into a branch node.voidCpoTrxAdapter.close()Closes the current transaction behind the CpoTrxAdapter.voidCpoTrxAdapter.commit()Commits the current transaction behind the CpoTrxAdapterdefault <T> longCpoAdapter.deleteBean(String groupName, T bean) Removes the bean from the datasource using the named DELETE function group.<T> longCpoAdapter.deleteBean(CpoQuery query, T bean) Removes the bean from the datasource using the query's DELETE function group.default <T> longCpoAdapter.deleteBean(T bean) Removes the bean from the datasource using the default DELETE function group.<T> longCpoBaseAdapter.deleteBean(CpoQuery query, T bean) default <T> longCpoAdapter.deleteBeans(String groupName, List<T> beans) Removes the beans from the datasource using the named DELETE function group.default <T> longCpoAdapter.deleteBeans(List<T> beans) Removes the beans from the datasource using the default DELETE function group.<T> longCpoAdapter.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> longCpoBaseAdapter.deleteBeans(CpoQuery query, List<T> beans) default <T> TCpoAdapter.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> TCpoAdapter.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> longCpoAdapter.existsBean(String groupName, T bean) Checks whether beans matching the given bean exist, using the named EXIST function group.<T> longCpoAdapter.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> longCpoAdapter.existsBean(T bean) Checks whether beans matching the given bean exist, using the default EXIST function group.abstract <T> longCpoBaseAdapter.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 aCpoAdapterthat manages its own connections per call (no explicit transaction control).static CpoAdapterCpoAdapterFactoryManager.getCpoAdapter()Gets theCpoAdapterfor the default configuration context.static CpoAdapterCpoAdapterFactoryManager.getCpoAdapter(String context) Gets theCpoAdapterfor the named configuration context.CpoAdapter.getCpoAttributes(String expression) Gets theCpoAttributedefinitions matching a comma-separated expression of attribute names, as declared in the meta data for this bean's class.CpoAdapterFactory.getCpoTrxAdapter()Gets aCpoTrxAdapterpinned to a single connection/session for explicit transaction control (commit/rollback/close).static CpoTrxAdapterCpoAdapterFactoryManager.getCpoTrxAdapter()Gets aCpoTrxAdapterfor the default configuration context.static CpoTrxAdapterCpoAdapterFactoryManager.getCpoTrxAdapter(String context) Gets aCpoTrxAdapterfor the named configuration context.CpoAdapterFactory.getCpoXaAdapter()Gets aCpoXaResourcethat participates in a JTA-managed distributed transaction.static CpoXaResourceCpoAdapterFactoryManager.getCpoXaAdapter()Gets theCpoXaResourcefor the default configuration context.static CpoXaResourceCpoAdapterFactoryManager.getCpoXaAdapter(String context) Gets theCpoXaResourcefor 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> longCpoAdapter.insertBean(String groupName, T bean) Creates the bean in the datasource using the named CREATE function group.<T> longCpoAdapter.insertBean(CpoQuery query, T bean) Creates the bean in the datasource using the query's CREATE function group.default <T> longCpoAdapter.insertBean(T bean) Creates the bean in the datasource using the default CREATE function group.<T> longCpoBaseAdapter.insertBean(CpoQuery query, T bean) default <T> longCpoAdapter.insertBeans(String groupName, List<T> beans) Creates the beans in the datasource using the named CREATE function group.default <T> longCpoAdapter.insertBeans(List<T> beans) Creates the beans in the datasource using the default CREATE function group.<T> longCpoAdapter.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> longCpoBaseAdapter.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.voidAbstractCpoData.invokeSetter(Object instanceObject) Invokes the bean's setter for the bound attribute.voidCpoData.invokeSetter(Object instanceObject) Invokes the bean's setter for the bound attribute.booleanCpoTrxAdapter.isClosed()Returns true if the TrxAdapter has been closed, false if it is still activestatic CpoAdapterFactoryCpoAdapterFactoryManager.makeCpoAdapterFactory(org.synchronoss.cpo.cpoconfig.CtDataSourceConfig dataSourceConfig) Instantiates thedataSourceConfig's configuredCpoConfigProcessorand uses it to build aCpoAdapterFactoryfor 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.<T> CpoWhereCpoAdapter.newWhere(Logical logical, String attr, Comparison comp, T value) Creates a CpoWhere comparing the attribute to the value.<T> CpoWhereCpoAdapter.newWhere(Logical logical, String attr, Comparison comp, T value, boolean not) Creates a CpoWhere comparing the attribute to the value, optionally negated.CpoBaseAdapter.newWhere()<T> CpoWhereCpoBaseAdapter.newWhere(Logical logical, String attr, Comparison comp, T value) <T> CpoWhereCpoBaseAdapter.newWhere(Logical logical, String attr, Comparison comp, T value, boolean not) voidCpoReleasable.release()release is called by the CPO framework.voidCpoStatementFactory.release()Called by the CPO framework.default <T> TCpoAdapter.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> TCpoAdapter.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> TCpoAdapter.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> TCpoBaseAdapter.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) voidCpoTrxAdapter.rollback()Rollback the current transaction behind the CpoTrxAdaptervoidCpoStatementFactory.setBindValues(Collection<BindAttribute> bindValues) Called by the CPO Framework.Builds the native (SQL/CQL) order-by fragment for this clause against the given class's attribute-to-column mapping.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> longCpoAdapter.updateBean(String groupName, T bean) Updates the bean in the datasource using the named UPDATE function group.<T> longCpoAdapter.updateBean(CpoQuery query, T bean) Updates the bean in the datasource using the query's UPDATE function group.default <T> longCpoAdapter.updateBean(T bean) Updates the bean in the datasource using the default UPDATE function group.<T> longCpoBaseAdapter.updateBean(CpoQuery query, T bean) default <T> longCpoAdapter.updateBeans(String groupName, List<T> beans) Updates the beans in the datasource using the named UPDATE function group.default <T> longCpoAdapter.updateBeans(List<T> beans) Updates the beans in the datasource using the default UPDATE function group.<T> longCpoAdapter.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> longCpoBaseAdapter.updateBeans(CpoQuery query, List<T> beans) default <T> longCpoAdapter.upsertBean(String groupName, T bean) Inserts or updates the bean using the named UPSERT function group.<T> longCpoAdapter.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> longCpoAdapter.upsertBean(T bean) Inserts or updates the bean using the default UPSERT function group.<T> longCpoBaseAdapter.upsertBean(CpoQuery query, T bean) default <T> longCpoAdapter.upsertBeans(String groupName, List<T> beans) Inserts or updates the beans using the named UPSERT function group.default <T> longCpoAdapter.upsertBeans(List<T> beans) Inserts or updates the beans using the default UPSERT function group.<T> longCpoAdapter.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> longCpoBaseAdapter.upsertBeans(CpoQuery query, List<T> beans) -
Uses of CpoException in org.synchronoss.cpo.core.config
Methods in org.synchronoss.cpo.core.config that throw CpoExceptionModifier and TypeMethodDescriptionCpoConfigProcessor.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
Methods in org.synchronoss.cpo.core.helper that throw CpoExceptionModifier and TypeMethodDescriptionstatic voidExceptionHelper.reThrowCpoException(Throwable e, String message) Rethrowseas aCpoException: if it already is one it is rethrown unchanged, otherwise it is wrapped in a newCpoExceptionwith the given message. -
Uses of CpoException in org.synchronoss.cpo.core.jta
Methods in org.synchronoss.cpo.core.jta that throw CpoExceptionModifier and TypeMethodDescriptionvoidAppliesconsumerto 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> RAppliesfunctionto 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
Methods in org.synchronoss.cpo.core.meta that throw CpoExceptionModifier and TypeMethodDescriptionvoidCpoMetaDescriptor.addCpoClass(CpoClass cpoClass) Adds aCpoClassto this descriptor's metadata.static voidCpoMetaDescriptor.clearAllInstances()Removes all descriptors from the cache.CpoMetaDescriptor.createCpoArgument()Creates a new, emptyCpoArgument.CpoMetaDescriptor.createCpoAttribute()Creates a new, emptyCpoAttribute.CpoMetaDescriptor.createCpoClass()Creates a new, emptyCpoClassof the concrete type appropriate for this descriptor's case-sensitivity setting.CpoMetaDescriptor.createCpoFunction()Creates a new, emptyCpoFunction.CpoMetaDescriptor.createCpoFunctionGroup()Creates a new, emptyCpoFunctionGroup.final voidPerforms an export of the metadata to the specified Filefinal voidCpoMetaDescriptor.export(OutputStream outputStream) Performs an export of the meta ata to the specified OutputStreamfinal voidPerforms an export of the metadata to the specified WritervoidPerforms an export of the metadata to the specified FilevoidCpoMetaExportable.export(OutputStream outputStream) Performs an export of the meta ata to the specified OutputStreamvoidPerforms an export of the metadata to the specified WriterAbstractCpoMetaAdapter.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.intAbstractCpoMetaAdapter.getDataTypeInt(String dataTypeName) Gets the integer identifier for a named native data type.intCpoMetaAdapter.getDataTypeInt(String dataTypeName) Gets the integer identifier for a named native data type.intCpoMetaDescriptor.getDataTypeInt(String dataTypeName) Gets the integer identifier for a named native data type.Class<?> CpoMetaAdapter.getDataTypeJavaClass(CpoAttribute attribute) Gets the Java class that the given attribute's native data type maps to.Class<?> 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.static CpoMetaDescriptorCpoMetaDescriptor.getInstance(String name) Gets the already-loaded descriptor registered under the given name.static CpoMetaDescriptorCpoMetaDescriptor.getInstance(String name, String[] metaXmls, boolean caseSensitive) Gets the descriptor registered undername, creating and loading it from one or more meta XML documents if it does not already exist.static CpoMetaDescriptorCpoMetaDescriptor.getInstance(String name, String metaXml, boolean caseSensitive) Gets the descriptor registered undername, creating and loading it from a single meta XML document if it does not already exist.static CpoMetaDescriptorCpoMetaDescriptor.getInstance(String name, List<String> metaXmls, boolean caseSensitive) Gets the descriptor registered undername, creating and loading it from one or more meta XML documents if it does not already exist.<T> CpoClassAbstractCpoMetaAdapter.getMetaClass(T bean) Returns the metadata for the class that is contained within the metadata source<T> CpoClassCpoMetaAdapter.getMetaClass(T bean) Returns the metadata for the class that is contained within the metadata source<T> CpoClassCpoMetaDescriptor.getMetaClass(T bean) Returns the metadata for the class that is contained within the metadata sourceResultSetCpoData.invokeGetter()Invokes the bean's getter for the bound attribute.static voidCpoMetaDescriptor.refreshDescriptorMeta(String name, List<String> metaXmls) Hot-reloads the descriptor registered undernameby merging in the given meta XML documents, if that descriptor is currently loaded.static voidCpoMetaDescriptor.refreshDescriptorMeta(String name, List<String> metaXmls, boolean overwrite) Hot-reloads the descriptor registered undernameby merging in (or, ifoverwriteis set, replacing with) the given meta XML documents, if that descriptor is currently loaded.voidCpoMetaDescriptor.refreshDescriptorMeta(List<String> metaXmls) Hot-reloads this descriptor by merging in the given meta XML documents.voidCpoMetaDescriptor.refreshDescriptorMeta(List<String> metaXmls, boolean overwrite) Hot-reloads this descriptor by merging in (or, ifoverwriteis set, replacing with) the given meta XML documents.voidCpoMetaDescriptor.removeCpoClass(CpoClass cpoClass) Removes aCpoClassfrom this descriptor's metadata.static voidCpoMetaDescriptor.removeInstance(String name) Removes the descriptor registered under the given name from the cache. -
Uses of CpoException in org.synchronoss.cpo.core.meta.domain
Methods in org.synchronoss.cpo.core.meta.domain that throw CpoExceptionModifier and TypeMethodDescriptionbooleanCpoClass.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.voidCpoAttribute.invokeSetter(Object instanceObject, CpoData cpoData) Invokes the bean's setter method, passing the value read fromcpoData.voidCpoAttribute.loadRunTimeInfo(CpoMetaDescriptor metaDescriptor, Class<?> metaClass) Resolves this attribute's reflective getter/setter methods againstmetaClass, and instantiates and resolves its configured transform (if any) viametaDescriptor.voidCpoClass.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
Methods in org.synchronoss.cpo.core.transform that throw CpoExceptionModifier and TypeMethodDescriptionCpoTransform.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.