|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MaintenanceDocumentService
Provides methods for working with MaintenanceDocument
(s).
Method Summary | |
---|---|
void |
deleteLocks(String documentNumber)
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)
Attempts to find any other active documents that are pending on the same maintenance record. |
String |
getLockingDocumentId(MaintenanceDocument document)
Attempts to find any other active documents that are pending on the same maintenance record. |
MaintenanceDocument |
setupNewMaintenanceDocument(String objectClassName,
String docTypeName,
String maintenanceAction)
Prepares the MaintenanceDocument on initial request |
void |
storeLocks(List<MaintenanceLock> maintenanceLocks)
Call the same-named method in the Dao, since the service has access to the Dao, but the caller doesn't. |
Method Detail |
---|
MaintenanceDocument setupNewMaintenanceDocument(String objectClassName, String docTypeName, String maintenanceAction)
MaintenanceDocument
on initial request
This includes retrieving the data object for edit or copy, clearing fields
objectClassName
- - class name for the object being maintaineddocTypeName
- - workflow doc type for the maintenance document requestedmaintenanceAction
- - indicates whether this is a new, copy, or edit maintenance
action
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 |