public class BundleActionsCountForJobGetJPAExecutor extends Object implements JPAExecutor<Integer>
Constructor and Description |
---|
BundleActionsCountForJobGetJPAExecutor(String bundleJobId) |
public BundleActionsCountForJobGetJPAExecutor(String bundleJobId)
public String getName()
JPAExecutor
getName
in interface JPAExecutor<Integer>
public Integer 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<Integer>
em
- an active EntityManager
JPAExecutorException
- thrown if a jpa executor failedCopyright © 2014 Apache Software Foundation. All Rights Reserved.