org.kuali.kfs.coa.document.authorization
Class SubAccountMaintenanceDocumentPresentationController

java.lang.Object
  extended by org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
      extended by org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase
          extended by org.kuali.kfs.sys.document.authorization.FinancialSystemMaintenanceDocumentPresentationControllerBase
              extended by org.kuali.kfs.coa.document.authorization.SubAccountMaintenanceDocumentPresentationController
All Implemented Interfaces:
org.kuali.rice.kns.authorization.InquiryOrMaintenanceDocumentPresentationController, org.kuali.rice.kns.document.authorization.DocumentPresentationController, org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationController

public class SubAccountMaintenanceDocumentPresentationController
extends FinancialSystemMaintenanceDocumentPresentationControllerBase

This class can be shared by all account-involved maintenance documents which have special nested reference accounts.


Field Summary
static String[] COA_CODE_NAMES
           
 
Fields inherited from class org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase
maintenanceDocumentDictionaryService
 
Constructor Summary
SubAccountMaintenanceDocumentPresentationController()
           
 
Method Summary
 Set<String> getConditionallyReadOnlyPropertyNames(org.kuali.rice.kns.document.MaintenanceDocument document)
           
 
Methods inherited from class org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase
canCreate, getConditionallyHiddenPropertyNames, getConditionallyHiddenSectionIds, getConditionallyReadOnlySectionIds, getConditionallyRequiredPropertyNames, getMaintenanceDocumentDictionaryService
 
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canAcknowledge, canAddAdhocRequests, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canPerformRouteReport, canReload, canRoute, canSave, canSendAdhocRequests, canSendNoteFyi, getDocumentActions, getParameterService
 
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.kns.document.authorization.DocumentPresentationController
canInitiate, getDocumentActions
 

Field Detail

COA_CODE_NAMES

public static final String[] COA_CODE_NAMES
Constructor Detail

SubAccountMaintenanceDocumentPresentationController

public SubAccountMaintenanceDocumentPresentationController()
Method Detail

getConditionallyReadOnlyPropertyNames

public Set<String> getConditionallyReadOnlyPropertyNames(org.kuali.rice.kns.document.MaintenanceDocument document)
Specified by:
getConditionallyReadOnlyPropertyNames in interface org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationController
Overrides:
getConditionallyReadOnlyPropertyNames in class FinancialSystemMaintenanceDocumentPresentationControllerBase
See Also:
This methods adds the extra COA code fields that are PKs of nested reference accounts but don't exist in the BO as FKs to the readOnlyPropertyNames set when accounts can't cross charts. Since these fields aren't included in AccountPersistenceStructureService.listChartOfAccountsCodeNames as in super.getConditionallyReadOnlyPropertyNames, they need to be added individually for such special cases.


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