Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.shared.services.api
Interface JbpmServicesPersistenceManager

All Known Implementing Classes:
  JbpmServicesPersistenceManagerImpl

    public interface JbpmServicesPersistenceManager

Method Summary
`HashMap<String,Object>` | `addParametersToMap(Object... parameterValues)`
`void` | `dispose()`
`int` | `executeUpdateString(String updateString)`
`
`<T> T`
` | `find(Class<T> entityClass, Object primaryKey)`
`
`<T> T`
` | `merge(T entity)`
`void` | `persist(Object entity)`
`Object` | `queryInTransaction(String queryName)`
`Object` | `queryStringInTransaction(String queryString)`
`Object` | `queryStringWithParametersInTransaction(String queryString, Map<String,Object> params)`
`Object` | `queryWithParametersInTransaction(String queryName, Map<String,Object> params)` It is strongly suggested that you only use this method within a transaction!!
`void` | `remove(Object entity)`

Method Detail

### queryWithParametersInTransaction

    Object queryWithParametersInTransaction(String queryName,
                                            Map<String,Object> params)

  It is strongly suggested that you only use this method within a transaction!! PostgreSQL and DB2 are 2 databases which, depending on your situation, will probably require this.

  Parameters:
    `queryString` - The JPQL query string to execute.
  Returns:
    The result of the query.

### queryInTransaction

    Object queryInTransaction(String queryName)

### queryStringInTransaction

    Object queryStringInTransaction(String queryString)

### queryStringWithParametersInTransaction

    Object queryStringWithParametersInTransaction(String queryString,
                                                  Map<String,Object> params)

### executeUpdateString

    int executeUpdateString(String updateString)

### addParametersToMap

    HashMap<String,Object> addParametersToMap(Object... parameterValues)

### remove

    void remove(Object entity)

### merge

    <T> T merge(T entity)

### dispose

    void dispose()

### find

    <T> T find(Class<T> entityClass,
               Object primaryKey)

### persist

    void persist(Object entity)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.