Package org.kuali.rice.kns.document
Class MaintenanceDocumentBase
java.lang.Object
org.kuali.rice.krad.bo.DataObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
org.kuali.rice.krad.document.DocumentBase
org.kuali.rice.krad.maintenance.MaintenanceDocumentBase
org.kuali.rice.kns.document.MaintenanceDocumentBase
- All Implemented Interfaces:
Serializable,Cloneable,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.internal.weaving.PersistenceWeavedLazy,org.eclipse.persistence.internal.weaving.PersistenceWeavedRest,org.eclipse.persistence.queries.FetchGroupTracker,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,MaintenanceDocument,org.kuali.rice.krad.document.Document,org.kuali.rice.krad.document.SessionDocument,org.kuali.rice.krad.maintenance.MaintenanceDocument
@Deprecated
public class MaintenanceDocumentBase
extends org.kuali.rice.krad.maintenance.MaintenanceDocumentBase
implements MaintenanceDocument
Deprecated.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.protected org.apache.struts.upload.FormFileDeprecated.Fields inherited from class org.kuali.rice.krad.maintenance.MaintenanceDocumentBase
_persistence_attachment_vh, 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, SUB_OBJECT_MATERIALIZATION_DEPTH, xmlDocumentContentsFields inherited from class org.kuali.rice.krad.document.DocumentBase
adHocRoutePersons, adHocRouteWorkgroups, documentHeader, documentNumber, notes, pessimisticLocksFields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
extension, newCollectionRecordFields inherited from class org.kuali.rice.krad.bo.DataObjectBase
_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup, objectId, versionNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.kuali.rice.krad.service.BusinessObjectSerializerServiceDeprecated.Deprecated.Returns a reference to the PersistableBusinessObject that this MaintenanceDocument is maintaining.org.apache.struts.upload.FormFileDeprecated.Deprecated.Deprecated.booleanDeprecated.Checks old maintainable bo has key valuesvoidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidpostProcessSave(org.kuali.rice.krad.rules.rule.event.DocumentEvent event) Deprecated.this needs to happen after the document itself is saved, to preserve consistency of the ver_nbr and in the case of initial save, because this can't be saved until the document is saved initiallyprotected voidDeprecated.The attachment BO is proxied in OJB.protected voidDeprecated.voidsetFileAttachment(org.apache.struts.upload.FormFile fileAttachment) Deprecated.Methods inherited from class org.kuali.rice.krad.maintenance.MaintenanceDocumentBase
_persistence_get, _persistence_get_attachment, _persistence_get_attachment_vh, _persistence_get_attachments, _persistence_get_xmlDocumentContents, _persistence_initialize_attachment_vh, _persistence_new, _persistence_post_clone, _persistence_set, _persistence_set_attachment, _persistence_set_attachment_vh, _persistence_set_attachments, _persistence_set_xmlDocumentContents, checkAllowsRecordDeletion, checkDeletePermission, checkForLockingDocument, checkMaintenanceAction, deleteDocumentAttachment, deleteDocumentAttachmentList, doRouteStatusChange, getAllowsCopy, getAttachment, getAttachmentCollectionName, getAttachmentListPropertyName, getAttachmentPropertyName, getAttachments, getCustomLockDescriptor, getDataObjectFromXML, getDocumentDataObject, getDocumentDictionaryService, getDocumentPropertySerizabilityEvaluator, getDocumentService, getDocumentTitle, getMaintenanceAction, getMaintenanceDocumentService, getNoteTarget, getNoteType, getWorkflowDocumentService, getWorkflowEngineDocumentIdsToLock, getXmlDocumentContents, isAttachmentListPropertyNameRootLevel, isAttachmentPropertyNameRootLevel, isDisplayTopicFieldInNotes, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, isOldMaintainableInDocument, isSessionDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, prepareForSave, prepareForSave, processAfterRetrieve, serializeDocumentToXml, setAttachment, setAttachmentCollectionName, setAttachmentListPropertyName, setAttachmentPropertyName, setAttachments, setDisplayTopicFieldInNotes, setDocumentNumber, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContents, useCustomLockDescriptors, validateBusinessRulesMethods inherited from class org.kuali.rice.krad.document.DocumentBase
_persistence_get_documentNumber, _persistence_set_documentNumber, addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getActionRequests, getAdHocRouteNodeName, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getLockClearingMethodNames, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getPessimisticLocks, getSuperUserAnnotation, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postRemove, prePersist, refreshPessimisticLocks, refreshReferenceObject, removeNote, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setNewDocumentHeader, setNotes, setPessimisticLocks, setSuperUserAnnotation, toCopy, wrapDocumentWithMetadataForXmlSerializationMethods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, setExtension, setNewCollectionRecordMethods inherited from class org.kuali.rice.krad.bo.DataObjectBase
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get_objectId, _persistence_get_versionNumber, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set_objectId, _persistence_set_versionNumber, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.document.Document
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getActionRequests, getAdHocRouteNodeName, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearingMethodNames, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getSuperUserAnnotation, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, setSuperUserAnnotation, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationMethods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectIdMethods inherited from interface org.kuali.rice.krad.maintenance.MaintenanceDocument
getDocumentDataObject, getXmlDocumentContents, isDisplayTopicFieldInNotes, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, setDisplayTopicFieldInNotes, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContentsMethods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject
_persistence_shallow_clone
-
Field Details
-
ATTACHMENT
Deprecated.- See Also:
-
ATTACHMENTS
Deprecated.- See Also:
-
fileAttachment
protected transient org.apache.struts.upload.FormFile fileAttachmentDeprecated.
-
-
Constructor Details
-
MaintenanceDocumentBase
public MaintenanceDocumentBase()Deprecated. -
MaintenanceDocumentBase
Deprecated.
-
-
Method Details
-
getDocumentBusinessObject
Deprecated.Description copied from interface:MaintenanceDocumentReturns a reference to the PersistableBusinessObject that this MaintenanceDocument is maintaining.- Specified by:
getDocumentBusinessObjectin interfaceMaintenanceDocument
-
isOldBusinessObjectInDocument
public boolean isOldBusinessObjectInDocument()Deprecated.Checks old maintainable bo has key values- Specified by:
isOldBusinessObjectInDocumentin interfaceMaintenanceDocument- Returns:
- boolean - indicates whether this is an edit or new maintenace document by the existence of an old maintainable
-
getNewMaintainableObject
Deprecated.- Specified by:
getNewMaintainableObjectin interfaceMaintenanceDocument- Specified by:
getNewMaintainableObjectin interfaceorg.kuali.rice.krad.maintenance.MaintenanceDocument- Overrides:
getNewMaintainableObjectin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase- Returns:
- Maintainable which holds the new maintenance record
-
getOldMaintainableObject
Deprecated.- Specified by:
getOldMaintainableObjectin interfaceMaintenanceDocument- Specified by:
getOldMaintainableObjectin interfaceorg.kuali.rice.krad.maintenance.MaintenanceDocument- Overrides:
getOldMaintainableObjectin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase- Returns:
- Maintainable which holds the old maintenance record
-
getFileAttachment
public org.apache.struts.upload.FormFile getFileAttachment()Deprecated. -
setFileAttachment
public void setFileAttachment(org.apache.struts.upload.FormFile fileAttachment) Deprecated. -
refreshAttachment
protected void refreshAttachment()Deprecated.The attachment BO is proxied in OJB. For some reason when an attachment does not yet exist, refreshReferenceObject is not returning null and the proxy cannot be materialized. So, this method exists to properly handle the proxied attachment BO. This is a hack and should be removed post JPA migration.- Overrides:
refreshAttachmentin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
refreshAttachmentList
protected void refreshAttachmentList()Deprecated.- Overrides:
refreshAttachmentListin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
populateDocumentAttachment
public void populateDocumentAttachment()Deprecated.- Overrides:
populateDocumentAttachmentin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
populateAttachmentForBO
public void populateAttachmentForBO()Deprecated.- Overrides:
populateAttachmentForBOin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
populateAttachmentBeforeSave
public void populateAttachmentBeforeSave()Deprecated.- Overrides:
populateAttachmentBeforeSavein classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
populateBoAttachmentListBeforeSave
public void populateBoAttachmentListBeforeSave()Deprecated.- Overrides:
populateBoAttachmentListBeforeSavein classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
populateAttachmentListForBO
public void populateAttachmentListForBO()Deprecated.- Overrides:
populateAttachmentListForBOin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
populateDocumentAttachmentList
public void populateDocumentAttachmentList()Deprecated.- Overrides:
populateDocumentAttachmentListin classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
getBusinessObjectSerializerService
protected org.kuali.rice.krad.service.BusinessObjectSerializerService getBusinessObjectSerializerService()Deprecated.- Overrides:
getBusinessObjectSerializerServicein classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase
-
postProcessSave
public void postProcessSave(org.kuali.rice.krad.rules.rule.event.DocumentEvent event) Deprecated.this needs to happen after the document itself is saved, to preserve consistency of the ver_nbr and in the case of initial save, because this can't be saved until the document is saved initially- Specified by:
postProcessSavein interfaceorg.kuali.rice.krad.document.Document- Overrides:
postProcessSavein classorg.kuali.rice.krad.maintenance.MaintenanceDocumentBase- See Also:
-
MaintenanceDocumentBase.