Class ComposerPackageQueueDao


public class ComposerPackageQueueDao extends AbstractDao
Provides a DAO for the ComposerPackageQueue entity.
See Also:
  • Constructor Details

    • ComposerPackageQueueDao

      public ComposerPackageQueueDao()
  • Method Details

    • getComposerPackageQueueForPK

      public ComposerPackageQueue getComposerPackageQueueForPK(Object id)
      Return the ComposerPackageQueue with the specified OID
      Parameters:
      id - the OID
      Returns:
      the matching ComposerPackageQueue, or null if not found
    • getComposerPackages

      public List<ComposerPackageQueue> getComposerPackages(String clientId, String status, Date startDate, Date endDate)
      Return the list of Composer Package Queue items.
      Parameters:
      clientId - the client identifier
      status - the deployment status
      startDate - the search start date
      endDate - the search end date
      Returns:
      the list of Composer Package Queue items
    • getPurgeComposerPackageIdList

      public List<Long> getPurgeComposerPackageIdList(Date cutoffDate, int fetchLimit)
      Return the list of OIDs of composer packages that can be purged
      Parameters:
      cutoffDate - the query cut off date
      fetchLimit - the query fetch limit
      Returns:
      the list of composer package OIDs to purge
      Since:
      5.1.0
    • createPackageQueue

      public ComposerPackageQueue createPackageQueue(String url, byte[] packageData)
      Return a new Composer Package Queue item for the given package data.
      Parameters:
      url - the load request URL
      packageData - the composer package data.
      Returns:
      a new Composer Package Queue item for the given package data.