public abstract class S2SAdobeFormAttachmentBaseGenerator extends S2SBaseFormGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR1_PROPERTY_KEY |
protected static String |
ERROR2_PROPERTY_KEY |
protected static String |
LOCAL_NAME |
protected static String |
RR_BUDGET_10_NAMESPACE_URI |
protected static String |
RR_BUDGET_11_NAMESPACE_URI |
AREAS_AFFECTED_ABSTRACT_TYPE_CODE, CONGRESSIONAL_DISTRICT_MAX_LENGTH, DESCRIPTION, DUNS_NUMBER_MAX_LENGTH, globLibV10Generator, globLibV20Generator, KEY_VALUE_SEPARATOR, MODULE_NUMBER, ORGANIZATON_NAME_MAX_LENGTH, pdDoc, PRIMARY_TITLE_MAX_LENGTH, TITLE, TYPE_SEPARATOR| Constructor and Description |
|---|
S2SAdobeFormAttachmentBaseGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSubAwdAttachments(BudgetSubAwards budgetSubAwards)
Adding attachments to subaward
|
byte[] |
docToBytes(Document node)
This method convert Document to a byte Array
|
String |
docToString(Document node)
This method convert Document to a String
|
protected List<BudgetSubAwards> |
getBudgetSubAwards(ProposalDevelopmentDocument proposalDevelopmentDocument,
String namespace,
boolean checkNull)
This method is used to get BudgetSubAwrads from ProposalDevelopmentDocument
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute.
|
protected static KcAttachmentService |
getKcAttachmentService()
This method gets the attachment service
|
Document |
nodeToDom(Node node)
This method convert node of form in to a Document
|
protected static String |
prepareAttName(BudgetSubAwards budgetSubAwards)
This method is used to return the attachment name which comes from BudgetSubawards
|
Document |
stringToDom(String xmlSource)
This method convert xml string in to a Document
|
addAttachment, computeAttachmentHash, createContentId, createContentId, getAttachedFileDataType, getAttachedFileDataTypes, getAttachedFileType, getAttachments, getAuditErrors, getHashValue, getPernonnelAttachments, getQuestionnaireAnswers, isSponsorNIH, saveNarrative, setAttachments, setAuditErrors, sortAttachmentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormObjectprotected static final String RR_BUDGET_10_NAMESPACE_URI
protected static final String RR_BUDGET_11_NAMESPACE_URI
protected static final String LOCAL_NAME
protected static final String ERROR1_PROPERTY_KEY
protected static final String ERROR2_PROPERTY_KEY
public Document nodeToDom(Node node) throws S2SException
node - n {Node} node entry.S2SExceptionpublic Document stringToDom(String xmlSource) throws S2SException
xmlSource - {xml String} xml source entry.S2SExceptionpublic byte[] docToBytes(Document node) throws S2SException
node - {Document} node entry.S2SExceptionpublic String docToString(Document node) throws S2SException
node - {Document} node entry.S2SExceptionprotected static final String prepareAttName(BudgetSubAwards budgetSubAwards)
budgetSubAwards(BudgetSubAwards) - budget sub award entry.protected static KcAttachmentService getKcAttachmentService()
protected void addSubAwdAttachments(BudgetSubAwards budgetSubAwards)
protected List<BudgetSubAwards> getBudgetSubAwards(ProposalDevelopmentDocument proposalDevelopmentDocument, String namespace, boolean checkNull)
proposalDevelopmentDocument - (ProposalDevelopmentDocument)public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.