|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.service.impl.MaintenanceDocumentServiceImpl
@Transactional public class MaintenanceDocumentServiceImpl
This class is the service implementation for the MaintenanceDocument structure. This is the default implementation, that is delivered with Kuali.
Field Summary | |
---|---|
private MaintenanceDocumentDao |
maintenanceDocumentDao
|
Constructor Summary | |
---|---|
MaintenanceDocumentServiceImpl()
|
Method Summary | |
---|---|
void |
deleteLocks(String documentNumber)
This method is here to call the same-named method in the Dao, since the service has access to the Dao, but the caller doesn't. |
String |
getLockingDocumentId(Maintainable maintainable,
String documentNumber)
This method attempts to find any other active documents that are pending on the same maintenance record. |
String |
getLockingDocumentId(MaintenanceDocument document)
This method attempts to find any other active documents that are pending on the same maintenance record. |
MaintenanceDocumentDao |
getMaintenanceDocumentDao()
|
void |
setMaintenanceDocumentDao(MaintenanceDocumentDao maintenanceDocumentDao)
|
void |
storeLocks(List<MaintenanceLock> maintenanceLocks)
This method is here to call the same-named method in the Dao, since the service has access to the Dao, but the caller doesn't. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MaintenanceDocumentDao maintenanceDocumentDao
Constructor Detail |
---|
public MaintenanceDocumentServiceImpl()
Method Detail |
---|
public String getLockingDocumentId(MaintenanceDocument document)
MaintenanceDocumentService
getLockingDocumentId
in interface MaintenanceDocumentService
document
- - document to test
MaintenanceDocumentService.getLockingDocumentId(org.kuali.rice.kns.document.MaintenanceDocument)
public String getLockingDocumentId(Maintainable maintainable, String documentNumber)
MaintenanceDocumentService
getLockingDocumentId
in interface MaintenanceDocumentService
maintainable
- - maintainable representing the document to testdocumentNumber
- - the documentNumber/docHeaderId of the document to test
MaintenanceDocumentService.getLockingDocumentId(org.kuali.rice.kns.maintenance.Maintainable, java.lang.String)
public void deleteLocks(String documentNumber)
MaintenanceDocumentService
deleteLocks
in interface MaintenanceDocumentService
documentNumber
- - document number whose locks should be deletedMaintenanceDocumentService.deleteLocks(String)
public void storeLocks(List<MaintenanceLock> maintenanceLocks)
MaintenanceDocumentService
storeLocks
in interface MaintenanceDocumentService
maintenanceLocks
- - the list of maintenance locks to be storedorg.kuali.rice.kns.service.MaintenanceDocumentService#saveLocks(List)
public MaintenanceDocumentDao getMaintenanceDocumentDao()
public void setMaintenanceDocumentDao(MaintenanceDocumentDao maintenanceDocumentDao)
maintenanceDocumentDao
- The maintenanceDocumentDao to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |