org.kuali.rice.krms.impl.rule
Class AgendaEditorMaintenanceDocumentDummy

java.lang.Object
  extended by org.kuali.rice.krms.impl.rule.AgendaEditorMaintenanceDocumentDummy
All Implemented Interfaces:
Serializable, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject, Document, MaintenanceDocument

public class AgendaEditorMaintenanceDocumentDummy
extends Object
implements MaintenanceDocument

See Also:
Serialized Form

Field Summary
protected  Maintainable newMaintainableObject
           
protected  Maintainable oldMaintainableObject
           
 
Constructor Summary
AgendaEditorMaintenanceDocumentDummy()
           
 
Method Summary
 void addNote(Note note)
           
 void addPessimisticLock(PessimisticLock lock)
           
 void afterActionTaken(ActionType performed, ActionTakenEvent event)
           
 void afterWorkflowEngineProcess(boolean successfullyProcessed)
           
 void beforeWorkflowEngineProcess()
           
 List<Collection<PersistableBusinessObject>> buildListOfDeletionAwareLists()
           
 void doActionTaken(ActionTakenEvent event)
           
 void doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
           
 void doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
           
 List<KualiDocumentEvent> generateSaveEvents()
           
 List<AdHocRoutePerson> getAdHocRoutePersons()
           
 List<AdHocRouteWorkgroup> getAdHocRouteWorkgroups()
           
 boolean getAllowsCopy()
           
 String getBasePathToDocumentDuringSerialization()
           
 String getCustomLockDescriptor(Person user)
           
 Object getDocumentDataObject()
           
 DocumentHeader getDocumentHeader()
           
 String getDocumentNumber()
           
 PropertySerializabilityEvaluator getDocumentPropertySerizabilityEvaluator()
           
 String getDocumentTitle()
           
 PersistableBusinessObjectExtension getExtension()
           
 List<String> getLockClearningMethodNames()
           
 Maintainable getNewMaintainableObject()
           
 Note getNote(int index)
           
 List<Note> getNotes()
           
 PersistableBusinessObject getNoteTarget()
           
 NoteType getNoteType()
           
 String getObjectId()
           
 Maintainable getOldMaintainableObject()
           
 List<PessimisticLock> getPessimisticLocks()
           
 Long getVersionNumber()
           
 List<String> getWorkflowEngineDocumentIdsToLock()
           
 String getXmlDocumentContents()
           
 String getXmlForRouteReport()
           
 boolean isDisplayTopicFieldInNotes()
           
 boolean isEdit()
           
 boolean isFieldsClearedOnCopy()
           
 boolean isNew()
           
 boolean isNewCollectionRecord()
           
 boolean isNewWithExisting()
           
 boolean isOldDataObjectInDocument()
           
 void linkEditableUserFields()
           
 void populateDocumentForRouting()
           
 void populateMaintainablesFromXmlDocumentContents()
           
 void populateXmlDocumentContentsFromMaintainables()
           
 void postProcessSave(KualiDocumentEvent event)
           
 void prepareForSave()
           
 void prepareForSave(KualiDocumentEvent event)
           
 void processAfterRetrieve()
           
 void refresh()
           
 void refreshNonUpdateableReferences()
           
 void refreshPessimisticLocks()
           
 void refreshReferenceObject(String referenceObjectName)
           
 boolean removeNote(Note note)
           
 String serializeDocumentToXml()
           
 void setAdHocRoutePersons(List<AdHocRoutePerson> adHocRoutePersons)
           
 void setAdHocRouteWorkgroups(List<AdHocRouteWorkgroup> adHocRouteWorkgroups)
           
 void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
           
 void setDocumentHeader(DocumentHeader documentHeader)
           
 void setDocumentNumber(String documentHeaderId)
           
 void setExtension(PersistableBusinessObjectExtension extension)
           
 void setFieldsClearedOnCopy(boolean keysClearedOnCopy)
           
 void setNewCollectionRecord(boolean isNewCollectionRecord)
           
 void setNewMaintainableObject(Maintainable newMaintainableObject)
           
 void setNotes(List<Note> notes)
           
 void setObjectId(String objectId)
           
 void setOldMaintainableObject(Maintainable oldMaintainableObject)
           
 void setVersionNumber(Long versionNumber)
           
 void setXmlDocumentContents(String documentContents)
           
 boolean useCustomLockDescriptors()
           
 void validateBusinessRules(KualiDocumentEvent event)
           
 Object wrapDocumentWithMetadataForXmlSerialization()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

oldMaintainableObject

protected Maintainable oldMaintainableObject

newMaintainableObject

protected Maintainable newMaintainableObject
Constructor Detail

AgendaEditorMaintenanceDocumentDummy

public AgendaEditorMaintenanceDocumentDummy()
Method Detail

getXmlDocumentContents

public String getXmlDocumentContents()
Specified by:
getXmlDocumentContents in interface MaintenanceDocument

