public abstract class ProtocolAttachmentPersonnelRuleBase extends ResearchDocumentRuleBase implements AddProtocolAttachmentPersonnelRule
| Modifier and Type | Field and Description |
|---|---|
protected static String |
OTHER_TYPE_CODE |
protected static String |
PROPERTY_NAME_NEW_ATTACHMENT_DESCRIPTION |
protected static String |
PROPERTY_NAME_NEW_ATTACHMENT_FILE |
protected static String |
PROPERTY_NAME_NEW_ATTACHMENT_TYPE |
CHOMP_LAST_LETTER_S_FROM_COLLECTION_NAME, DOCUMENT_ERROR_PATH, VALIDATION_REQUIRED| Constructor and Description |
|---|
ProtocolAttachmentPersonnelRuleBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
duplicateType(String typeCode,
ProtocolPersonBase person,
String propertyName) |
protected abstract ProtocolAttachmentService |
getProtocolAttachmentService()
This method is to get protocol attachment service
|
boolean |
processAddProtocolAttachmentPersonnelRules(AddProtocolAttachmentPersonnelEvent event)
This method evaluates to true if ProtocolAttachmentPersonnelBase object satisfy required fields and business rules.
|
protected boolean |
validDescription(String description,
String typeCode,
String propertyName) |
protected boolean |
validFile(org.apache.struts.upload.FormFile file,
String propertyName) |
protected boolean |
validType(String typeCode,
String groupCode,
String propertyName) |
addAuditError, getBusinessObjectService, getErrorReporter, getKnsDictionaryValidationService, getParameterService, getSoftErrors, hasPermission, hasPermission, hasRole, hasRole, isInvalid, isValid, keyValue, processBudgetVersionsBusinessRule, processRunAuditBusinessRules, reportError, reportErrorWithoutFullErrorPath, reportSoftError, reportWarning, setBusinessObjectService, setParameterServicebuildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDictionaryValidationService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValueprotected static final String OTHER_TYPE_CODE
protected static final String PROPERTY_NAME_NEW_ATTACHMENT_TYPE
protected static final String PROPERTY_NAME_NEW_ATTACHMENT_DESCRIPTION
protected static final String PROPERTY_NAME_NEW_ATTACHMENT_FILE
public boolean processAddProtocolAttachmentPersonnelRules(AddProtocolAttachmentPersonnelEvent event)
AddProtocolAttachmentPersonnelRuleprocessAddProtocolAttachmentPersonnelRules in interface AddProtocolAttachmentPersonnelRuleAddProtocolAttachmentPersonnelRule.processAddProtocolAttachmentPersonnelRules(org.kuali.kra.protocol.personnel.AddProtocolAttachmentPersonnelEvent)protected boolean duplicateType(String typeCode, ProtocolPersonBase person, String propertyName)
protected boolean validDescription(String description, String typeCode, String propertyName)
protected boolean validFile(org.apache.struts.upload.FormFile file,
String propertyName)
protected abstract ProtocolAttachmentService getProtocolAttachmentService()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.