Class AgendaEditorBusRule

java.lang.Object
org.kuali.rice.krad.rules.DocumentRuleBase
org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
org.kuali.rice.krms.impl.rule.AgendaEditorBusRule
All Implemented Interfaces:
org.kuali.rice.krad.rules.MaintenanceDocumentRule, org.kuali.rice.krad.rules.rule.AddAdHocRoutePersonRule, org.kuali.rice.krad.rules.rule.AddAdHocRouteWorkgroupRule, org.kuali.rice.krad.rules.rule.AddCollectionLineRule, 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.CompleteDocumentRule, 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.krad.rules.MaintenanceDocumentRuleBase
This class contains the rules for the AgendaEditor.
  • Field Summary

    Fields inherited from class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase

    DOCUMENT_ERROR_PREFIX, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, priorErrorPath
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kuali.rice.krms.framework.type.ActionTypeService
     
     
     
     
    org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService
     
     
    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
    Check if an agenda with that name exists already in the context.
    boolean
    validContext(AgendaEditor agendaEditor)
    Check if the context exists and if user has authorization to edit agendas under this context.
    boolean
    Check if for namespace.

    Methods inherited from class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase

    checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getConfigService, getDataObjectAuthorizationService, getDataObjectService, getDateTimeService, getDdService, getDictionaryValidationService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getNewDataObject, getOldDataObject, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, processAddCollectionLine, processApproveDocument, processCustomAddCollectionLineBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setConfigService, setDataObjectAuthorizationService, setDdService, setDictionaryValidationService, setNewDataObject, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateBulkUpdateMaintenanceDocument, validateDocumentStructure, validateMaintenanceDocument

    Methods inherited from class org.kuali.rice.krad.rules.DocumentRuleBase

    buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddCollectionLineBusinessRules, 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 Details

    • AgendaEditorBusRule

      public AgendaEditorBusRule()
  • Method Details

    • primaryKeyCheck

      protected boolean primaryKeyCheck(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
      Overrides:
      primaryKeyCheck in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
    • processCustomSaveDocumentBusinessRules

      protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
      Overrides:
      processCustomSaveDocumentBusinessRules in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
    • validContext

      public boolean validContext(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(AgendaEditor agendaEditor)
      Check if for namespace.
      Parameters:
      agendaEditor -
      Returns:
    • validAgendaName

      public boolean validAgendaName(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 ContextBoService getContextBoService()
    • getAgendaBoService

      public AgendaBoService getAgendaBoService()
    • getRuleBoService

      public 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 AgendaAuthorizationService getAgendaAuthorizationService()