org.kuali.kfs.module.ar.document.authorization
Class OrganizationOptionsPresentationController

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.module.ar.document.authorization.OrganizationOptionsPresentationController
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 OrganizationOptionsPresentationController
extends FinancialSystemMaintenanceDocumentPresentationControllerBase


Field Summary
protected static String ACCOUNTS_RECEIVABLE_MANAGER_ROLE_NAME
           
 
Fields inherited from class org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase
maintenanceDocumentDictionaryService
 
Constructor Summary
OrganizationOptionsPresentationController()
           
 
Method Summary
 Set<String> getConditionallyReadOnlyPropertyNames(org.kuali.rice.kns.document.MaintenanceDocument document)
           
 Set<String> getConditionallyReadOnlySectionIds(org.kuali.rice.kns.document.MaintenanceDocument document)
           
protected  void setBillingOrgFieldsEditable(Set<String> readOnlyPropertyNames, org.kuali.rice.kns.document.MaintenanceDocument document)
          Billing Chart/Org are always read-only on an edit.
protected  void setOrgPostalZipCodeEditable(Set<String> readOnlyPropertyNames)
          Sets the OrgPostalZipCode to readonly if thats what the system parameters say, otherwise leave it read/write.
protected  void setProcessingOrgFieldsEditable(Set<String> readOnlyPropertyNames, org.kuali.rice.kns.document.MaintenanceDocument document)
          Sets the processing Chart/Org code editable
protected  void setRemitToAddressSectionEditable(Set<String> readOnlySectionIds)
          Sets the whole Remit-To Address section to read-only if thats what the system parameter says, otherwise leave it read/wrtie.
protected  void setRemitToNameEditable(Set<String> readOnlyPropertyNames)
          Sets the Remit-To Name (ie, OrgCheckPayableToName) to read only if thats how the system parameters are configured, otherwise leave it read/write.
 
Methods inherited from class org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase
canCreate, getConditionallyHiddenPropertyNames, getConditionallyHiddenSectionIds, 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

ACCOUNTS_RECEIVABLE_MANAGER_ROLE_NAME

protected static final String ACCOUNTS_RECEIVABLE_MANAGER_ROLE_NAME
See Also:
Constant Field Values
Constructor Detail

OrganizationOptionsPresentationController

public OrganizationOptionsPresentationController()
Method Detail

getConditionallyReadOnlySectionIds

public Set<String> getConditionallyReadOnlySectionIds(org.kuali.rice.kns.document.MaintenanceDocument document)
Specified by:
getConditionallyReadOnlySectionIds in interface org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationController
Overrides:
getConditionallyReadOnlySectionIds in class org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase

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:
MaintenanceDocumentPresentationControllerBase.getConditionallyReadOnlyPropertyNames(org.kuali.rice.kns.document.MaintenanceDocument)

setBillingOrgFieldsEditable

protected void setBillingOrgFieldsEditable(Set<String> readOnlyPropertyNames,
                                           org.kuali.rice.kns.document.MaintenanceDocument document)
Billing Chart/Org are always read-only on an edit. Always. They are editable on an Add, but only if KIM lets you in on an Add, but thats handled elsewhere.

Parameters:
readOnlyPropertyNames -
document -

setProcessingOrgFieldsEditable

protected void setProcessingOrgFieldsEditable(Set<String> readOnlyPropertyNames,
                                              org.kuali.rice.kns.document.MaintenanceDocument document)
Sets the processing Chart/Org code editable

Parameters:
readOnlyPropertyNames -
document -

setRemitToNameEditable

protected void setRemitToNameEditable(Set<String> readOnlyPropertyNames)
Sets the Remit-To Name (ie, OrgCheckPayableToName) to read only if thats how the system parameters are configured, otherwise leave it read/write.

Parameters:
readOnlyPropertyNames -

setOrgPostalZipCodeEditable

protected void setOrgPostalZipCodeEditable(Set<String> readOnlyPropertyNames)
Sets the OrgPostalZipCode to readonly if thats what the system parameters say, otherwise leave it read/write.

Parameters:
readOnlyPropertyNames -

setRemitToAddressSectionEditable

protected void setRemitToAddressSectionEditable(Set<String> readOnlySectionIds)
Sets the whole Remit-To Address section to read-only if thats what the system parameter says, otherwise leave it read/wrtie.

Parameters:
readOnlySectionIds -


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