|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MaintenanceDocumentService
This interface defines methods that a Maintenance Document Service must provide.
| 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. |
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. |
| Method Detail |
|---|
String getLockingDocumentId(MaintenanceDocument document)
document - - document to test
String getLockingDocumentId(Maintainable maintainable,
String documentNumber)
maintainable - - maintainable representing the document to testdocumentNumber - - the documentNumber/docHeaderId of the document to test
void deleteLocks(String documentNumber)
documentNumber - - document number whose locks should be deletedvoid storeLocks(List<MaintenanceLock> maintenanceLocks)
maintenanceLocks - - the list of maintenance locks to be stored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||