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

java.lang.Object
  extended by org.kuali.rice.krad.rules.DocumentRuleBase
      extended by org.kuali.rice.kns.rules.DocumentRuleBase
          extended by org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
              extended by org.kuali.rice.krms.impl.rule.AgendaEditorBusRule
All Implemented Interfaces:
org.kuali.rice.kns.rule.AddCollectionLineRule, org.kuali.rice.kns.rules.MaintenanceDocumentRule, org.kuali.rice.krad.rules.rule.AddAdHocRoutePersonRule, org.kuali.rice.krad.rules.rule.AddAdHocRouteWorkgroupRule, org.kuali.rice.krad.rules.rule.AddNoteRule, org.kuali.rice.krad.rules.rule.ApproveDocumentRule, org.kuali.rice.krad.rules.rule.BusinessRule, org.kuali.rice.krad.rules.rule.RouteDocumentRule, org.kuali.rice.krad.rules.rule.SaveDocumentRule, org.kuali.rice.krad.rules.rule.SendAdHocRequestsRule

public class AgendaEditorBusRule
extends org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase

This class contains the rules for the AgendaEditor.


Field Summary
 
Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
boDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, dataObjectMetaDataService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, personService, priorErrorPath, roleService, workflowDocumentService
 
Constructor Summary
AgendaEditorBusRule()
           
 
Method Summary
 org.kuali.rice.krms.framework.type.ActionTypeService getActionTypeService(String serviceName)
           
 org.kuali.rice.krms.impl.authorization.AgendaAuthorizationService getAgendaAuthorizationService()
           
 org.kuali.rice.krms.impl.repository.AgendaBoService getAgendaBoService()
           
 org.kuali.rice.krms.impl.repository.ContextBoService getContextBoService()
           
 org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService getKrmsTypeRepositoryService()
           
 org.kuali.rice.krms.impl.repository.RuleBoService getRuleBoService()
           
protected  boolean primaryKeyCheck(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
           
 boolean processAgendaItemBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
          Check if a agenda item is valid.
protected  boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
           
 boolean validAgendaName(org.kuali.rice.krms.impl.ui.AgendaEditor agendaEditor)
          Check if an agenda with that name exists already in the context.
 boolean validContext(org.kuali.rice.krms.impl.ui.AgendaEditor agendaEditor)
          Check if the context exists and if user has authorization to edit agendas under this context.
 boolean validContextAgendaNamespace(org.kuali.rice.krms.impl.ui.AgendaEditor agendaEditor)
          Check if for namespace.
 
Methods inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoService, getConfigService, getDataObjectMetaDataService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLineBusinessRules, processApproveDocument, processCustomAddCollectionLineBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoDictionaryService, setBoService, setBusinessObjectAuthorizationService, setBusinessObjectMetaDataService, setConfigService, setDataObjectMetaDataService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateDuplicateIdentifierInDataDictionary, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument
 
Methods inherited from class org.kuali.rice.krad.rules.DocumentRuleBase
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgendaEditorBusRule

public AgendaEditorBusRule()
Method Detail

primaryKeyCheck

protected boolean primaryKeyCheck(org.kuali.rice.krad.maintenance.MaintenanceDocument document)

processCustomSaveDocumentBusinessRules

protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)

validContext

public boolean validContext(org.kuali.rice.krms.impl.ui.AgendaEditor agendaEditor)
Check if the context exists and if user has authorization to edit agendas under this context.

Parameters:
agendaEditor -
Returns:
true if the context exist and has authorization, false otherwise

validContextAgendaNamespace

public boolean validContextAgendaNamespace(org.kuali.rice.krms.impl.ui.AgendaEditor agendaEditor)
Check if for namespace.

Parameters:
agendaEditor -
Returns:

validAgendaName

public boolean validAgendaName(org.kuali.rice.krms.impl.ui.AgendaEditor agendaEditor)
Check if an agenda with that name exists already in the context.

Parameters:
agendaEditor -
Returns:
true if agenda name is unique, false otherwise

processAgendaItemBusinessRules

public boolean processAgendaItemBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
Check if a agenda item is valid.

Parameters:
document, - the Agenda document of the added/edited agenda item
Returns:
true if agenda item is valid, false otherwise

getContextBoService

public org.kuali.rice.krms.impl.repository.ContextBoService getContextBoService()

getAgendaBoService

public org.kuali.rice.krms.impl.repository.AgendaBoService getAgendaBoService()

getRuleBoService

public org.kuali.rice.krms.impl.repository.RuleBoService getRuleBoService()

getKrmsTypeRepositoryService

public org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService getKrmsTypeRepositoryService()

getActionTypeService

public org.kuali.rice.krms.framework.type.ActionTypeService getActionTypeService(String serviceName)

getAgendaAuthorizationService

public org.kuali.rice.krms.impl.authorization.AgendaAuthorizationService getAgendaAuthorizationService()


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.