getNewMaintainableObject

public Maintainable getNewMaintainableObject()
Specified by:
getNewMaintainableObject in interface MaintenanceDocument

getOldMaintainableObject

public Maintainable getOldMaintainableObject()
Specified by:
getOldMaintainableObject in interface MaintenanceDocument

setXmlDocumentContents

public void setXmlDocumentContents(String documentContents)
Specified by:
setXmlDocumentContents in interface MaintenanceDocument

setNewMaintainableObject

public void setNewMaintainableObject(Maintainable newMaintainableObject)
Specified by:
setNewMaintainableObject in interface MaintenanceDocument

setOldMaintainableObject

public void setOldMaintainableObject(Maintainable oldMaintainableObject)
Specified by:
setOldMaintainableObject in interface MaintenanceDocument

getDocumentDataObject

public Object getDocumentDataObject()
Specified by:
getDocumentDataObject in interface MaintenanceDocument

populateXmlDocumentContentsFromMaintainables

public void populateXmlDocumentContentsFromMaintainables()
Specified by:
populateXmlDocumentContentsFromMaintainables in interface MaintenanceDocument

populateMaintainablesFromXmlDocumentContents

public void populateMaintainablesFromXmlDocumentContents()
Specified by:
populateMaintainablesFromXmlDocumentContents in interface MaintenanceDocument

isOldDataObjectInDocument

public boolean isOldDataObjectInDocument()
Specified by:
isOldDataObjectInDocument in interface MaintenanceDocument

isNew

public boolean isNew()
Specified by:
isNew in interface MaintenanceDocument

isEdit

public boolean isEdit()
Specified by:
isEdit in interface MaintenanceDocument

isNewWithExisting

public boolean isNewWithExisting()
Specified by:
isNewWithExisting in interface MaintenanceDocument

isFieldsClearedOnCopy

public boolean isFieldsClearedOnCopy()
Specified by:
isFieldsClearedOnCopy in interface MaintenanceDocument

setFieldsClearedOnCopy

public void setFieldsClearedOnCopy(boolean keysClearedOnCopy)
Specified by:
setFieldsClearedOnCopy in interface MaintenanceDocument

isDisplayTopicFieldInNotes

public boolean isDisplayTopicFieldInNotes()
Specified by:
isDisplayTopicFieldInNotes in interface MaintenanceDocument

setDisplayTopicFieldInNotes

public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
Specified by:
setDisplayTopicFieldInNotes in interface MaintenanceDocument

getDocumentHeader

public DocumentHeader getDocumentHeader()
Specified by:
getDocumentHeader in interface Document

setDocumentHeader

public void setDocumentHeader(DocumentHeader documentHeader)
Specified by:
setDocumentHeader in interface Document

getDocumentNumber

public String getDocumentNumber()
Specified by:
getDocumentNumber in interface Document

setDocumentNumber

public void setDocumentNumber(String documentHeaderId)
Specified by:
setDocumentNumber in interface Document

populateDocumentForRouting

public void populateDocumentForRouting()
Specified by:
populateDocumentForRouting in interface Document

serializeDocumentToXml

public String serializeDocumentToXml()
Specified by:
serializeDocumentToXml in interface Document

getXmlForRouteReport

public String getXmlForRouteReport()
Specified by:
getXmlForRouteReport in interface Document

doRouteLevelChange

public void doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
Specified by:
doRouteLevelChange in interface Document

doActionTaken

public void doActionTaken(ActionTakenEvent event)
Specified by:
doActionTaken in interface Document

afterActionTaken

public void afterActionTaken(ActionType performed,
                             ActionTakenEvent event)
Specified by:
afterActionTaken in interface Document

afterWorkflowEngineProcess

public void afterWorkflowEngineProcess(boolean successfullyProcessed)
Specified by:
afterWorkflowEngineProcess in interface Document

beforeWorkflowEngineProcess

public void beforeWorkflowEngineProcess()
Specified by:
beforeWorkflowEngineProcess in interface Document

getWorkflowEngineDocumentIdsToLock

public List<String> getWorkflowEngineDocumentIdsToLock()
Specified by:
getWorkflowEngineDocumentIdsToLock in interface Document

getDocumentTitle

public String getDocumentTitle()
Specified by:
getDocumentTitle in interface Document

getAdHocRoutePersons

public List<AdHocRoutePerson> getAdHocRoutePersons()
Specified by:
getAdHocRoutePersons in interface Document

getAdHocRouteWorkgroups

public List<AdHocRouteWorkgroup> getAdHocRouteWorkgroups()
Specified by:
getAdHocRouteWorkgroups in interface Document

setAdHocRoutePersons

public void setAdHocRoutePersons(List<AdHocRoutePerson> adHocRoutePersons)
Specified by:
setAdHocRoutePersons in interface Document

setAdHocRouteWorkgroups

public void setAdHocRouteWorkgroups(List<AdHocRouteWorkgroup> adHocRouteWorkgroups)
Specified by:
setAdHocRouteWorkgroups in interface Document

prepareForSave

public void prepareForSave()
Specified by:
prepareForSave in interface Document

validateBusinessRules

public void validateBusinessRules(KualiDocumentEvent event)
Specified by:
validateBusinessRules in interface Document

prepareForSave

public void prepareForSave(KualiDocumentEvent event)
Specified by:
prepareForSave in interface Document

postProcessSave

public void postProcessSave(KualiDocumentEvent event)
Specified by:
postProcessSave in interface Document

processAfterRetrieve

public void processAfterRetrieve()
Specified by:
processAfterRetrieve in interface Document

getAllowsCopy

public boolean getAllowsCopy()
Specified by:
getAllowsCopy in interface Document

generateSaveEvents

public List<KualiDocumentEvent> generateSaveEvents()
Specified by:
generateSaveEvents in interface Document

doRouteStatusChange

public void doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
Specified by:
doRouteStatusChange in interface Document

getNoteType

public NoteType getNoteType()
Specified by:
getNoteType in interface Document

getNoteTarget

public PersistableBusinessObject getNoteTarget()
Specified by:
getNoteTarget in interface Document

addNote

public void addNote(Note note)
Specified by:
addNote in interface Document

getNotes

public List<Note> getNotes()
Specified by:
getNotes in interface Document

setNotes

public void setNotes(List<Note> notes)
Specified by:
setNotes in interface Document

getNote

public Note getNote(int index)
Specified by:
getNote in interface Document

removeNote

public boolean removeNote(Note note)
Specified by:
removeNote in interface Document

getPessimisticLocks

public List<PessimisticLock> getPessimisticLocks()
Specified by:
getPessimisticLocks in interface Document

refreshPessimisticLocks

public void refreshPessimisticLocks()
Specified by:
refreshPessimisticLocks in interface Document

addPessimisticLock

public void addPessimisticLock(PessimisticLock lock)
Specified by:
addPessimisticLock in interface Document

getLockClearningMethodNames

public List<String> getLockClearningMethodNames()
Specified by:
getLockClearningMethodNames in interface Document

getBasePathToDocumentDuringSerialization

public String getBasePathToDocumentDuringSerialization()
Specified by:
getBasePathToDocumentDuringSerialization in interface Document

getDocumentPropertySerizabilityEvaluator

public PropertySerializabilityEvaluator getDocumentPropertySerizabilityEvaluator()
Specified by:
getDocumentPropertySerizabilityEvaluator in interface Document

wrapDocumentWithMetadataForXmlSerialization

public Object wrapDocumentWithMetadataForXmlSerialization()
Specified by:
wrapDocumentWithMetadataForXmlSerialization in interface Document

useCustomLockDescriptors

public boolean useCustomLockDescriptors()
Specified by:
useCustomLockDescriptors in interface Document

getCustomLockDescriptor

public String getCustomLockDescriptor(Person user)
Specified by:
getCustomLockDescriptor in interface Document

setVersionNumber

public void setVersionNumber(Long versionNumber)
Specified by:
setVersionNumber in interface PersistableBusinessObject

setObjectId

public void setObjectId(String objectId)
Specified by:
setObjectId in interface PersistableBusinessObject

getExtension

public PersistableBusinessObjectExtension getExtension()
Specified by:
getExtension in interface PersistableBusinessObject

setExtension

public void setExtension(PersistableBusinessObjectExtension extension)
Specified by:
setExtension in interface PersistableBusinessObject

refreshNonUpdateableReferences

public void refreshNonUpdateableReferences()
Specified by:
refreshNonUpdateableReferences in interface PersistableBusinessObject

refreshReferenceObject

public void refreshReferenceObject(String referenceObjectName)
Specified by:
refreshReferenceObject in interface PersistableBusinessObject

buildListOfDeletionAwareLists

public List<Collection<PersistableBusinessObject>> buildListOfDeletionAwareLists()
Specified by:
buildListOfDeletionAwareLists in interface PersistableBusinessObject

isNewCollectionRecord

public boolean isNewCollectionRecord()
Specified by:
isNewCollectionRecord in interface PersistableBusinessObject

setNewCollectionRecord

public void setNewCollectionRecord(boolean isNewCollectionRecord)
Specified by:
setNewCollectionRecord in interface PersistableBusinessObject

linkEditableUserFields

public void linkEditableUserFields()
Specified by:
linkEditableUserFields in interface PersistableBusinessObject

refresh

public void refresh()
Specified by:
refresh in interface BusinessObject

getObjectId

public String getObjectId()
Specified by:
getObjectId in interface GloballyUnique

getVersionNumber

public Long getVersionNumber()
Specified by:
getVersionNumber in interface Versioned


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.