public class AgendaEditorBusRule extends MaintenanceDocumentRuleBase
DOCUMENT_ERROR_PREFIX, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, priorErrorPath
Constructor and Description |
---|
AgendaEditorBusRule() |
Modifier and Type | Method and Description |
---|---|
ActionTypeService |
getActionTypeService(String serviceName) |
AgendaAuthorizationService |
getAgendaAuthorizationService() |
AgendaBoService |
getAgendaBoService() |
ContextBoService |
getContextBoService() |
KrmsTypeRepositoryService |
getKrmsTypeRepositoryService() |
RuleBoService |
getRuleBoService() |
protected boolean |
primaryKeyCheck(MaintenanceDocument document)
This method checks the two major cases that may violate primary key integrity.
|
boolean |
processAgendaItemBusinessRules(MaintenanceDocument document)
Check if a agenda item is valid.
|
protected boolean |
processCustomSaveDocumentBusinessRules(MaintenanceDocument document)
This method should be overridden to provide custom rules for processing document saving
|
boolean |
validAgendaName(AgendaEditor agendaEditor)
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 |
validContextAgendaNamespace(AgendaEditor agendaEditor)
Check if for namespace.
|
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, validateDocumentStructure, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument
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
public AgendaEditorBusRule()
protected boolean primaryKeyCheck(MaintenanceDocument document)
MaintenanceDocumentRuleBase
primaryKeyCheck
in class MaintenanceDocumentRuleBase
document
- - The Maintenance Document being tested.protected boolean processCustomSaveDocumentBusinessRules(MaintenanceDocument document)
MaintenanceDocumentRuleBase
processCustomSaveDocumentBusinessRules
in class MaintenanceDocumentRuleBase
public boolean validContext(AgendaEditor agendaEditor)
agendaEditor
- public boolean validContextAgendaNamespace(AgendaEditor agendaEditor)
agendaEditor
- public boolean validAgendaName(AgendaEditor agendaEditor)
agendaEditor
- public boolean processAgendaItemBusinessRules(MaintenanceDocument document)
document,
- the Agenda document of the added/edited agenda itempublic ContextBoService getContextBoService()
public AgendaBoService getAgendaBoService()
public RuleBoService getRuleBoService()
public KrmsTypeRepositoryService getKrmsTypeRepositoryService()
public ActionTypeService getActionTypeService(String serviceName)
public AgendaAuthorizationService getAgendaAuthorizationService()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.