Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Name


Definition

 Capabilities

1

Interface QueryService 

Service responsible for dealing with query related features of Data Persistence Service.


  • execute

Executes the query and presents the result as an iterator of objects queried for. Will always return the full object from the database.


  • executeProjection

Executes the query and presents the result as a list. Returns a list , of  the type of which is based on the Projection used.

  • executeProjection

Executes the query and presents the result as a list. Will return a projection with an List on which the type of data will be an list of type Object array. 

  • executeCount

Executes the query and presents the result as a count of how many instances are matched against the query.
Note: because of database limitations, at this moment this method is not optimized.

  • executeDeletion

Deletes all matching objects and where appropriate deletes any related managed object.
Note: because of database limitations, at this moment this method is not optimized.

2

Interface QueryPathService

Service responsible for dealing with path query related features of Data Persistence Service.

  • getTargetObjects

Executes the query ands gets the result as an iterable of 'full' objects queried. 

  • projectResults

Project the results from points in the query path. Projections allow the user project single data elements from the objects which were found along a query path - these elements can be modelled (i.e. persistence object attributes) or non-modelled (i.e. object fields).

...

Future Implementation of CPS SPI


Data SPI


Name


Definition

 Capabilities




Module SPI


Name


Definition

 Capabilities

1

Module Interface


Provides CRUD operations on a module set.

  • Create a module set
  • Merge a module set
  • Read all modules
  • Validate modules
  • Update a module set
  • Create a module set and validate it against a module reference (using a separate SPI)

Query SPI


Name


Definition

 Capabilities

1