public class MaintenanceDocumentDaoJpa extends Object implements MaintenanceDocumentDao
Constructor and Description |
---|
MaintenanceDocumentDaoJpa() |
Modifier and Type | Method and Description |
---|---|
void |
deleteLocks(String documentNumber)
This method deletes the locks for the given document number.
|
javax.persistence.EntityManager |
getEntityManager() |
String |
getLockingDocumentNumber(String lockingRepresentation,
String documentNumber)
This method looks for a document that is locking the given lockingRepresentation.
|
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
void |
storeLocks(List<MaintenanceLock> maintenanceLocks)
This method stores the given list of maintenance locks.
|
public MaintenanceDocumentDaoJpa()
public String getLockingDocumentNumber(String lockingRepresentation, String documentNumber)
MaintenanceDocumentDao
getLockingDocumentNumber
in interface MaintenanceDocumentDao
lockingRepresentation
- - locking representation to check fordocumentNumber
- - document number to ignore, optional argumentMaintenanceDocumentDao.getLockingDocumentNumber(java.lang.String, java.lang.String)
public void deleteLocks(String documentNumber)
MaintenanceDocumentDao
deleteLocks
in interface MaintenanceDocumentDao
documentNumber
- - document number whose locks should be deletedMaintenanceDocumentDao.deleteLocks(java.lang.String)
public void storeLocks(List<MaintenanceLock> maintenanceLocks)
MaintenanceDocumentDao
storeLocks
in interface MaintenanceDocumentDao
maintenanceLocks
- - the list of maintenance locks to be storedMaintenanceDocumentDao.storeLocks(java.util.List)
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.