wt.fc
Interface PersistenceManagerSvr

All Known Implementing Classes:
StandardPersistenceManager

public interface PersistenceManagerSvr

The PersistenceManagerSvr interface identifies the set of PersistentManager methods that are invokable only from classes running in the method server

Supported API: true

Extendable: false


Method Summary
 int execute(AbstractBatchSpec a_batchSpec)
          This method executes a batch update or delete operation on the specified Batch Specification.
 QueryResult query(StatementSpec a_statementSpec)
          Retrieves persistable objects from the datastore given the specified statement.
 void query(StatementSpec a_statementSpec, ResultProcessor a_resultProcessor)
          Retrieves persistable objects from the datastore for the specified statement.
 Persistable store(Persistable obj, Timestamp createDate, Timestamp modifyDate)
          Stores the given Persistable object in the datastore with the given timestamps.
 

Method Detail

query

QueryResult query(StatementSpec a_statementSpec)
                  throws WTException
Retrieves persistable objects from the datastore given the specified statement. This method provides low level access to the database and bypasses access control operations.

Supported API: true

Parameters:
a_statementSpec - The statement instance specifying the query to execute.
Returns:
QueryResult
Throws:
WTException

store

Persistable store(Persistable obj,
                  Timestamp createDate,
                  Timestamp modifyDate)
                  throws WTException
Stores the given Persistable object in the datastore with the given timestamps. The store method ensures that the operation is valid before storing the Persistable object in the datastore.

Supported API: true

Parameters:
obj -
createDate -
modifyDate -
Returns:
Persistable
Throws:
WTException

query

void query(StatementSpec a_statementSpec,
           ResultProcessor a_resultProcessor)
           throws WTException
Retrieves persistable objects from the datastore for the specified statement. The objects are returned via the specified ResultProcessor. This method provides low level access to the database and bypasses access control operations.

Supported API: true

Parameters:
a_statementSpec -
a_resultProcessor -
Throws:
WTException

execute

int execute(AbstractBatchSpec a_batchSpec)
            throws WTException
This method executes a batch update or delete operation on the specified Batch Specification.

Supported API: true

Parameters:
a_batchSpec - Batch Specification to execute.
Returns:
int
Throws:
WTException