Issue #1543 Make DAOs public
Change-Id: I7002ff6db38e7daa9453f11e46a2e5adbb919f7a Former-commit-id:5a4dd6fbd1
[formerlyd4186178af
] [formerly06b7697553
] [formerly0743782772
[formerly06b7697553
[formerly a4bb7967b92977d21c9bea34fc5adc883ceb68c1]]] Former-commit-id:0743782772
Former-commit-id: 0129926124bc6953a319174f4ae9c67d11da1444 [formerly4e87912a9c
] Former-commit-id:a1df296e80
This commit is contained in:
parent
ec53fa98cd
commit
637c7e62c2
5 changed files with 16 additions and 20 deletions
|
@ -22,9 +22,7 @@ package com.raytheon.uf.edex.datadelivery.bandwidth.hibernate;
|
|||
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthAllocation;
|
||||
|
||||
/**
|
||||
* DAO that handles {@link BandwidthAllocation} instances. Intentionally
|
||||
* package-private as Spring reflectively creates it, and application code must
|
||||
* rely on the interface.
|
||||
* DAO that handles {@link BandwidthAllocation} instances.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -33,13 +31,14 @@ import com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthAllocation;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Feb 13, 2013 1543 djohnson Initial creation
|
||||
* Feb 22, 2013 1543 djohnson Made public as YAJSW doesn't like Spring exceptions.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author djohnson
|
||||
* @version 1.0
|
||||
*/
|
||||
class BandwidthAllocationDao extends
|
||||
public class BandwidthAllocationDao extends
|
||||
BaseBandwidthAllocationDao<BandwidthAllocation> implements IBandwidthAllocationDao {
|
||||
|
||||
/**
|
||||
|
|
|
@ -28,9 +28,7 @@ import com.raytheon.uf.edex.database.dao.SessionManagedDao;
|
|||
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthDataSetUpdate;
|
||||
|
||||
/**
|
||||
* DAO that handles {@link BandwidthDataSetUpdate} instances. Intentionally
|
||||
* package-private as Spring reflectively creates it, and application code must
|
||||
* rely on the interface.
|
||||
* DAO that handles {@link BandwidthDataSetUpdate} instances.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -39,13 +37,14 @@ import com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthDataSetUpdate;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Feb 13, 2013 1543 djohnson Initial creation
|
||||
* Feb 22, 2013 1543 djohnson Made public as YAJSW doesn't like Spring exceptions.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author djohnson
|
||||
* @version 1.0
|
||||
*/
|
||||
class BandwidthDataSetUpdateDao extends
|
||||
public class BandwidthDataSetUpdateDao extends
|
||||
SessionManagedDao<Long, BandwidthDataSetUpdate> implements IBandwidthDataSetUpdateDao {
|
||||
|
||||
private static final String GET_DATASETMETADATA_BY_PROVIDER_AND_DATASET = "from BandwidthDataSetUpdate d where "
|
||||
|
|
|
@ -29,9 +29,7 @@ import com.raytheon.uf.edex.database.dao.SessionManagedDao;
|
|||
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthSubscription;
|
||||
|
||||
/**
|
||||
* Data access object for {@link BandwidthSubscription} instances. Intentionally
|
||||
* package-private as Spring reflectively creates it, and application code must
|
||||
* rely on the interface.
|
||||
* Data access object for {@link BandwidthSubscription} instances.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -40,13 +38,14 @@ import com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthSubscription;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Feb 07, 2013 1543 djohnson Initial creation
|
||||
* Feb 22, 2013 1543 djohnson Made public as YAJSW doesn't like Spring exceptions.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author djohnson
|
||||
* @version 1.0
|
||||
*/
|
||||
class BandwidthSubscriptionDao extends
|
||||
public class BandwidthSubscriptionDao extends
|
||||
SessionManagedDao<Long, BandwidthSubscription> implements
|
||||
IBandwidthSubscriptionDao {
|
||||
|
||||
|
|
|
@ -29,9 +29,7 @@ import org.hibernate.jdbc.Work;
|
|||
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.SubscriptionRetrieval;
|
||||
|
||||
/**
|
||||
* * DAO that handles {@link SubscriptionRetrieval} instances. Intentionally
|
||||
* package-private as Spring reflectively creates it, and application code must
|
||||
* rely on the interface.
|
||||
* * DAO that handles {@link SubscriptionRetrieval} instances.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -40,13 +38,14 @@ import com.raytheon.uf.edex.datadelivery.bandwidth.dao.SubscriptionRetrieval;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Feb 13, 2013 1543 djohnson Initial creation
|
||||
* Feb 22, 2013 1543 djohnson Made public as YAJSW doesn't like Spring exceptions.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author djohnson
|
||||
* @version 1.0
|
||||
*/
|
||||
class SubscriptionRetrievalDao extends
|
||||
public class SubscriptionRetrievalDao extends
|
||||
BaseBandwidthAllocationDao<SubscriptionRetrieval> implements ISubscriptionRetrievalDao {
|
||||
|
||||
private static final String GET_SUBSCRIPTIONRETRIEVAL_BY_PROVIDER_AND_DATASET_BASE = "from SubscriptionRetrieval sr where "
|
||||
|
|
|
@ -23,8 +23,7 @@ import com.raytheon.uf.edex.datadelivery.retrieval.db.RetrievalRequestRecord.Sta
|
|||
|
||||
/**
|
||||
*
|
||||
* DAO for {@link RetrievalRequestRecord} entities. Intentionally
|
||||
* package-private as all access should be through the Spring set interface.
|
||||
* DAO for {@link RetrievalRequestRecord} entities.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -35,6 +34,7 @@ import com.raytheon.uf.edex.datadelivery.retrieval.db.RetrievalRequestRecord.Sta
|
|||
* Jan 30, 2013 1543 djohnson Add SW history.
|
||||
* Feb 07, 2013 1543 djohnson Use session management code.
|
||||
* Feb 13, 2013 1543 djohnson Exported interface which is now implemented.
|
||||
* Feb 22, 2013 1543 djohnson Made public as YAJSW doesn't like Spring exceptions.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,7 +44,7 @@ import com.raytheon.uf.edex.datadelivery.retrieval.db.RetrievalRequestRecord.Sta
|
|||
@Repository
|
||||
@Transactional
|
||||
// TODO: Split service functionality from DAO functionality
|
||||
class RetrievalDao extends
|
||||
public class RetrievalDao extends
|
||||
SessionManagedDao<RetrievalRequestRecordPK, RetrievalRequestRecord> implements IRetrievalDao {
|
||||
|
||||
private static final IUFStatusHandler statusHandler = UFStatus
|
||||
|
@ -53,7 +53,7 @@ class RetrievalDao extends
|
|||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
RetrievalDao() {
|
||||
public RetrievalDao() {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue