org.kuali.kfs.module.endow.document
Class TicklerMaintainableImpl

java.lang.Object
  extended by org.kuali.rice.kns.maintenance.KualiMaintainableImpl
      extended by org.kuali.kfs.module.endow.document.TicklerMaintainableImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.SelectiveReferenceRefresher, org.kuali.rice.kns.maintenance.Maintainable

public class TicklerMaintainableImpl
extends org.kuali.rice.kns.maintenance.KualiMaintainableImpl

This class implements the hok on points associated with the Tickler.

Version:
1.0
Author:
Tapan S Mokha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
boClass, businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, dataDictionaryService, docTypeName, documentHelperService, documentNumber, encryptionService, inactiveRecordDisplay, maintenanceAction, maintenanceDocumentDictionaryService, maintenanceDocumentService, newCollectionLines, persistenceStructureService, personService
 
Constructor Summary
TicklerMaintainableImpl()
           
 
Method Summary
 Tickler getNewTickler()
           
 Tickler getOldTickler()
           
 org.kuali.rice.kns.service.SequenceAccessorService getSequenceAccessorService()
          Obtain SequenceAccessorService
 void prepareForSave()
          Called before a Tickler is saved and performs.
 void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument arg0, Map<String,String[]> arg1)
          Called after a copy operation is performed and performs.
 void refresh(String refreshCaller, Map fieldValues, org.kuali.rice.kns.document.MaintenanceDocument document)
          Called when page is refreshed and does 1.
 void setNewTickler(Tickler newTickler)
           
 void setOldTickler(Tickler oldTickler)
           
 void setSequenceAccessorService(org.kuali.rice.kns.service.SequenceAccessorService sequenceAccessorService)
           
 
Methods inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
addMultipleValueLookupResults, addNewLineToCollection, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, doRouteStatusChange, generateAllAffectedReferences, generateMaintenanceLocks, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getCoreSections, getCustomLockDescriptor, getDataDictionaryService, getDocumentHelperService, getDocumentTitle, getDocumentTypeName, getDuplicateIdentifierFieldsFromDataDictionary, getEncryptionService, getInactiveRecordDisplay, getLockingDocumentId, getMaintainableTitle, getMaintenanceAction, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentService, getMultiValueIdentifierList, getNewCollectionLine, getPersistenceStructureService, getPersonService, getSections, getShowInactiveRecords, getWorkflowEngineDocumentIdsToLock, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, processBeforeAddLine, refreshReferences, saveBusinessObject, setBoClass, setBusinessObject, setDocumentNumber, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceAction, setNewCollectionLineDefaultValues, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted, useCustomLockDescriptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicklerMaintainableImpl

public TicklerMaintainableImpl()
Method Detail

refresh

public void refresh(String refreshCaller,
                    Map fieldValues,
                    org.kuali.rice.kns.document.MaintenanceDocument document)
Called when page is refreshed and does 1. Updates frequency date when frequency code is selected.

Specified by:
refresh in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
refresh in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
KualiMaintainableImpl.refresh(java.lang.String, java.util.Map, org.kuali.rice.kns.document.MaintenanceDocument)

processAfterCopy

public void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument arg0,
                             Map<String,String[]> arg1)
Called after a copy operation is performed and performs. 1. Clears all associated collections (kemids, security, principals & groups)

Specified by:
processAfterCopy in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
processAfterCopy in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
KualiMaintainableImpl.processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument, java.util.Map)

prepareForSave

public void prepareForSave()
Called before a Tickler is saved and performs. 1. Assign Tickler Number to Tickler in case of new or copy workflows. 2. If tickler marked as inactive, mark all associated collections: kemids, securities, principals and groups records as inactive.

Specified by:
prepareForSave in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
prepareForSave in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
KualiMaintainableImpl.prepareForSave()

getSequenceAccessorService

public org.kuali.rice.kns.service.SequenceAccessorService getSequenceAccessorService()
Obtain SequenceAccessorService

Returns:

setSequenceAccessorService

public void setSequenceAccessorService(org.kuali.rice.kns.service.SequenceAccessorService sequenceAccessorService)

getOldTickler

public Tickler getOldTickler()

setOldTickler

public void setOldTickler(Tickler oldTickler)

getNewTickler

public Tickler getNewTickler()

setNewTickler

public void setNewTickler(Tickler newTickler)


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