public class MaintenanceDocumentBase extends MaintenanceDocumentBase implements MaintenanceDocument
Modifier and Type | Field and Description |
---|---|
protected org.apache.struts.upload.FormFile |
fileAttachment |
attachment, attachmentCollectionName, attachmentListPropertyName, attachmentPropertyName, attachments, displayTopicFieldInNotes, fieldsClearedOnCopy, MAINTAINABLE_IMPL_CLASS, MAINTENANCE_ACTION_TAG_NAME, NEW_MAINTAINABLE_TAG_NAME, newMaintainableObject, NOTES_TAG_NAME, OLD_MAINTAINABLE_TAG_NAME, oldMaintainableObject, xmlDocumentContents
documentHeader, documentNumber
extension, versionNumber
Constructor and Description |
---|
MaintenanceDocumentBase() |
MaintenanceDocumentBase(String documentTypeName) |
Modifier and Type | Method and Description |
---|---|
PersistableBusinessObject |
getDocumentBusinessObject()
Returns a reference to the PersistableBusinessObject that this MaintenanceDocument is maintaining.
|
org.apache.struts.upload.FormFile |
getFileAttachment() |
Maintainable |
getNewMaintainableObject()
Get the new maintainable object
|
Maintainable |
getOldMaintainableObject()
Get the old maintainable object
|
boolean |
isOldBusinessObjectInDocument()
Checks old maintainable bo has key values
|
void |
populateAttachmentBeforeSave() |
void |
populateAttachmentForBO() |
void |
populateAttachmentListForBO() |
void |
populateBoAttachmentListBeforeSave() |
void |
populateDocumentAttachment() |
void |
populateDocumentAttachmentList() |
void |
setFileAttachment(org.apache.struts.upload.FormFile fileAttachment) |
checkAllowsRecordDeletion, checkDeletePermission, checkForLockingDocument, checkMaintenanceAction, deleteDocumentAttachment, deleteDocumentAttachmentList, doRouteStatusChange, getAllowsCopy, getAttachment, getAttachmentCollectionName, getAttachmentListPropertyName, getAttachmentPropertyName, getAttachments, getCustomLockDescriptor, getDataObjectFromXML, getDocumentDataObject, getDocumentDictionaryService, getDocumentHeaderService, getDocumentPropertySerizabilityEvaluator, getDocumentService, getDocumentTitle, getMaintenanceAction, getMaintenanceDocumentService, getNoteTarget, getNoteType, getWorkflowEngineDocumentIdsToLock, getXmlDocumentContents, isDisplayTopicFieldInNotes, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, isOldMaintainableInDocument, isSessionDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, postLoad, postProcessSave, postRemove, prepareForSave, prepareForSave, prePersist, preUpdate, processAfterRetrieve, refreshAttachment, refreshAttachmentList, serializeDocumentToXml, setAttachment, setAttachmentCollectionName, setAttachmentListPropertyName, setAttachmentPropertyName, setAttachments, setDisplayTopicFieldInNotes, setDocumentNumber, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContents, useCustomLockDescriptors, validateBusinessRules
addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getPessimisticLocks, getXmlForRouteReport, logErrors, populateDocumentForRouting, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setNewDocumentHeader, setNotes, setPessimisticLocks, toCopy, wrapDocumentWithMetadataForXmlSerialization
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postUpdate, preRemove, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDocumentDataObject, getXmlDocumentContents, isDisplayTopicFieldInNotes, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, setDisplayTopicFieldInNotes, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContents
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
refresh
toString
getVersionNumber
getObjectId
protected transient org.apache.struts.upload.FormFile fileAttachment
public MaintenanceDocumentBase()
public MaintenanceDocumentBase(String documentTypeName)
public PersistableBusinessObject getDocumentBusinessObject()
MaintenanceDocument
public boolean isOldBusinessObjectInDocument()
public Maintainable getNewMaintainableObject()
MaintenanceDocument
getNewMaintainableObject
in interface MaintenanceDocument
getNewMaintainableObject
in class MaintenanceDocumentBase
MaintenanceDocument.getNewMaintainableObject()
public Maintainable getOldMaintainableObject()
MaintenanceDocument
getOldMaintainableObject
in interface MaintenanceDocument
getOldMaintainableObject
in class MaintenanceDocumentBase
MaintenanceDocument.getOldMaintainableObject()
public org.apache.struts.upload.FormFile getFileAttachment()
public void setFileAttachment(org.apache.struts.upload.FormFile fileAttachment)
public void populateDocumentAttachment()
populateDocumentAttachment
in class MaintenanceDocumentBase
public void populateAttachmentForBO()
populateAttachmentForBO
in class MaintenanceDocumentBase
public void populateAttachmentBeforeSave()
populateAttachmentBeforeSave
in class MaintenanceDocumentBase
public void populateBoAttachmentListBeforeSave()
populateBoAttachmentListBeforeSave
in class MaintenanceDocumentBase
public void populateAttachmentListForBO()
populateAttachmentListForBO
in class MaintenanceDocumentBase
public void populateDocumentAttachmentList()
populateDocumentAttachmentList
in class MaintenanceDocumentBase
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.