org.kuali.kfs.module.purap.dataaccess.impl
Class SensitiveDataDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.module.purap.dataaccess.impl.SensitiveDataDaoOjb
All Implemented Interfaces:
SensitiveDataDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class SensitiveDataDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements SensitiveDataDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SensitiveDataDaoOjb()
           
 
Method Summary
 void deletePurchaseOrderSensitiveDatas(Integer poId)
          Deletes all sensitive data entries assigned to the specified purchase order.
 SensitiveDataAssignment getLastSensitiveDataAssignment(Integer poId)
          Gets the latest sensitive data assignment for the specified purchase order.
 List<SensitiveData> getSensitiveDatasAssignedByPoId(Integer poId)
          Gets all sensitive data entries assigned to the specified purchase order.
 List<SensitiveData> getSensitiveDatasAssignedByReqId(Integer reqId)
          Gets all sensitive data entries assigned to the specified purchase order.
 void savePurchaseOrderSensitiveDatas(List<PurchaseOrderSensitiveData> posds)
          Saves the specified list of PurchaseOrderSensitiveData objects into the database.
 void saveSensitiveDataAssignment(SensitiveDataAssignment sda)
          Saves the specified SensitiveDataAssignment object into the database.
 void saveSensitiveDataAssignmentDetails(List<SensitiveDataAssignmentDetail> sdads)
          Saves the specified list of SensitiveDataAssignmentDetail objects into the database.
 
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensitiveDataDaoOjb

public SensitiveDataDaoOjb()
Method Detail

getSensitiveDatasAssignedByPoId

public List<SensitiveData> getSensitiveDatasAssignedByPoId(Integer poId)
Description copied from interface: SensitiveDataDao
Gets all sensitive data entries assigned to the specified purchase order.

Specified by:
getSensitiveDatasAssignedByPoId in interface SensitiveDataDao
Parameters:
poId - the ID of the specified purchase order
Returns:
a list of sensitive data entries assigned to the PO
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#getSensitiveDatasAssignedByPoId(java.lang.Integer)

getSensitiveDatasAssignedByReqId

public List<SensitiveData> getSensitiveDatasAssignedByReqId(Integer reqId)
Description copied from interface: SensitiveDataDao
Gets all sensitive data entries assigned to the specified purchase order.

Specified by:
getSensitiveDatasAssignedByReqId in interface SensitiveDataDao
Parameters:
reqId - the ID of the requisition that's associated with the purchase order
Returns:
a list of sensitive data entries assigned to the PO
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#getSensitiveDatasAssignedByReqId(java.lang.Integer)

deletePurchaseOrderSensitiveDatas

public void deletePurchaseOrderSensitiveDatas(Integer poId)
Description copied from interface: SensitiveDataDao
Deletes all sensitive data entries assigned to the specified purchase order.

Specified by:
deletePurchaseOrderSensitiveDatas in interface SensitiveDataDao
Parameters:
poId - the ID of the PO
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#deletePurchaseOrderSensitiveDatas(java.lang.Integer)

savePurchaseOrderSensitiveDatas

public void savePurchaseOrderSensitiveDatas(List<PurchaseOrderSensitiveData> posds)
Description copied from interface: SensitiveDataDao
Saves the specified list of PurchaseOrderSensitiveData objects into the database.

Specified by:
savePurchaseOrderSensitiveDatas in interface SensitiveDataDao
Parameters:
posds - the PurchaseOrderSensitiveData objects to be saved
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#savePurchaseOrderSensitiveDatas(List)

getLastSensitiveDataAssignment

public SensitiveDataAssignment getLastSensitiveDataAssignment(Integer poId)
Description copied from interface: SensitiveDataDao
Gets the latest sensitive data assignment for the specified purchase order.

Specified by:
getLastSensitiveDataAssignment in interface SensitiveDataDao
Parameters:
poId - the ID of the specified PO
Returns:
the latest sensitive data assignment for the PO
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#getLastSensitiveDataAssignment(java.lang.Integer)

saveSensitiveDataAssignment

public void saveSensitiveDataAssignment(SensitiveDataAssignment sda)
Description copied from interface: SensitiveDataDao
Saves the specified SensitiveDataAssignment object into the database.

Specified by:
saveSensitiveDataAssignment in interface SensitiveDataDao
Parameters:
sda - the SensitiveDataAssignment object to be saved
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#saveSensitiveDataAssignment(SensitiveDataAssignment)

saveSensitiveDataAssignmentDetails

public void saveSensitiveDataAssignmentDetails(List<SensitiveDataAssignmentDetail> sdads)
Description copied from interface: SensitiveDataDao
Saves the specified list of SensitiveDataAssignmentDetail objects into the database.

Specified by:
saveSensitiveDataAssignmentDetails in interface SensitiveDataDao
Parameters:
sdads - the SensitiveDataAssignmentDetail objects to be saved
See Also:
org.kuali.kfs.integration.service.SensitiveDataDaoe#saveSensitiveDataAssignmentDetails(List)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.