|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.dao.impl.MaintenanceDocumentDaoJpa
public class MaintenanceDocumentDaoJpa
This class is the JPA implementation of the MaintenanceDocumentDao interface.
Constructor Summary | |
---|---|
MaintenanceDocumentDaoJpa()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaintenanceDocumentDaoJpa()
Method Detail |
---|
public String getLockingDocumentNumber(String lockingRepresentation, String documentNumber)
MaintenanceDocumentDao
getLockingDocumentNumber
in interface MaintenanceDocumentDao
lockingRepresentation
- - locking representation to check fordocumentNumber
- - document number to ignore, optional argument
MaintenanceDocumentDao.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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |