public interface PendingDeploymentHome
extends javax.ejb.EJBLocalHome
Finder Name | Finder Description | Returns |
---|---|---|
findByPrimaryKey | one | |
findById | one | |
findCurrentDeployment | one | |
findFirstDeploymentInQueue | one | |
findLastDeploymentInQueue | one | |
findScheduledDeploymentsAfterTime | many |
Modifier and Type | Method and Description |
---|---|
int |
countOfAllPendingDeployments(java.lang.String pTargetID) |
int |
countOfAllPendingDeployments(java.lang.String[] pTargetIDs) |
int |
countOfAllPendingDeploymentsForProjects(java.lang.String[] pProjectIDs) |
int |
countOfQueuedDeployments(java.lang.String pTargetID) |
int |
countOfQueuedDeployments(java.lang.String[] pTargetIDs) |
int |
countOfScheduledDeployments(java.lang.String pTargetID) |
int |
countOfScheduledDeployments(java.lang.String[] pTargetIDs) |
PendingDeployment |
create()
Returns a new instance.
|
PendingDeployment |
create(java.lang.String pId)
Returns a new instance with the repository id set to the given id.
|
java.util.Collection |
findAllPendingDeployments(java.lang.String[] pTargetIDs,
int pStartIndex,
int pCount) |
java.util.Collection |
findAllPendingDeployments(java.lang.String pTargetID,
int pStartIndex,
int pCount) |
java.util.Collection |
findAllPendingDeploymentsForProjects(java.lang.String[] pProjectIDs,
int pStartIndex,
int pCount) |
PendingDeployment |
findById(java.lang.String pId) |
PendingDeployment |
findByPrimaryKey(java.lang.String primaryKey)
Returns the instance with the given primary key, throws
ObjectNotFoundException if the instance is not found. |
PendingDeployment |
findCurrentDeployment(java.lang.String pTargetID) |
PendingDeployment |
findFirstDeploymentInQueue(java.lang.String pTargetID) |
PendingDeployment |
findLastDeploymentInQueue(java.lang.String pTargetID) |
java.util.Collection |
findQueuedDeployments(java.lang.String[] pTargetIDs,
int pStartIndex,
int pCount) |
java.util.Collection |
findQueuedDeployments(java.lang.String pTargetID,
int pStartIndex,
int pCount) |
java.util.Collection |
findScheduledDeployments(java.lang.String[] pTargetIDs,
int pStartIndex,
int pCount) |
java.util.Collection |
findScheduledDeployments(java.lang.String pTargetID,
int pStartIndex,
int pCount) |
java.util.Collection |
findScheduledDeploymentsAfterTime(java.lang.String pTargetID,
java.sql.Timestamp pTime,
int pStartIndex,
int pCount) |
PendingDeployment |
wrapRepositoryItem(RepositoryItem pRepositoryItem) |
java.util.Collection |
wrapRepositoryItems(java.util.Collection pRepositoryItems) |
PendingDeployment create() throws javax.ejb.CreateException, javax.ejb.EJBException
EPubHomes
factory was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until PendingDeployment.writeInstance()
is called on the instance (and the transaction is committed, if the implementation is transaction-aware).javax.ejb.CreateException
javax.ejb.EJBException
PendingDeployment create(java.lang.String pId) throws javax.ejb.CreateException, javax.ejb.EJBException
EPubHomes
factory was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until PendingDeployment.writeInstance()
is called on the instance (and the transaction is committed, if the implementation is transaction-aware).javax.ejb.CreateException
javax.ejb.EJBException
PendingDeployment findByPrimaryKey(java.lang.String primaryKey) throws javax.ejb.FinderException, javax.ejb.EJBException
ObjectNotFoundException
if the instance is not found.javax.ejb.FinderException
javax.ejb.EJBException
PendingDeployment findById(java.lang.String pId) throws javax.ejb.FinderException, javax.ejb.EJBException
ObjectNotFoundException
if no such instance is found.javax.ejb.FinderException
javax.ejb.EJBException
PendingDeployment findCurrentDeployment(java.lang.String pTargetID) throws javax.ejb.FinderException, javax.ejb.EJBException
ObjectNotFoundException
if no such instance is found.javax.ejb.FinderException
javax.ejb.EJBException
PendingDeployment findFirstDeploymentInQueue(java.lang.String pTargetID) throws javax.ejb.FinderException, javax.ejb.EJBException
ObjectNotFoundException
if no such instance is found.javax.ejb.FinderException
javax.ejb.EJBException
PendingDeployment findLastDeploymentInQueue(java.lang.String pTargetID) throws javax.ejb.FinderException, javax.ejb.EJBException
ObjectNotFoundException
if no such instance is found.javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findScheduledDeploymentsAfterTime(java.lang.String pTargetID, java.sql.Timestamp pTime, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
Collection
of PendingDeployment
instances matching the criteria. The Collection.iterator()
method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
PendingDeployment wrapRepositoryItem(RepositoryItem pRepositoryItem)
java.util.Collection findAllPendingDeployments(java.lang.String[] pTargetIDs, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetIDs
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findAllPendingDeployments(java.lang.String pTargetID, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetID
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfAllPendingDeployments(java.lang.String[] pTargetIDs) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetIDs
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfAllPendingDeployments(java.lang.String pTargetID) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetID
- javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findQueuedDeployments(java.lang.String[] pTargetIDs, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetIDs
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findQueuedDeployments(java.lang.String pTargetID, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetID
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfQueuedDeployments(java.lang.String[] pTargetIDs) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetIDs
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfQueuedDeployments(java.lang.String pTargetID) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetID
- javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findScheduledDeployments(java.lang.String[] pTargetIDs, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetIDs
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findScheduledDeployments(java.lang.String pTargetID, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetID
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfScheduledDeployments(java.lang.String[] pTargetIDs) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetIDs
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfScheduledDeployments(java.lang.String pTargetID) throws javax.ejb.FinderException, javax.ejb.EJBException
pTargetID
- javax.ejb.FinderException
javax.ejb.EJBException
java.util.Collection findAllPendingDeploymentsForProjects(java.lang.String[] pProjectIDs, int pStartIndex, int pCount) throws javax.ejb.FinderException, javax.ejb.EJBException
pProjectIDs
- pStartIndex
- pCount
- javax.ejb.FinderException
javax.ejb.EJBException
int countOfAllPendingDeploymentsForProjects(java.lang.String[] pProjectIDs) throws javax.ejb.FinderException, javax.ejb.EJBException
pProjectIDs
- javax.ejb.FinderException
javax.ejb.EJBException