Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBindableCpoData - Class in org.synchronoss.cpo.core.meta
-
Base
CpoDataimplementation for datastore bindings that are addressed by a positional index (e.g. a JDBC parameter or column index) in addition to theCpoAttributethey move data for. - AbstractBindableCpoData(CpoAttribute, int) - Constructor for class org.synchronoss.cpo.core.meta.AbstractBindableCpoData
-
Creates an instance bound to the given attribute and positional index.
- AbstractCpoData - Class in org.synchronoss.cpo.core
-
Base
CpoDataimplementation that owns theCpoAttributebeing bound and handles the transform half of the contract (AbstractCpoData.transformIn(Object)/AbstractCpoData.transformOut(Object)). - AbstractCpoData(CpoAttribute) - Constructor for class org.synchronoss.cpo.core.AbstractCpoData
-
Creates an instance bound to the given attribute.
- AbstractCpoMetaAdapter - Class in org.synchronoss.cpo.core.meta
-
Base
CpoMetaAdapterimplementation that maintains the in-memory map of loadedCpoClassmetadata and the shared logic for loading that metadata from the JAXB-boundCt*classes produced by unmarshalling a CPO meta XML document. - AbstractDataSourceInfo<T> - Class in org.synchronoss.cpo.core
-
Base
DataSourceInfoimplementation that holds the common name/fetchSize/batchSize configuration and lazily creates the underlying datasource object on first access, guarding creation with a lock so concurrent callers cannot race to create it twice. - AbstractDataSourceInfo(String, int, int) - Constructor for class org.synchronoss.cpo.core.AbstractDataSourceInfo
-
Creates an instance with the given configuration.
- AbstractMetaVisitor - Class in org.synchronoss.cpo.core.exporter
-
Base class for
MetaVisitorimplementations that generate Java source (interfaces, classes) fromCpoClassmeta model objects. - accept(Consumer<T>) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Applies
consumerto 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. - acceptDFVisitor(NodeVisitor) - Method in class org.synchronoss.cpo.core.Node
-
Implements the visitor pattern.
- acceptMetaDFVisitor(MetaVisitor) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Accepts a visitor, depth-first: this node is visited, then each child accepts the visitor in turn.
- acceptMetaDFVisitor(MetaVisitor) - Method in interface org.synchronoss.cpo.core.MetaDFVisitable
-
Accepts a visitor, depth-first: this node is visited, then each child accepts the visitor in turn.
- addArgument(CpoArgument) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Appends an argument to this function's argument list.
- addAttribute(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Adds an attribute to this class, indexing it by both its Java name and its datastore name.
- addChild(Node) - Method in class org.synchronoss.cpo.core.Node
-
This function adds a child to the linked-list of children for this node.
- addChildSort(Node) - Method in class org.synchronoss.cpo.core.Node
-
This function adds a child to the linked-list of children for this node.
- addChildSort(Node, Comparator<Node>) - Method in class org.synchronoss.cpo.core.Node
-
Adds a child to the linked-list of children for this node, inserting it in sorted order.
- addCpoClass(CpoClass) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Adds a
CpoClassto this descriptor's metadata. - addDataNameToMap(String, CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Adds an attribute to the datastore-name lookup map, using whatever case-sensitivity policy the concrete subclass implements.
- addDataNameToMap(String, CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClassCaseInsensitive
-
Adds an attribute to the datastore-name lookup map, using whatever case-sensitivity policy the concrete subclass implements.
- addDataNameToMap(String, CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClassCaseSensitive
-
Adds an attribute to the datastore-name lookup map, using whatever case-sensitivity policy the concrete subclass implements.
- addDataTypeEntry(DataTypeMapEntry<?>) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Registers a data type entry, indexed by both its type code and its name.
- addFunction(CpoFunction) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
-
Appends a function to this group.
- addFunctionGroup(CpoFunctionGroup) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Adds a function group to this class, keyed by its CRUD type and name.
- addMethodMapEntry(T) - Method in class org.synchronoss.cpo.core.meta.MethodMapper
-
Registers a method map entry, keyed by its
MethodMapEntry.getJavaClass(). - AddReleasable(CpoReleasable) - Method in class org.synchronoss.cpo.core.CpoStatementFactory
-
Adds a releasable object to this object.
- addWhere(CpoWhere) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Chains another where clause onto this one, joined by this instance's
Logicaloperator, turning this instance into a branch node. - addWhere(CpoWhere) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Chains another where clause onto this one, joined by this instance's
Logicaloperator, turning this instance into a branch node. - AND - Enum constant in enum class org.synchronoss.cpo.core.enums.Logical
-
Logical AND operator
- apply(Function<T, R>) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Applies
functionto 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.
B
- BindableCpoOrderBy - Class in org.synchronoss.cpo.core
-
Default
CpoOrderByimplementation: an immutable, bindable sort clause on a single attribute, optionally wrapped in a native datastore function and associated with a custom marker for multi-clause substitution. - BindableCpoOrderBy(String, boolean) - Constructor for class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Creates an order-by clause on the given attribute using the
CpoOrderBy.DEFAULT_MARKER. - BindableCpoOrderBy(String, boolean, String) - Constructor for class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Creates an order-by clause on the given attribute, wrapped in a native datastore function, using the
CpoOrderBy.DEFAULT_MARKER. - BindableCpoOrderBy(String, String, boolean) - Constructor for class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Creates an order-by clause on the given attribute using a custom marker, for use when more than one order-by expression must be substituted into the same native expression.
- BindableCpoOrderBy(String, String, boolean, String) - Constructor for class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Creates an order-by clause on the given attribute, wrapped in a native datastore function, using a custom marker, for use when more than one order-by expression must be substituted into the same native expression.
- BindableCpoWhere - Class in org.synchronoss.cpo.core
-
Default
CpoWhereimplementation: a bindable where-clause node that is also aNode, allowing leaf comparisons to be chained into branches viaBindableCpoWhere.addWhere(CpoWhere)and rendered to native SQL/CQL text viaBindableCpoWhere.toString(CpoClass). - BindableCpoWhere() - Constructor for class org.synchronoss.cpo.core.BindableCpoWhere
-
Creates an empty where clause with no comparison, attribute, or value set.
- BindableCpoWhere(Logical, String, Comparison, T) - Constructor for class org.synchronoss.cpo.core.BindableCpoWhere
-
Creates a leaf where clause comparing the named attribute to a literal value, joined to a subsequent clause (if any) by the given logical operator.
- BindableCpoWhere(Logical, String, Comparison, T, boolean) - Constructor for class org.synchronoss.cpo.core.BindableCpoWhere
-
Creates a leaf where clause comparing the named attribute to a literal value, optionally negated, joined to a subsequent clause (if any) by the given logical operator.
- BindableWhereBuilder<T> - Class in org.synchronoss.cpo.core
-
A
NodeVisitorthat walks aBindableCpoWheretree and, as a side effect of the traversal, accumulates both the rendered native (SQL/CQL) where-clause text and the ordered list ofBindAttributevalues that must be bound to its parameter placeholders. - BindableWhereBuilder(CpoClass) - Constructor for class org.synchronoss.cpo.core.BindableWhereBuilder
-
Creates a builder that resolves attributes against the given class while visiting a where tree.
- BindAttribute - Record Class in org.synchronoss.cpo.core
-
BindAttributepairs a single bind value produced while walking aCpoWheretree (seeBindableWhereBuilder) with either the resolvedCpoAttributeit belongs to, or, when no matching bean attribute exists, the raw attribute name it was addressed by. - BindAttribute(String, Object) - Constructor for record class org.synchronoss.cpo.core.BindAttribute
-
Creates an instance for a value that has no matching bean attribute, identified instead by name (for example, a raw column name used directly in a where clause).
- BindAttribute(CpoAttribute, Object) - Constructor for record class org.synchronoss.cpo.core.BindAttribute
-
Creates an instance bound to a resolved bean attribute.
- BindAttribute(CpoAttribute, Object, String) - Constructor for record class org.synchronoss.cpo.core.BindAttribute
-
Creates an instance of a
BindAttributerecord class. - bindObject() - Method in record class org.synchronoss.cpo.core.BindAttribute
-
Returns the value of the
bindObjectrecord component. - BoundExpressionParser - Class in org.synchronoss.cpo.core.parser
-
ExpressionParserimplementation for native expressions that use positional?bind markers (the common JDBC/CQL convention). - BoundExpressionParser() - Constructor for class org.synchronoss.cpo.core.parser.BoundExpressionParser
-
Creates a parser with no expression set.
C
- ChildNodeException - Exception Class in org.synchronoss.cpo.core
-
Exception class acts as a catch all for any condition occurring in with regards to an Element
- ChildNodeException() - Constructor for exception class org.synchronoss.cpo.core.ChildNodeException
-
Creates an exception with no detail message.
- ChildNodeException(String) - Constructor for exception class org.synchronoss.cpo.core.ChildNodeException
-
Creates an exception with the given detail message.
- clearAllInstances() - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Removes all descriptors from the cache.
- clearFunctions() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
-
Removes all functions from this group.
- clone() - Method in class org.synchronoss.cpo.core.Node
- close() - Method in interface org.synchronoss.cpo.core.CpoTrxAdapter
-
Closes the current transaction behind the CpoTrxAdapter.
- close(Xid) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Closes the resource for the specified xid
- close(Xid) - Method in interface org.synchronoss.cpo.core.jta.CpoXaResource
-
Closes the resource associated with the given transaction branch.
- closeAssociated() - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Closes the resource associated with this instance
- commit() - Method in interface org.synchronoss.cpo.core.CpoTrxAdapter
-
Commits the current transaction behind the CpoTrxAdapter
- commit(Xid, boolean) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Commits the global transaction specified by xid.
- compareTo(CpoClass) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
- compareTo(CpoFunctionGroup) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
- compareTo(Node) - Method in class org.synchronoss.cpo.core.Node
-
Default natural ordering: creation order.
- Comparison - Enum Class in org.synchronoss.cpo.core.enums
-
The comparison operators for where clauses
- CoreMetaXmlObjectExporter - Class in org.synchronoss.cpo.core.exporter
-
XmlObject exporter for meta objects
- CoreMetaXmlObjectExporter(CpoMetaDescriptor) - Constructor for class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
-
Constructs an exporter that builds a
CtCpoMetaDatadocument for the given meta descriptor. - countArguments() - Method in class org.synchronoss.cpo.core.parser.BoundExpressionParser
-
Returns the count of the bind markers in the expression
- countArguments() - Method in interface org.synchronoss.cpo.core.parser.ExpressionParser
-
Returns the count of the bind markers in the expression
- CPO_CONFIG - Static variable in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Name of the system property / environment variable that overrides the config file path.
- CPO_CONFIG_XSD - Static variable in class org.synchronoss.cpo.core.helper.XmlHelper
-
Classpath-relative location of the CPO config XML schema.
- CPO_META_XSD - Static variable in class org.synchronoss.cpo.core.helper.XmlHelper
-
Classpath-relative location of the CPO meta data XML schema.
- CpoAdapter - Interface in org.synchronoss.cpo.core
-
CpoAdapter is an interface for a set of routines that are responsible for Creating, Retrieving, Updating, and Deleting (CRUD) value beans within a datasource.
- CpoAdapterCache - Class in org.synchronoss.cpo.core.cache
-
Process-wide cache of
CpoAdapterinstances keyed by adapter name. - CpoAdapterFactory - Interface in org.synchronoss.cpo.core
-
Creates
CpoAdapterinstances (plain, transactional, or XA) for a single named data source configuration. - CpoAdapterFactoryCache - Class in org.synchronoss.cpo.core.cache
-
Process-wide cache of
CpoAdapterFactoryinstances keyed by config name. - CpoAdapterFactoryManager - Class in org.synchronoss.cpo.core
-
CpoAdapterFactoryManageris the static entry point applications use to obtainCpoAdapter,CpoTrxAdapter, andCpoXaResourceinstances by named configuration context. - CpoArgument - Class in org.synchronoss.cpo.core.meta.domain
-
Represents a single bound argument of a
CpoFunction: a reference to theCpoAttributewhose value is supplied for one of the function's bind markers. - CpoArgument() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoArgument
-
Creates an empty instance.
- cpoAttribute() - Method in record class org.synchronoss.cpo.core.BindAttribute
-
Returns the value of the
cpoAttributerecord component. - CpoAttribute - Class in org.synchronoss.cpo.core.meta.domain
-
Runtime metadata for a single JavaBean-to-datastore attribute binding: extends
CpoAttributeBean's plain configuration data with the reflectively-resolved getter/setterMethods and, if configured, theCpoTransforminstance and its transform methods. - CpoAttribute() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Creates an empty instance.
- CpoAttributeBean - Class in org.synchronoss.cpo.core.meta.bean
-
Plain-data holder for the fields of a CPO attribute as loaded from meta XML: the Java-side name/type, the datastore-side name/type, and an optional
CpoTransformclass name. - CpoAttributeBean() - Constructor for class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Creates an empty instance.
- CpoBaseAdapter<D> - Class in org.synchronoss.cpo.core
-
The CpoBaseAdapter has common functionality needed by all Adapter implementations
- CpoBaseAdapter(String, int, int) - Constructor for class org.synchronoss.cpo.core.CpoBaseAdapter
-
Constructs the adapter with the given data source name and default fetch/batch sizes.
- CpoBaseXaResource<T> - Class in org.synchronoss.cpo.core.jta
-
Base
CpoXaResourceimplementation that tracks per-Xidstate for a family of XA resources and drives the JTA two-phase-commit protocol against a subclass-supplied local resource of typeT(e.g. a JDBCConnection). - CpoBaseXaResource(T) - Constructor for class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Constructs a resource manager backed by the given local (non-XA) resource, used whenever no transaction branch is currently associated with this instance.
- CpoClass - Class in org.synchronoss.cpo.core.meta.domain
-
Runtime metadata for a JavaBean class mapped by CPO: its
CpoAttributes, keyed both by Java property name and by datastore column name, and itsCpoFunctionGroups (one per named CRUD operation group). - CpoClass() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Creates an empty instance.
- CpoClassBean - Class in org.synchronoss.cpo.core.meta.bean
-
Plain-data holder for a name and description, the common base for the CPO metadata bean classes (
CpoClass,CpoArgument,CpoFunctionGroup) that all identify themselves primarily by name. - CpoClassBean() - Constructor for class org.synchronoss.cpo.core.meta.bean.CpoClassBean
-
Creates an empty instance.
- CpoClassCaseInsensitive - Class in org.synchronoss.cpo.core.meta.domain
-
CpoClassvariant whose datastore-name lookups are case-insensitive: attribute data names are upper-cased before being used as map keys. - CpoClassCaseInsensitive() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoClassCaseInsensitive
-
Creates an empty instance.
- CpoClassCaseSensitive - Class in org.synchronoss.cpo.core.meta.domain
-
CpoClassvariant whose datastore-name lookups are case-sensitive: attribute data names are used as map keys exactly as configured. - CpoClassCaseSensitive() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoClassCaseSensitive
-
Creates an empty instance.
- CpoClassLoader - Class in org.synchronoss.cpo.core.helper
-
This is a proxy class designed to handle the different classloaders needed when running in a container as a skinny war versus running from the console.
- CpoClassSourceGenerator - Class in org.synchronoss.cpo.core.exporter
-
The CpoClassSourceGenerator generates java source code to define the cpo classes.
- CpoClassSourceGenerator(CpoMetaDescriptor) - Constructor for class org.synchronoss.cpo.core.exporter.CpoClassSourceGenerator
-
Constructs a generator for the given meta descriptor.
- CpoConfigProcessor - Interface in org.synchronoss.cpo.core.config
- CpoData - Interface in org.synchronoss.cpo.core
-
CpoDatais the binding between a single bean attribute and the mechanics needed to move its value into and out of the datastore: invoking the bean's getter/setter reflectively and applying any configuredCpoTransformon the way in or out. - CpoException - Exception Class in org.synchronoss.cpo.core
-
A
CpoExceptionis the common superclass for any number of CPO related exceptions that may occur during the execution of a business task. - CpoException() - Constructor for exception class org.synchronoss.cpo.core.CpoException
-
Constructs a
CpoExceptionwith no specified detail message. - CpoException(String) - Constructor for exception class org.synchronoss.cpo.core.CpoException
-
Constructs a
CpoExceptionwith the specified detail message. - CpoException(String, Throwable) - Constructor for exception class org.synchronoss.cpo.core.CpoException
-
Constructs a
CpoExceptionwith the specified detail message and nested exception. - CpoException(Throwable) - Constructor for exception class org.synchronoss.cpo.core.CpoException
-
Constructs a
CpoExceptionwith the specified detail message and nested exception. - CpoFunction - Class in org.synchronoss.cpo.core.meta.domain
-
Runtime metadata for a single CPO function: extends
CpoFunctionBean's name/expression/ description with the ordered list ofCpoArguments bound to the function's positional bind markers. - CpoFunction() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Creates an empty instance.
- CpoFunctionBean - Class in org.synchronoss.cpo.core.meta.bean
-
Plain-data holder for the fields of a CPO function as loaded from meta XML: its name, native expression (SQL/CQL), and description.
- CpoFunctionBean() - Constructor for class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Creates an empty instance.
- CpoFunctionGroup - Class in org.synchronoss.cpo.core.meta.domain
-
Runtime metadata for a named group of
CpoFunctions that together implement one CRUD operation (e.g. all the INSERT functions named"cpo_default") for aCpoClass. - CpoFunctionGroup() - Constructor for class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
-
Creates an empty instance.
- CpoFunctionGroupBean - Class in org.synchronoss.cpo.core.meta.bean
-
Plain-data holder for the fields of a CPO function group as loaded from meta XML: the group's name (inherited from
CpoClassBean) and its CRUD type (INSERT, RETRIEVE, UPDATE, DELETE, EXIST, EXECUTE). - CpoFunctionGroupBean() - Constructor for class org.synchronoss.cpo.core.meta.bean.CpoFunctionGroupBean
-
Creates an empty instance.
- CpoInterfaceSourceGenerator - Class in org.synchronoss.cpo.core.exporter
-
The CpoInterfaceSourceGenerator generates java source code to define the cpo interfaces.
- CpoInterfaceSourceGenerator(CpoMetaDescriptor) - Constructor for class org.synchronoss.cpo.core.exporter.CpoInterfaceSourceGenerator
-
Constructs a generator for the given meta descriptor.
- CpoLegacyClassSourceGenerator - Class in org.synchronoss.cpo.core.exporter
-
The CpoClassSourceGenerator generates java source code to define the cpo classes.
- CpoLegacyClassSourceGenerator(CpoMetaDescriptor) - Constructor for class org.synchronoss.cpo.core.exporter.CpoLegacyClassSourceGenerator
-
Constructs a generator for the given meta descriptor.
- CpoMetaAdapter - Interface in org.synchronoss.cpo.core.meta
-
CpoMetaAdapteris the datastore-agnostic view over a loaded CPO metadata source: it resolves theCpoClassfor a given bean, exposes the classes it knows about, and bridges between the datastore's native data type names/ids and their Java equivalents via the implementation'sDataTypeMapper. - CpoMetaDescriptor - Class in org.synchronoss.cpo.core.meta
-
CpoMetaDescriptoris the runtime, named handle on a loaded CPO metadata source: it owns the datastore-specificAbstractCpoMetaAdapterthat holds the actualCpoClassmetadata, and delegates theCpoMetaAdaptercontract to it. - CpoMetaDescriptorCache - Class in org.synchronoss.cpo.core.cache
-
Process-wide cache of
CpoMetaDescriptorinstances keyed by descriptor name. - CpoMetaExportable - Interface in org.synchronoss.cpo.core.meta
-
CpoMetaExportableis implemented by metadata sources that can serialize their loadedCpoClassmetadata back out to a CPO meta XML document. - CpoNativeFunction - Class in org.synchronoss.cpo.core
-
Represents a native (datastore-specific) function expression bound to a marker, for embedding SQL/CQL functions like
UPPER(?)into a CPO where/order-by clause. - CpoNativeFunction() - Constructor for class org.synchronoss.cpo.core.CpoNativeFunction
-
Creates an empty native function with no marker or expression set.
- CpoNativeFunction(String, String) - Constructor for class org.synchronoss.cpo.core.CpoNativeFunction
-
Creates a native function with the given marker and expression text.
- CpoOrderBy - Interface in org.synchronoss.cpo.core
-
CpoOrderBy is an interface for specifying the sort order in which objects are returned from the Datasource.
- CpoQuery - Record Class in org.synchronoss.cpo.core
-
The clauses of a
CpoAdapteroperation: the function group to run plus any run-time where constraints, orderings, and native expressions. - CpoQuery(String, List<CpoWhere>, List<CpoOrderBy>, List<CpoNativeFunction>) - Constructor for record class org.synchronoss.cpo.core.CpoQuery
-
Creates an instance of a
CpoQueryrecord class. - CpoReleasable - Interface in org.synchronoss.cpo.core
-
CpoReleasable is a class that can be called during a CpoTransform when there are resources that need to released after the current prepared statement is processed.
- CpoStatementFactory - Class in org.synchronoss.cpo.core
-
CpoStatementFactory is the base class that encapsulates the creation of the native statement for the target datastore from the meta expression, where clauses, and order-by clauses.
- CpoStatementFactory(Logger) - Constructor for class org.synchronoss.cpo.core.CpoStatementFactory
-
Constructs a statement factory that logs to the given logger.
- CpoTransform<D,
J> - Interface in org.synchronoss.cpo.core.transform -
CpoTransformconverts an attribute's value between the raw form stored/read at the datastore and the form exposed on the Java bean, e.g. clob-to-string or gzip compression. - CpoTrxAdapter - Interface in org.synchronoss.cpo.core
-
CpoTrxAdapter adds commit, rollback, and close functionality to the methods already in CpoAdapter.
- CpoWhere - Interface in org.synchronoss.cpo.core
-
`CpoWhere` is an interface for specifying the where clause to filter objects that are returned from the Datasource.
- CpoXaError - Enum Class in org.synchronoss.cpo.core.jta
-
The XA error codes used by Cpo, mirroring the
intconstants declared onXAExceptionso error codes can be passed around as a type-safe enum instead of a bareint. - CpoXaResource - Interface in org.synchronoss.cpo.core.jta
-
A JTA
XAResourcethat additionally allows the resource for a specific transaction branch to be closed directly, without waiting forcommit/rollback/forget. - CpoXaState<T> - Class in org.synchronoss.cpo.core.jta
-
Mutable state tracked for a single XA transaction branch (
Xid): its association state with a resource manager, its underlying resource, and its success/prepared flags. - CpoXaState(Xid, T, int, CpoBaseXaResource<T>, boolean) - Constructor for class org.synchronoss.cpo.core.jta.CpoXaState
-
Constructs the state for a new transaction branch.
- CpoXaStateMap<T> - Class in org.synchronoss.cpo.core.jta
-
Simple holder for a
Xid-to-CpoXaStatemap, one per family of XA resources. - CpoXaStateMap() - Constructor for class org.synchronoss.cpo.core.jta.CpoXaStateMap
-
Constructs an empty state map.
- CREATE - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by the CPO.
- createCpoArgument() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Creates a new, empty
CpoArgument. - createCpoAttribute() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Creates a new, empty
CpoAttribute. - createCpoClass() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Creates a new, empty
CpoClassof the concrete type appropriate for this descriptor's case-sensitivity setting. - createCpoFunction() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Creates a new, empty
CpoFunction. - createCpoFunctionGroup() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Creates a new, empty
CpoFunctionGroup. - createNode(int) - Static method in class org.synchronoss.cpo.core.Node
-
This is the factory method for creating Node objects.
- createXAException(CpoXaError, String) - Static method in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Builds an
XAExceptioncarrying a message that embeds this error code's name and numeric value alongside the caller-supplied detail text. - Crud - Enum Class in org.synchronoss.cpo.core.enums
-
The kinds of operation a CPO function group can perform against a datasource.
D
- DataSourceInfo<T> - Interface in org.synchronoss.cpo.core
-
Interface that defines the methods needed by CPO for any class that collects DataSource info and instantiates the DataSource
- dataTypeInt() - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Returns the value of the
dataTypeIntrecord component. - DataTypeMapEntry<T> - Record Class in org.synchronoss.cpo.core.meta
-
DataTypeMapEntry is a class that defines the mapping of datasource datatypes to java types
- DataTypeMapEntry(int, String, Class<T>) - Constructor for record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Creates an instance of a
DataTypeMapEntryrecord class. - DataTypeMapper - Class in org.synchronoss.cpo.core.meta
-
Maps datastore data types, identified by either a
java.sql.Typesconstant or a native type name, to theirDataTypeMapEntry. - DataTypeMapper(DataTypeMapEntry<?>) - Constructor for class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Creates a data type mapper with the given fallback entry for unrecognized types.
- dataTypeName() - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Returns the value of the
dataTypeNamerecord component. - DEFAULT_MARKER - Static variable in interface org.synchronoss.cpo.core.CpoOrderBy
-
Default marker string searched for and replaced by the generated order-by expression.
- defaultGroup() - Static method in record class org.synchronoss.cpo.core.CpoQuery
-
A query against the default (unnamed) function group.
- DELETE - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by CPO.
- deleteBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Removes the bean from the datasource using the named DELETE function group.
- deleteBean(CpoQuery, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Removes the bean from the datasource using the query's DELETE function group.
- deleteBean(CpoQuery, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- deleteBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Removes the bean from the datasource using the default DELETE function group.
- deleteBeans(String, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Removes the beans from the datasource using the named DELETE function group.
- deleteBeans(List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Removes the beans from the datasource using the default DELETE function group.
- deleteBeans(CpoQuery, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Removes the beans from the datasource using the query's DELETE function group, batching where the datasource supports it.
- deleteBeans(CpoQuery, List<T>) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.synchronoss.cpo.core.exporter.XmlExporterServlet
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.synchronoss.cpo.core.exporter.XmlExporterServlet
E
- emptyMaps() - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Clears this class's attribute and function group maps, discarding all metadata.
- end(Xid, int) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Ends the work performed on behalf of a transaction branch.
- EQ - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The equals operator
- equals(Object) - Method in record class org.synchronoss.cpo.core.BindAttribute
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
- equals(Object) - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
- equals(Object) - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
- equals(Object) - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionGroupBean
- equals(Object) - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.synchronoss.cpo.core.Node
- ExceptionHelper - Class in org.synchronoss.cpo.core.helper
-
Static helpers for extracting readable messages from a
Throwableand for normalizing arbitrary exceptions intoCpoException. - EXECUTE - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by the CPO.
- executeBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Executes the named EXECUTE function group with the bean as both criteria and result.
- executeBean(CpoQuery, C, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
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.
- executeBean(CpoQuery, C, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- executeBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Executes the default EXECUTE function group with the bean as both criteria and result.
- EXIST - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by CPO.
- EXISTS - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The exists operator
- existsBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Checks whether beans matching the given bean exist, using the named EXIST function group.
- existsBean(CpoQuery, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Checks whether beans matching the given bean exist in the datasource, using the query's EXIST function group and where constraints.
- existsBean(CpoQuery, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
-
The CpoAdapter will check to see if this object exists in the datasource.
- existsBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Checks whether beans matching the given bean exist, using the default EXIST function group.
- existsFunctionGroup(Crud, String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets whether a function group exists for the given CRUD type and group name.
- export(File) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Performs an export of the metadata to the specified File
- export(File) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaExportable
-
Performs an export of the metadata to the specified File
- export(OutputStream) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Performs an export of the meta ata to the specified OutputStream
- export(OutputStream) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaExportable
-
Performs an export of the meta ata to the specified OutputStream
- export(Writer) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Performs an export of the metadata to the specified Writer
- export(Writer) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaExportable
-
Performs an export of the metadata to the specified Writer
- ExpressionParser - Interface in org.synchronoss.cpo.core.parser
-
ExpressionParserextracts bind-marker information from a native (SQL/CQL) function expression, letting CPO figure out which bean attribute each positional bind marker in the expression corresponds to.
F
- forget(Xid) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Tells the resource manager to forget about a heuristically completed transaction branch.
- forName(String) - Static method in class org.synchronoss.cpo.core.helper.CpoClassLoader
-
Loads a class by name, first via the normal
Class.forName(String)lookup, then falling back to the current thread's context classloader.
G
- getAllowableDataTypes() - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Gets the names of all native data types this meta adapter knows how to map.
- getAllowableDataTypes() - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Gets the names of all native data types this meta adapter knows how to map.
- getAllowableDataTypes() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the names of all native data types this meta adapter knows how to map.
- getAllowChildren() - Method in class org.synchronoss.cpo.core.Node
-
Gets whether this node is allowed to have children.
- getArguments() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Gets the arguments bound to this function's bind markers, in bind-marker order.
- getAscending() - Method in class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Gets the boolean that determines if the objects will be returned from from the CpoAdapter in Ascending order or Descending order
- getAscending() - Method in interface org.synchronoss.cpo.core.CpoOrderBy
-
Gets the boolean that determines if the objects will be returned from from the CpoAdapter in Ascending order or Descending order
- getAssignedResourceManager() - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Gets the resource manager instance currently associated with this branch.
- getAssociation() - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Gets the current association state.
- getAttribute() - Method in class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Gets the name of the attribute that is to be used to sort the results from the CpoAdapter.
- getAttribute() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the name of the bean attribute on the left-hand side of the comparison.
- getAttribute() - Method in interface org.synchronoss.cpo.core.CpoOrderBy
-
Gets the name of the attribute that is to be used to sort the results from the CpoAdapter.
- getAttribute() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the name of the bean attribute on the left-hand side of the comparison.
- getAttribute() - Method in class org.synchronoss.cpo.core.meta.domain.CpoArgument
-
Gets the attribute bound to this argument.
- getAttributeData(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets the attribute bound to the given datastore-side name.
- getAttributeData(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClassCaseInsensitive
-
Gets the attribute bound to the given datastore-side name.
- getAttributeData(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClassCaseSensitive
-
Gets the attribute bound to the given datastore-side name.
- getAttributeFunction() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the native datastore function applied to the left-hand attribute before comparison.
- getAttributeFunction() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the native datastore function applied to the left-hand attribute before comparison.
- getAttributeJava(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets the attribute bound to the given JavaBean property name.
- getBatchSize() - Method in class org.synchronoss.cpo.core.AbstractDataSourceInfo
-
Gets the number of statements to accumulate before executing a batch against this datasource.
- getBatchSize() - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Get the batch size for updating the datasource
- getBatchSize() - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- getBatchSize() - Method in interface org.synchronoss.cpo.core.DataSourceInfo
-
Gets the number of statements to accumulate before executing a batch against this datasource.
- getBindMarkerIndexes(String) - Static method in class org.synchronoss.cpo.core.parser.BoundExpressionParser
-
Finds the character offsets of every unquoted
?bind marker insource. - getBindValues() - Method in class org.synchronoss.cpo.core.BindableWhereBuilder
-
Gets the bind values accumulated so far by visiting the tree, in the order their placeholders appear in
BindableWhereBuilder.getWhereClause(). - getBindValues(CpoFunction, Object) - Method in class org.synchronoss.cpo.core.CpoStatementFactory
-
Called by the CPO Framework.
- getBsSetter() - Method in class org.synchronoss.cpo.core.meta.MethodMapEntry
-
Gets the setter method used to write the value to the datastore.
- getChildCount() - Method in class org.synchronoss.cpo.core.Node
-
Counts the immediate children of this node.
- getChildList() - Method in class org.synchronoss.cpo.core.Node
-
Collects the immediate children of this node into a list, in sibling order.
- getClassName() - Method in class org.synchronoss.cpo.core.exporter.CpoClassSourceGenerator
-
Gets the name of the last class generated.
- getComparison() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the
Comparisonoperator used to compare the attribute against the value or right-hand attribute. - getComparison() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the
Comparisonoperator used to compare the attribute against the value or right-hand attribute. - getCpoAdapter() - Method in interface org.synchronoss.cpo.core.CpoAdapterFactory
-
Gets a
CpoAdapterthat manages its own connections per call (no explicit transaction control). - getCpoAdapter() - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Gets the
CpoAdapterfor the default configuration context. - getCpoAdapter(String) - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Gets the
CpoAdapterfor the named configuration context. - getCpoAttribute() - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Gets the attribute this instance moves data for.
- getCpoAttributes(String) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Gets the
CpoAttributedefinitions matching a comma-separated expression of attribute names, as declared in the meta data for this bean's class. - getCpoClasses() - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Returns a list of the cpo class objects that the meta adapter is aware of.
- getCpoClasses() - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Returns a list of the cpo class objects that the meta adapter is aware of.
- getCpoClasses() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Returns a list of the cpo class objects that the meta adapter is aware of.
- getCpoMetaData() - Method in class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
- getCpoMetaData() - Method in interface org.synchronoss.cpo.core.exporter.MetaXmlObjectExporter
-
Gets the exported meta data document built up by visiting the meta model.
- getCpoMetaDescriptor() - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Get the CpoMetaDescriptor
- getCpoMetaDescriptorNames() - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the names of all meta descriptors currently loaded.
- getCpoTransform() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the transform instance configured for this attribute, if any.
- getCpoTrxAdapter() - Method in interface org.synchronoss.cpo.core.CpoAdapterFactory
-
Gets a
CpoTrxAdapterpinned to a single connection/session for explicit transaction control (commit/rollback/close). - getCpoTrxAdapter() - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Gets a
CpoTrxAdapterfor the default configuration context. - getCpoTrxAdapter(String) - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Gets a
CpoTrxAdapterfor the named configuration context. - getCpoXaAdapter() - Method in interface org.synchronoss.cpo.core.CpoAdapterFactory
-
Gets a
CpoXaResourcethat participates in a JTA-managed distributed transaction. - getCpoXaAdapter() - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Gets the
CpoXaResourcefor the default configuration context. - getCpoXaAdapter(String) - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Gets the
CpoXaResourcefor the named configuration context. - getDataGetterReturnType() - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Gets the type that the datastore-side value should be coerced to before being handed to the bean's setter: the setter's own parameter type, or the transform's input type if the attribute has a configured
CpoTransform. - getDataMethodMapEntry(Class<?>) - Method in class org.synchronoss.cpo.core.meta.MethodMapper
-
Gets the method map entry registered for the given Java class.
- getDataName() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Gets the name of the datastore-side column/field this attribute binds to.
- getDataSetterParamType() - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Gets the type that the bean attribute's value is coerced to before being bound to the datastore: the getter's own return type, or the transform's output type if the attribute has a configured
CpoTransform. - getDataSource() - Method in class org.synchronoss.cpo.core.AbstractDataSourceInfo
-
Gets the underlying datasource object, creating it on first access.
- getDataSource() - Method in interface org.synchronoss.cpo.core.DataSourceInfo
-
Gets the underlying datasource object, creating it on first access.
- getDataSourceName() - Method in class org.synchronoss.cpo.core.AbstractDataSourceInfo
-
Gets the configured name of this datasource, as declared in
cpoConfig.xml. - getDataSourceName() - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Get the name of the datasource
- getDataSourceName() - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- getDataSourceName() - Method in interface org.synchronoss.cpo.core.DataSourceInfo
-
Gets the configured name of this datasource, as declared in
cpoConfig.xml. - getDataType() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Gets the name of the native datastore data type of this attribute.
- getDataTypeInt() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the integer identifier of this attribute's native data type.
- getDataTypeInt(String) - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Gets the integer identifier for a named native data type.
- getDataTypeInt(String) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Gets the integer identifier for a named native data type.
- getDataTypeInt(String) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the integer identifier for a named native data type.
- getDataTypeInt(String) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the type code for the data type registered under the given name, or the default entry's type code if none is registered.
- getDataTypeJavaClass(int) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the Java class for the data type registered under the given type code, or the default entry's Java class if none is registered.
- getDataTypeJavaClass(Integer) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the Java class for the data type registered under the given type code, or the default entry's Java class if none is registered.
- getDataTypeJavaClass(String) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the Java class for the data type registered under the given name, or the default entry's Java class if none is registered.
- getDataTypeJavaClass(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Gets the Java class that the given attribute's native data type maps to.
- getDataTypeJavaClass(CpoAttribute) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Gets the Java class that the given attribute's native data type maps to.
- getDataTypeJavaClass(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the Java class that the given attribute's native data type maps to.
- getDataTypeMapEntry(int) - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Gets the full data type mapping entry for a given native data type identifier.
- getDataTypeMapEntry(int) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Gets the full data type mapping entry for a given native data type identifier.
- getDataTypeMapEntry(int) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the full data type mapping entry for a given native data type identifier.
- getDataTypeMapEntry(int) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the data type entry registered under the given type code, or the default entry if none is registered.
- getDataTypeMapEntry(String) - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the data type entry registered under the given type name, or the default entry if none is registered.
- getDataTypeName(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Gets the Java class name that the given attribute's native data type maps to.
- getDataTypeName(CpoAttribute) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Gets the Java class name that the given attribute's native data type maps to.
- getDataTypeName(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the Java class name that the given attribute's native data type maps to.
- getDataTypeNames() - Method in class org.synchronoss.cpo.core.meta.DataTypeMapper
-
Gets the names of all registered data types.
- getDefaultPackageName() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the default Java package name used by the CPO tooling (e.g.
- getDescription() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Gets the human-readable description of this attribute, as loaded from the meta XML.
- getDescription() - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
-
Gets the human-readable description of this metadata element, as loaded from the meta XML.
- getDescription() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Gets the human-readable description of this function, as loaded from the meta XML.
- getExpression() - Method in class org.synchronoss.cpo.core.CpoNativeFunction
-
Gets the native expression text.
- getExpression() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Gets the native (SQL/CQL) expression executed by this function.
- getExpression() - Method in class org.synchronoss.cpo.core.parser.BoundExpressionParser
-
Returns the expression used by this parser
- getExpression() - Method in interface org.synchronoss.cpo.core.parser.ExpressionParser
-
Returns the expression used by this parser
- getExpressionParser() - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Gets the parser used to extract bind-marker/column information from this metadata source's native function expressions.
- getExpressionParser() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the parser used to extract bind-marker/column information from this metadata source's native function expressions.
- getFetchSize() - Method in class org.synchronoss.cpo.core.AbstractDataSourceInfo
-
Gets the number of rows the driver should fetch per round-trip when reading result sets from this datasource.
- getFetchSize() - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Get the fetch size for the datasource
- getFetchSize() - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- getFetchSize() - Method in interface org.synchronoss.cpo.core.DataSourceInfo
-
Gets the number of rows the driver should fetch per round-trip when reading result sets from this datasource.
- getFirstChild() - Method in class org.synchronoss.cpo.core.Node
-
Gets the first child node in the linked-list of children.
- getFunction() - Method in class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Gets a string representing a datasource specific function call that must be applied to the attribute that will be used for sorting.
- getFunction() - Method in interface org.synchronoss.cpo.core.CpoOrderBy
-
Gets a string representing a datasource specific function call that must be applied to the attribute that will be used for sorting.
- getFunctionGroup(Crud, String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets the function group for the given CRUD type and group name.
- getFunctionGroups() - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets all function groups defined on this class, keyed internally by CRUD type and group name.
- getFunctions() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
-
Gets the functions in this group.
- getGetterReturnType() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the return type of the bean's getter method.
- getIndex() - Method in class org.synchronoss.cpo.core.meta.AbstractBindableCpoData
-
Gets the positional index of this binding.
- getInstance(String) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the already-loaded descriptor registered under the given name.
- getInstance(String, String[], boolean) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the descriptor registered under
name, creating and loading it from one or more meta XML documents if it does not already exist. - getInstance(String, String, boolean) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the descriptor registered under
name, creating and loading it from a single meta XML document if it does not already exist. - getInstance(String, List<String>, boolean) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the descriptor registered under
name, creating and loading it from one or more meta XML documents if it does not already exist. - getInterfaceName() - Method in class org.synchronoss.cpo.core.exporter.CpoInterfaceSourceGenerator
-
Gets the name of the last interface generated.
- getJavaClass() - Method in class org.synchronoss.cpo.core.meta.MethodMapEntry
-
Gets the Java type moved by this entry's getter/setter pair.
- getJavaName() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Gets the name of the JavaBean property this attribute binds to.
- getJavaSqlMethodClass() - Method in class org.synchronoss.cpo.core.meta.MethodMapEntry
-
Gets the datastore-specific class that declares the getter/setter methods.
- getJavaType() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Gets the Java type name of the bound JavaBean property.
- getLocalizedMessage(Throwable) - Static method in class org.synchronoss.cpo.core.helper.ExceptionHelper
-
Gets the localized message of the given exception, falling back to its cause's localized message when the exception itself has none.
- getLocalLogger() - Method in class org.synchronoss.cpo.core.CpoStatementFactory
-
Gets the logger used for statement-building diagnostics.
- getLogical() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the
Logicaloperator used to join this where clause with the next one added viaCpoWhere.addWhere(CpoWhere). - getLogical() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the
Logicaloperator used to join this where clause with the next one added viaCpoWhere.addWhere(CpoWhere). - getMarker() - Method in class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Gets the string marker that this cpoOrderBy will search for in the expression to replace
- getMarker() - Method in class org.synchronoss.cpo.core.CpoNativeFunction
-
Gets the bind marker this function is associated with.
- getMarker() - Method in interface org.synchronoss.cpo.core.CpoOrderBy
-
Gets the string marker that this cpoOrderBy will search for in the expression to replace
- getMessage(Throwable) - Static method in class org.synchronoss.cpo.core.helper.ExceptionHelper
-
Gets the message of the given exception, falling back to its cause's message when the exception itself has none.
- getMetaClass() - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets the reflectively-resolved Java class this metadata describes, once
CpoClass.loadRunTimeInfo(CpoMetaDescriptor)has been called. - getMetaClass(T) - Method in class org.synchronoss.cpo.core.meta.AbstractCpoMetaAdapter
-
Returns the metadata for the class that is contained within the metadata source
- getMetaClass(T) - Method in interface org.synchronoss.cpo.core.meta.CpoMetaAdapter
-
Returns the metadata for the class that is contained within the metadata source
- getMetaClass(T) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Returns the metadata for the class that is contained within the metadata source
- getMethodType() - Method in class org.synchronoss.cpo.core.meta.MethodMapEntry
-
Gets the method type of this entry.
- getName() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets a string representing the name of this instance of the CpoOrderBy
- getName() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets a string representing the name of this instance of the CpoOrderBy
- getName() - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
-
Gets the name of this metadata element.
- getName() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Gets the name of this function.
- getName() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets the name this descriptor is registered under.
- getNextSibling() - Method in class org.synchronoss.cpo.core.Node
-
Gets the next sibling for this node in the linked list of Nodes.
- getNot() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets whether this where clause's comparison result is negated.
- getNot() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets whether this where clause's comparison result is negated.
- getParentNode() - Method in class org.synchronoss.cpo.core.Node
-
Gets the parent node for this node
- getPrevSibling() - Method in class org.synchronoss.cpo.core.Node
-
Gets the previous sibling for this node in the linked list of Nodes.
- getResource() - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Gets the underlying resource associated with this branch.
- getResourceAsStream(String) - Static method in class org.synchronoss.cpo.core.helper.CpoClassLoader
-
Loads a classpath resource, first via this class's own classloader, then falling back to the current thread's context classloader.
- getRightAttribute() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the name of the bean attribute to compare against, when comparing two attributes rather than an attribute and a literal value.
- getRightAttribute() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the name of the bean attribute to compare against, when comparing two attributes rather than an attribute and a literal value.
- getRightAttributeFunction() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the native datastore function applied to the right-hand attribute before comparison.
- getRightAttributeFunction() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the native datastore function applied to the right-hand attribute before comparison.
- getRs() - Method in class org.synchronoss.cpo.core.meta.ResultSetCpoData
-
Gets the datastore-specific result row object this instance reads from.
- getRsGetter() - Method in class org.synchronoss.cpo.core.meta.MethodMapEntry
-
Gets the getter method used to read the value from the datastore.
- getSetterParamType() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the parameter type expected by the bean's setter method.
- getSourceCode() - Method in class org.synchronoss.cpo.core.exporter.CpoClassSourceGenerator
-
Gets the full generated Java source for the class last visited.
- getSourceCode() - Method in class org.synchronoss.cpo.core.exporter.CpoInterfaceSourceGenerator
-
Gets the full generated Java source for the interface last visited.
- getSourceCode() - Method in class org.synchronoss.cpo.core.exporter.CpoLegacyClassSourceGenerator
- getStaticValue() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the literal, unescaped value used in place of a bound comparison value.
- getStaticValue() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the literal, unescaped value used in place of a bound comparison value.
- getTransactionTimeout() - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Obtains the current transaction timeout value set for this XAResource instance.
- getTransformClassName() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Gets the fully-qualified class name of the
CpoTransformto apply to this attribute's value, if any. - getTransformInMethod() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the resolved
transformInmethod of the configured transform. - getTransformInParamType() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the parameter type of the configured transform's
transformInmethod. - getTransformOutMethod() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the resolved
transformOutmethod of the configured transform. - getType() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionGroupBean
-
Gets the CRUD type of this function group (e.g.
- getValue() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the literal value the attribute is compared against.
- getValue() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the literal value the attribute is compared against.
- getValueFunction() - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Gets the native datastore function applied to the comparison value before comparison.
- getValueFunction() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets the native datastore function applied to the comparison value before comparison.
- getWhereClause() - Method in class org.synchronoss.cpo.core.BindableWhereBuilder
-
Gets the native where-clause text accumulated so far by visiting the tree.
- getXid() - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Gets the global transaction identifier for this branch.
- getXidStateMap() - Method in class org.synchronoss.cpo.core.jta.CpoXaStateMap
-
Gets the map of all transaction branches currently tracked.
- group(String) - Static method in record class org.synchronoss.cpo.core.CpoQuery
-
A query against the named function group.
- groupName() - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Returns the value of the
groupNamerecord component. - GT - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The greater than operator
- GTEQ - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The greater than or equal to operator
H
- hashCode() - Method in record class org.synchronoss.cpo.core.BindAttribute
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Returns a hash code value for this object.
- hashCode() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
- hashCode() - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
- hashCode() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
- hashCode() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionGroupBean
- hashCode() - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class org.synchronoss.cpo.core.Node
- hasParent() - Method in class org.synchronoss.cpo.core.Node
-
Checks to see if this node has a parent.
I
- IN - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The in operator
- insertBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates the bean in the datasource using the named CREATE function group.
- insertBean(CpoQuery, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates the bean in the datasource using the query's CREATE function group.
- insertBean(CpoQuery, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- insertBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates the bean in the datasource using the default CREATE function group.
- insertBeans(String, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates the beans in the datasource using the named CREATE function group.
- insertBeans(List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates the beans in the datasource using the default CREATE function group.
- insertBeans(CpoQuery, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates the beans in the datasource using the query's CREATE function group, batching where the datasource supports it.
- insertBeans(CpoQuery, List<T>) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- insertParentAfter(Node) - Method in class org.synchronoss.cpo.core.Node
-
Inserts a new Parent Node as a child of this node and moves all pre-existing children to be children of the new Parent Node.
- insertParentBefore(Node) - Method in class org.synchronoss.cpo.core.Node
-
Inserts a new Parent into the tree structure and adds this node as its child.
- insertSiblingAfter(Node) - Method in class org.synchronoss.cpo.core.Node
-
Adds a Sibling immediately following this Node.
- insertSiblingBefore(Node) - Method in class org.synchronoss.cpo.core.Node
-
Inserts a Sibling into the linked list just prior to this Node
- invokeGetter() - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Invokes the bean's getter for the bound attribute.
- invokeGetter() - Method in interface org.synchronoss.cpo.core.CpoData
-
Invokes the bean's getter for the bound attribute.
- invokeGetter() - Method in class org.synchronoss.cpo.core.meta.ResultSetCpoData
-
Invokes the bean's getter for the bound attribute.
- invokeGetter(Object) - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Invokes the bean's getter method to read this attribute's value.
- invokeSetter(Object) - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Invokes the bean's setter for the bound attribute.
- invokeSetter(Object) - Method in interface org.synchronoss.cpo.core.CpoData
-
Invokes the bean's setter for the bound attribute.
- invokeSetter(Object, CpoData) - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Invokes the bean's setter method, passing the value read from
cpoData. - isCaseSensitive() - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets whether this descriptor matches attribute data names case-sensitively.
- isClosed() - Method in interface org.synchronoss.cpo.core.CpoTrxAdapter
-
Returns true if the TrxAdapter has been closed, false if it is still active
- isLeaf() - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Gets whether this instance is a leaf node (a single comparison) rather than a branch node formed by
CpoWhere.addWhere(CpoWhere). - isLeaf() - Method in class org.synchronoss.cpo.core.Node
-
Checks to see if this node is a leaf node, that is, if it has no children.
- ISNULL - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The is null operator
- isPrepared() - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Gets whether this branch has been prepared as part of two-phase commit.
- isPrimitiveAssignableFrom(Class<?>, Class<?>) - Static method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets whether one of
clazz/paramClassis a primitive type and the other is its corresponding wrapper class (e.g. - isSuccess() - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Gets whether the work done on this branch so far is considered successful.
- isValidMetaDescriptor(CpoMetaDescriptor) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Gets whether
metaDescriptoris registered in the descriptor cache under its own name.
J
- javaClass() - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Returns the value of the
javaClassrecord component.
L
- LIKE - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The like operator
- LIST - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by CPO.
- loadAdapters() - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
LoadAdapters is responsible for loading the config file and then subsequently loading all the metadata.
- loadRunTimeInfo(CpoMetaDescriptor) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Resolves this class's reflective metadata (the concrete Java class, and each attribute's getter/setter/transform) against the classpath, if not already resolved.
- loadRunTimeInfo(CpoMetaDescriptor, Class<?>) - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Resolves this attribute's reflective getter/setter methods against
metaClass, and instantiates and resolves its configured transform (if any) viametaDescriptor. - loadXmlStream(String, StringBuilder) - Static method in class org.synchronoss.cpo.core.helper.XmlHelper
-
Resolves
xmlStrto an openInputStream, trying (in order) afile:URL, a classpath resource, and finally a plain filesystem path. - Logical - Enum Class in org.synchronoss.cpo.core.enums
-
Logical operators for where clauses
- LT - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The less than operator
- LTEQ - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The less than or equal to operator
M
- makeCpoAdapterFactory(CtDataSourceConfig) - Static method in class org.synchronoss.cpo.core.CpoAdapterFactoryManager
-
Instantiates the
dataSourceConfig's configuredCpoConfigProcessorand uses it to build aCpoAdapterFactoryfor that datasource. - makeJavaName(String) - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Converts a
SNAKE_CASEnative data type name tocamelCase, e.g. for use as a generated Java identifier. - MetaDFVisitable - Interface in org.synchronoss.cpo.core
-
Defines that a implementer of this interface allows visits from a MetaVisitor.
- MetaVisitor - Interface in org.synchronoss.cpo.core
-
This defines a depth first meta visitor.
- MetaXmlObjectExporter - Interface in org.synchronoss.cpo.core.exporter
-
XmlObject exporter for meta objects
- METHOD_TYPE_BASIC - Static variable in class org.synchronoss.cpo.core.meta.MethodMapEntry
-
The basic (default) method type: a plain getter/setter pair with no special handling.
- MethodMapEntry<J,
D> - Class in org.synchronoss.cpo.core.meta -
MethodMapEntry is a class defines the getters and setters for JDBC specific data classes
- MethodMapEntry(int, Class<J>, Class<D>, Method, Method) - Constructor for class org.synchronoss.cpo.core.meta.MethodMapEntry
-
Creates an entry describing the getter/setter pair used to move values of
javaClassto and from a datastore-specific class. - MethodMapper<T> - Class in org.synchronoss.cpo.core.meta
-
MethodMapper maps java classes to the datastore-specific getter and setter methods used to bind them.
- MethodMapper() - Constructor for class org.synchronoss.cpo.core.meta.MethodMapper
-
Creates an empty mapper with no registered entries.
N
- name() - Method in record class org.synchronoss.cpo.core.BindAttribute
-
Returns the value of the
namerecord component. - nativeExpression(CpoNativeFunction) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Adds a native expression that augments the expression stored in the metadata.
- nativeExpressions() - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Returns the value of the
nativeExpressionsrecord component. - nativeExpressions(Collection<CpoNativeFunction>) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Adds a collection of native expressions.
- NEQ - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
The not equals operator
- newOrderBy(String, boolean) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates a CpoOrderBy for the attribute and direction.
- newOrderBy(String, boolean) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- newOrderBy(String, boolean, String) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates a CpoOrderBy applying a datasource function to the attribute.
- newOrderBy(String, boolean, String) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- newOrderBy(String, String, boolean) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates a CpoOrderBy bound to a marker within the expression.
- newOrderBy(String, String, boolean) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- newOrderBy(String, String, boolean, String) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates a CpoOrderBy bound to a marker, applying a datasource function to the attribute.
- newOrderBy(String, String, boolean, String) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- newWhere() - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates an empty CpoWhere.
- newWhere() - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- newWhere(Logical, String, Comparison, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates a CpoWhere comparing the attribute to the value.
- newWhere(Logical, String, Comparison, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- newWhere(Logical, String, Comparison, T, boolean) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Creates a CpoWhere comparing the attribute to the value, optionally negated.
- newWhere(Logical, String, Comparison, T, boolean) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- Node - Class in org.synchronoss.cpo.core
-
This is a general Node class to be used to build different types of trees.
- NodeVisitor - Interface in org.synchronoss.cpo.core
-
This is the interface for the visitors to the Node Hierarchy
- NONE - Enum constant in enum class org.synchronoss.cpo.core.enums.Comparison
-
No comparison operator defined
- NONE - Enum constant in enum class org.synchronoss.cpo.core.enums.Logical
-
No operator
O
- operation - Variable in enum class org.synchronoss.cpo.core.enums.Crud
-
The string operation in this enum
- operator - Variable in enum class org.synchronoss.cpo.core.enums.Comparison
-
The string operator in this enum
- operator - Variable in enum class org.synchronoss.cpo.core.enums.Logical
-
The string operator in this enum
- OR - Enum constant in enum class org.synchronoss.cpo.core.enums.Logical
-
Logical OR operator
- orderBy(CpoOrderBy) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Adds an ordering.
- orderBys() - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Returns the value of the
orderBysrecord component. - orderBys(Collection<CpoOrderBy>) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Adds a collection of orderings.
- org.synchronoss.cpo.core - package org.synchronoss.cpo.core
- org.synchronoss.cpo.core.cache - package org.synchronoss.cpo.core.cache
- org.synchronoss.cpo.core.config - package org.synchronoss.cpo.core.config
- org.synchronoss.cpo.core.enums - package org.synchronoss.cpo.core.enums
- org.synchronoss.cpo.core.exporter - package org.synchronoss.cpo.core.exporter
- org.synchronoss.cpo.core.helper - package org.synchronoss.cpo.core.helper
- org.synchronoss.cpo.core.jta - package org.synchronoss.cpo.core.jta
- org.synchronoss.cpo.core.meta - package org.synchronoss.cpo.core.meta
- org.synchronoss.cpo.core.meta.bean - package org.synchronoss.cpo.core.meta.bean
- org.synchronoss.cpo.core.meta.domain - package org.synchronoss.cpo.core.meta.domain
- org.synchronoss.cpo.core.parser - package org.synchronoss.cpo.core.parser
- org.synchronoss.cpo.core.transform - package org.synchronoss.cpo.core.transform
P
- PARAM_META_DESCRIPTOR_NAME - Static variable in class org.synchronoss.cpo.core.exporter.XmlExporterServlet
-
Name of the request parameter that identifies which meta descriptor to export.
- parameterToString(CpoFunction) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Builds a diagnostic string describing
function's argument list: each argument's bound attribute Java type, for debugging/logging purposes. - parse() - Method in class org.synchronoss.cpo.core.parser.BoundExpressionParser
-
Returns a list of columns from the expression for each bind marker
- parse() - Method in interface org.synchronoss.cpo.core.parser.ExpressionParser
-
Returns a list of columns from the expression for each bind marker
- prepare(Xid) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.
- processCpoConfig(CtDataSourceConfig) - Method in interface org.synchronoss.cpo.core.config.CpoConfigProcessor
-
Processes a single data source configuration and builds the adapter factory it describes.
R
- recover(int) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Obtains a list of prepared transaction branches from a resource manager.
- refreshDescriptorMeta(String, List<String>) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Hot-reloads the descriptor registered under
nameby merging in the given meta XML documents, if that descriptor is currently loaded. - refreshDescriptorMeta(String, List<String>, boolean) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Hot-reloads the descriptor registered under
nameby merging in (or, ifoverwriteis set, replacing with) the given meta XML documents, if that descriptor is currently loaded. - refreshDescriptorMeta(List<String>) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Hot-reloads this descriptor by merging in the given meta XML documents.
- refreshDescriptorMeta(List<String>, boolean) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Hot-reloads this descriptor by merging in (or, if
overwriteis set, replacing with) the given meta XML documents. - release() - Method in interface org.synchronoss.cpo.core.CpoReleasable
-
release is called by the CPO framework.
- release() - Method in class org.synchronoss.cpo.core.CpoStatementFactory
-
Called by the CPO framework.
- release() - Method in class org.synchronoss.cpo.core.Node
-
Resets all the attributes to their default state.
- removeAll() - Method in class org.synchronoss.cpo.core.Node
-
Remove this node and all its children from the tree.
- removeArgument(int) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Removes the argument at the given position in this function's argument list.
- removeArgument(CpoArgument) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Removes an argument from this function's argument list.
- removeAttribute(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Removes an attribute from this class's Java-name and datastore-name indexes.
- removeChild(Node) - Method in class org.synchronoss.cpo.core.Node
-
Searches for an immediate child node and if found removes it from the linked-list of children.
- removeChildNode() - Method in class org.synchronoss.cpo.core.Node
-
Remove just this node from the tree.
- removeCpoClass(CpoClass) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Removes a
CpoClassfrom this descriptor's metadata. - removeDataNameFromMap(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Removes an attribute from the datastore-name lookup map.
- removeDataNameFromMap(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClassCaseInsensitive
-
Removes an attribute from the datastore-name lookup map.
- removeDataNameFromMap(String) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClassCaseSensitive
-
Removes an attribute from the datastore-name lookup map.
- removeFunction(CpoFunction) - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
-
Removes a function from this group.
- removeFunctionGroup(CpoFunctionGroup) - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Removes a function group from this class.
- removeInstance(String) - Static method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Removes the descriptor registered under the given name from the cache.
- ResultSetCpoData - Class in org.synchronoss.cpo.core.meta
-
Base
CpoDataimplementation for reading a bound attribute's value out of a datastore result row (e.g. a JDBCResultSetor CassandraRow). - ResultSetCpoData(MethodMapper<?>, Object, CpoAttribute, int) - Constructor for class org.synchronoss.cpo.core.meta.ResultSetCpoData
-
Creates an instance bound to a single column/attribute of the given result row.
- reThrowCpoException(Throwable, String) - Static method in class org.synchronoss.cpo.core.helper.ExceptionHelper
-
Rethrows
eas aCpoException: if it already is one it is rethrown unchanged, otherwise it is wrapped in a newCpoExceptionwith the given message. - RETRIEVE - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by CPO.
- retrieveBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves a single bean using the named RETRIEVE function group; the bean supplies the search criteria and receives the result.
- retrieveBean(CpoQuery, C, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves the first bean produced by the query's RETRIEVE function group, using separate criteria and result beans.
- retrieveBean(CpoQuery, C, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- retrieveBean(CpoQuery, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
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.
- retrieveBean(CpoQuery, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- retrieveBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves a single bean using the default RETRIEVE function group; the bean supplies the search criteria and receives the result.
- retrieveBeans(String, C) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves beans using the named LIST function group; the criteria bean type is also the result type.
- retrieveBeans(String, C, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves beans using the named LIST function group with separate criteria and result beans.
- retrieveBeans(CpoQuery, C) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves beans from the datasource using the query's LIST function group; the criteria bean type is also the result type.
- retrieveBeans(CpoQuery, C, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Retrieves beans from the datasource using the query's LIST function group, with separate criteria and result beans.
- retrieveBeans(CpoQuery, C, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- rollback() - Method in interface org.synchronoss.cpo.core.CpoTrxAdapter
-
Rollback the current transaction behind the CpoTrxAdapter
- rollback(Xid) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Informs the resource manager to roll back work done on behalf of a transaction branch.
S
- setAssignedResourceManager(CpoBaseXaResource<T>) - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Sets the resource manager instance currently associated with this branch.
- setAssociation(int) - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Sets the association state.
- setAttribute(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets the name of the bean attribute on the left-hand side of the comparison.
- setAttribute(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets the name of the bean attribute on the left-hand side of the comparison.
- setAttribute(CpoAttribute) - Method in class org.synchronoss.cpo.core.meta.domain.CpoArgument
-
Sets the attribute bound to this argument, and updates this argument's name to match the attribute's Java name.
- setAttributeFunction(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets a native datastore function (e.g.
- setAttributeFunction(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets a native datastore function (e.g.
- setBatchSize(int) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
set the batch size for updating the datasource
- setBatchSize(int) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- setBindValues(Collection<BindAttribute>) - Method in class org.synchronoss.cpo.core.CpoStatementFactory
-
Called by the CPO Framework.
- setComparison(Comparison) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets the
Comparisonoperator (e.g. equals, greater-than) used to compare the attribute against the value or right-hand attribute. - setComparison(Comparison) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets the
Comparisonoperator (e.g. equals, greater-than) used to compare the attribute against the value or right-hand attribute. - setCpoAttribute(CpoAttribute) - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Sets the attribute this instance moves data for.
- setDataName(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Sets the name of the datastore-side column/field this attribute binds to.
- setDataType(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Sets the name of the native datastore data type of this attribute.
- setDataTypeInt(int) - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Sets the integer identifier of this attribute's native data type.
- setDefaultPackageName(String) - Method in class org.synchronoss.cpo.core.meta.CpoMetaDescriptor
-
Sets the default Java package name used by the CPO tooling.
- setDescription(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Sets the human-readable description of this attribute.
- setDescription(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
-
Sets the human-readable description of this metadata element.
- setDescription(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Sets the human-readable description of this function.
- setExpression(String) - Method in class org.synchronoss.cpo.core.CpoNativeFunction
-
Sets the native expression text.
- setExpression(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Sets the native (SQL/CQL) expression executed by this function.
- setExpression(String) - Method in class org.synchronoss.cpo.core.parser.BoundExpressionParser
-
Sets the expression to be used for this parser
- setExpression(String) - Method in interface org.synchronoss.cpo.core.parser.ExpressionParser
-
Sets the expression to be used for this parser
- setFetchSize(int) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
set the fetch size for the datasource
- setFetchSize(int) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- setFirstChild(Node) - Method in class org.synchronoss.cpo.core.Node
-
Sets the first child node in the linked-list of children.
- setJavaName(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Sets the name of the JavaBean property this attribute binds to.
- setJavaType(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Sets the Java type name of the bound JavaBean property.
- setLogical(Logical) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets the
Logicaloperator (e.g. - setLogical(Logical) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets the
Logicaloperator (e.g. - setMarker(String) - Method in class org.synchronoss.cpo.core.CpoNativeFunction
-
Sets the bind marker this function is associated with.
- setMarshallerProperties(Marshaller) - Static method in class org.synchronoss.cpo.core.helper.XmlHelper
-
Configures a JAXB
Marshallerwith CPO's standard output settings: UTF-8 encoding and formatted (indented) output. - setName(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets a string representing the name of this instance of the CpoOrderBy
- setName(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets a string representing the name of this instance of the CpoOrderBy
- setName(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
-
Sets the name of this metadata element.
- setName(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
-
Sets the name of this function.
- setNextSibling(Node) - Method in class org.synchronoss.cpo.core.Node
-
Sets the NextSibling for this node.
- setNot(boolean) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets whether this where clause's comparison result should be negated.
- setNot(boolean) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets whether this where clause's comparison result should be negated.
- setParent(Node) - Method in class org.synchronoss.cpo.core.Node
-
Sets the Parent Node for this Node.
- setPrepared(boolean) - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Sets whether this branch has been prepared (voted to commit) as part of two-phase commit.
- setPrevSibling(Node) - Method in class org.synchronoss.cpo.core.Node
-
Sets the PrevSibling for this node.
- setRightAttribute(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets the name of the bean attribute to compare against, when comparing two attributes rather than an attribute and a literal value.
- setRightAttribute(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets the name of the bean attribute to compare against, when comparing two attributes rather than an attribute and a literal value.
- setRightAttributeFunction(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets a native datastore function (e.g.
- setRightAttributeFunction(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets a native datastore function (e.g.
- setStaticValue(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets a literal, unescaped value to use in place of a bound comparison value, inserted directly into the native expression.
- setStaticValue(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets a literal, unescaped value to use in place of a bound comparison value, inserted directly into the native expression.
- setSuccess(boolean) - Method in class org.synchronoss.cpo.core.jta.CpoXaState
-
Sets whether the work done on this branch so far is considered successful.
- setTransactionTimeout(int) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Sets the current transaction timeout value for this XAResource instance.
- setTransformClassName(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
-
Sets the fully-qualified class name of the
CpoTransformto apply to this attribute's value. - setType(String) - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionGroupBean
-
Sets the CRUD type of this function group.
- setValue(Object) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets the literal value to compare the attribute against.
- setValue(Object) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets the literal value to compare the attribute against.
- setValueFunction(String) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Sets a native datastore function (e.g.
- setValueFunction(String) - Method in interface org.synchronoss.cpo.core.CpoWhere
-
Sets a native datastore function (e.g.
- start(Xid, int) - Method in class org.synchronoss.cpo.core.jta.CpoBaseXaResource
-
Starts work on behalf of a transaction branch specified in xid.
T
- toString() - Method in record class org.synchronoss.cpo.core.BindAttribute
-
Returns a string representation of this record class.
- toString() - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Returns a string representation of this record class.
- toString() - Method in class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
- toString() - Method in class org.synchronoss.cpo.core.meta.bean.CpoClassBean
- toString() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
- toString() - Method in class org.synchronoss.cpo.core.meta.bean.CpoFunctionGroupBean
- toString() - Method in record class org.synchronoss.cpo.core.meta.DataTypeMapEntry
-
Returns a string representation of this record class.
- toString() - Method in class org.synchronoss.cpo.core.meta.domain.CpoArgument
- toString() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
- toString() - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
- toString() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
- toString() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
- toString(CpoClass) - Method in class org.synchronoss.cpo.core.BindableCpoOrderBy
-
Builds the native (SQL/CQL) order-by fragment for this clause against the given class's attribute-to-column mapping.
- toString(CpoClass) - Method in class org.synchronoss.cpo.core.BindableCpoWhere
-
Builds the native (SQL/CQL) fragment for this where clause against the given class's attribute-to-column mapping.
- toString(CpoClass) - Method in interface org.synchronoss.cpo.core.CpoOrderBy
-
Builds the native (SQL/CQL) order-by fragment for this clause against the given class's attribute-to-column mapping.
- toStringFull() - Method in class org.synchronoss.cpo.core.meta.domain.CpoArgument
-
Gets the full field-by-field string representation of this argument, as produced by
CpoClassBean.toString(). - toStringFull() - Method in class org.synchronoss.cpo.core.meta.domain.CpoAttribute
-
Gets the full field-by-field string representation of this attribute, as produced by
CpoAttributeBean.toString(). - toStringFull() - Method in class org.synchronoss.cpo.core.meta.domain.CpoClass
-
Gets the full field-by-field string representation of this class, as produced by
CpoClassBean.toString(). - toStringFull() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunction
-
Gets the full field-by-field string representation of this function, as produced by
CpoFunctionBean.toString(). - toStringFull() - Method in class org.synchronoss.cpo.core.meta.domain.CpoFunctionGroup
-
Gets the full field-by-field string representation of this function group, as produced by
CpoFunctionGroupBean.toString(). - transformIn(byte[]) - Method in class org.synchronoss.cpo.core.transform.TransformStringByte
-
Converts a raw datastore value into the bean-side representation.
- transformIn(D) - Method in interface org.synchronoss.cpo.core.transform.CpoTransform
-
Converts a raw datastore value into the bean-side representation.
- transformIn(Object) - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Transforms a value read from the datastore into the form expected by the bean attribute, applying the attribute's configured transform (if any).
- transformIn(Object) - Method in interface org.synchronoss.cpo.core.CpoData
-
Transforms a value read from the datastore into the form expected by the bean attribute, applying the attribute's configured transform (if any).
- transformOut(J) - Method in interface org.synchronoss.cpo.core.transform.CpoTransform
-
Converts a bean attribute's value into the raw datastore-side representation.
- transformOut(Object) - Method in class org.synchronoss.cpo.core.AbstractCpoData
-
Transforms a value read from the bean attribute into the form expected by the datastore, applying the attribute's configured transform (if any).
- transformOut(Object) - Method in interface org.synchronoss.cpo.core.CpoData
-
Transforms a value read from the bean attribute into the form expected by the datastore, applying the attribute's configured transform (if any).
- transformOut(String) - Method in class org.synchronoss.cpo.core.transform.TransformStringByte
-
Converts a bean attribute's value into the raw datastore-side representation.
- TransformStringByte - Class in org.synchronoss.cpo.core.transform
-
Converts a String to a byte[]
- TransformStringByte() - Constructor for class org.synchronoss.cpo.core.transform.TransformStringByte
-
Creates an instance.
U
- unmarshalXmlObject(String, String, Class<T>, StringBuilder) - Static method in class org.synchronoss.cpo.core.helper.XmlHelper
-
Loads, schema-validates, and unmarshals an XML document into an instance of
objClass, using a hardened SAX parser (DOCTYPE and external entities disabled) to guard against XXE and entity-expansion attacks from untrusted input. - UPDATE - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by CPO.
- updateBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Updates the bean in the datasource using the named UPDATE function group.
- updateBean(CpoQuery, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Updates the bean in the datasource using the query's UPDATE function group.
- updateBean(CpoQuery, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- updateBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Updates the bean in the datasource using the default UPDATE function group.
- updateBeans(String, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Updates the beans in the datasource using the named UPDATE function group.
- updateBeans(List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Updates the beans in the datasource using the default UPDATE function group.
- updateBeans(CpoQuery, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Updates the beans in the datasource using the query's UPDATE function group, batching where the datasource supports it.
- updateBeans(CpoQuery, List<T>) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- UPSERT - Enum constant in enum class org.synchronoss.cpo.core.enums.Crud
-
Identifies the operation to be processed by CPO.
- upsertBean(String, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Inserts or updates the bean using the named UPSERT function group.
- upsertBean(CpoQuery, T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Inserts or updates the bean using the query's UPSERT function group: the EXIST function decides whether the CREATE or UPDATE function is executed.
- upsertBean(CpoQuery, T) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
- upsertBean(T) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Inserts or updates the bean using the default UPSERT function group.
- upsertBeans(String, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Inserts or updates the beans using the named UPSERT function group.
- upsertBeans(List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
Inserts or updates the beans using the default UPSERT function group.
- upsertBeans(CpoQuery, List<T>) - Method in interface org.synchronoss.cpo.core.CpoAdapter
-
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.
- upsertBeans(CpoQuery, List<T>) - Method in class org.synchronoss.cpo.core.CpoBaseAdapter
V
- valueOf(String) - Static method in enum class org.synchronoss.cpo.core.enums.Comparison
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.synchronoss.cpo.core.enums.Crud
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.synchronoss.cpo.core.enums.Logical
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.synchronoss.cpo.core.enums.Comparison
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.synchronoss.cpo.core.enums.Crud
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.synchronoss.cpo.core.enums.Logical
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visit(CpoArgument) - Method in class org.synchronoss.cpo.core.exporter.AbstractMetaVisitor
- visit(CpoArgument) - Method in class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
- visit(CpoArgument) - Method in interface org.synchronoss.cpo.core.MetaVisitor
-
Visits an argument node in the meta model.
- visit(CpoAttribute) - Method in class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
- visit(CpoAttribute) - Method in class org.synchronoss.cpo.core.exporter.CpoClassSourceGenerator
- visit(CpoAttribute) - Method in class org.synchronoss.cpo.core.exporter.CpoInterfaceSourceGenerator
- visit(CpoAttribute) - Method in interface org.synchronoss.cpo.core.MetaVisitor
-
Visits an attribute node in the meta model.
- visit(CpoClass) - Method in class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
- visit(CpoClass) - Method in class org.synchronoss.cpo.core.exporter.CpoClassSourceGenerator
- visit(CpoClass) - Method in class org.synchronoss.cpo.core.exporter.CpoInterfaceSourceGenerator
- visit(CpoClass) - Method in class org.synchronoss.cpo.core.exporter.CpoLegacyClassSourceGenerator
- visit(CpoClass) - Method in interface org.synchronoss.cpo.core.MetaVisitor
-
Visits a class node in the meta model.
- visit(CpoFunction) - Method in class org.synchronoss.cpo.core.exporter.AbstractMetaVisitor
- visit(CpoFunction) - Method in class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
- visit(CpoFunction) - Method in interface org.synchronoss.cpo.core.MetaVisitor
-
Visits a function node in the meta model.
- visit(CpoFunctionGroup) - Method in class org.synchronoss.cpo.core.exporter.AbstractMetaVisitor
- visit(CpoFunctionGroup) - Method in class org.synchronoss.cpo.core.exporter.CoreMetaXmlObjectExporter
- visit(CpoFunctionGroup) - Method in interface org.synchronoss.cpo.core.MetaVisitor
-
Visits a function group node in the meta model.
- visit(Node) - Method in class org.synchronoss.cpo.core.BindableWhereBuilder
-
This is called for component elements which have no children
- visit(Node) - Method in interface org.synchronoss.cpo.core.NodeVisitor
-
This is called for component elements which have no children
- visitBegin(Node) - Method in class org.synchronoss.cpo.core.BindableWhereBuilder
-
This is called by composite nodes prior to visiting children
- visitBegin(Node) - Method in interface org.synchronoss.cpo.core.NodeVisitor
-
This is called by composite nodes prior to visiting children
- visitEnd(Node) - Method in class org.synchronoss.cpo.core.BindableWhereBuilder
-
This is called by composite nodes after visiting children
- visitEnd(Node) - Method in interface org.synchronoss.cpo.core.NodeVisitor
-
This is called by composite nodes after visiting children
- visitMiddle(Node) - Method in class org.synchronoss.cpo.core.BindableWhereBuilder
-
This is called for composite nodes between visiting children
- visitMiddle(Node) - Method in interface org.synchronoss.cpo.core.NodeVisitor
-
This is called for composite nodes between visiting children
W
- where(CpoWhere) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Adds a where constraint.
- wheres() - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Returns the value of the
wheresrecord component. - wheres(Collection<CpoWhere>) - Method in record class org.synchronoss.cpo.core.CpoQuery
-
Adds a collection of where constraints.
X
- XA_ASSOCIATED - Static variable in class org.synchronoss.cpo.core.jta.CpoXaState
-
The transaction branch is currently associated with a resource manager.
- XA_HEURCOM - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_HEURCOM: the transaction branch has been heuristically committed. - XA_HEURHAZ - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_HEURHAZ: the transaction branch may have been heuristically completed. - XA_HEURMIX - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_HEURMIX: the transaction branch has been heuristically committed and rolled back. - XA_HEURRB - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_HEURRB: the transaction branch has been heuristically rolled back. - XA_NOMIGRATE - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_NOMIGRATE: resumption must occur where the suspension occurred. - XA_RBBASE - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBBASE: the inclusive lower bound of the rollback codes. - XA_RBCOMMFAIL - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBCOMMFAIL: the rollback was caused by a communication failure. - XA_RBDEADLOCK - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBDEADLOCK: a deadlock was detected. - XA_RBEND - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBEND: the inclusive upper bound of the rollback codes. - XA_RBINTEGRITY - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBINTEGRITY: a condition that violates the integrity of the resource was detected. - XA_RBOTHER - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBOTHER: the resource manager rolled back for a reason not on this list. - XA_RBPROTO - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBPROTO: a protocol error occurred in the resource manager. - XA_RBROLLBACK - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBROLLBACK: the rollback was caused by an unspecified reason. - XA_RBTIMEOUT - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBTIMEOUT: a transaction branch took too long. - XA_RBTRANSIENT - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RBTRANSIENT: may retry the transaction branch. - XA_RDONLY - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RDONLY: the transaction branch was read-only and has been committed. - XA_RETRY - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XA_RETRY: routine returned with no effect and may be reissued. - XA_SUSPENDED - Static variable in class org.synchronoss.cpo.core.jta.CpoXaState
-
The transaction branch's association has been temporarily suspended.
- XA_UNASSOCIATED - Static variable in class org.synchronoss.cpo.core.jta.CpoXaState
-
The transaction branch has no resource manager currently associated with it.
- XAER_ASYNC - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_ASYNC: an asynchronous operation is already outstanding. - XAER_DUPID - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_DUPID: theXidalready exists. - XAER_INVAL - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_INVAL: invalid arguments were given. - XAER_NOTA - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_NOTA: theXidis not valid. - XAER_OUTSIDE - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_OUTSIDE: the resource manager is doing work outside a global transaction. - XAER_PROTO - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_PROTO: the routine was invoked in an improper context. - XAER_RMERR - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_RMERR: a resource manager error occurred. - XAER_RMFAIL - Enum constant in enum class org.synchronoss.cpo.core.jta.CpoXaError
-
Mirrors
XAException.XAER_RMFAIL: the resource manager has failed and is unavailable. - XmlExporterServlet - Class in org.synchronoss.cpo.core.exporter
-
Servlet that will output the current state of a meta descriptor in the form of xml.
- XmlExporterServlet() - Constructor for class org.synchronoss.cpo.core.exporter.XmlExporterServlet
-
Constructs the servlet.
- XmlHelper - Class in org.synchronoss.cpo.core.helper
-
Static helpers for locating and safely unmarshalling CPO's XML configuration and meta data files.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form