public class BundleActionsGetJPAExecutor extends Object implements JPAExecutor<List<BundleActionBean>>
Constructor and Description |
---|
BundleActionsGetJPAExecutor(String bundleId)
The constructor for class
BundleActionsGetJPAExecutor |
Modifier and Type | Method and Description |
---|---|
List<BundleActionBean> |
execute(javax.persistence.EntityManager em)
Method that encapsulates JPA access operations.
|
String |
getName()
Return the name of the JPA executor.
|
public BundleActionsGetJPAExecutor(String bundleId)
BundleActionsGetJPAExecutor
bundleId
- bundle job idpublic String getName()
JPAExecutor
getName
in interface JPAExecutor<List<BundleActionBean>>
public List<BundleActionBean> execute(javax.persistence.EntityManager em) throws JPAExecutorException
JPAExecutor
EntityManager
.
Implementations should commit any transaction before ending, else the transaction will be rolled back.execute
in interface JPAExecutor<List<BundleActionBean>>
em
- an active EntityManager
JPAExecutorException
- thrown if a jpa executor failedCopyright © 2015 Apache Software Foundation. All Rights Reserved.