## Uses of Interface
com.ibm.openpages.api.questionnaire.IAttachment

- Packages that use IAttachment
  Package | Description
  --- | ---
  com.ibm.openpages.api.questionnaire | This package and its components provides access to questionnaire objects.

- - ### Uses of IAttachment in com.ibm.openpages.api.questionnaire

    Methods in com.ibm.openpages.api.questionnaire that return IAttachment
    Modifier and Type | Method and Description
    --- | ---
    `IAttachment` | IQuestionnaireFactory.`createAttachment(Id questionId, Id attachmentId)` Creates an attachment object in memory, which is persisted via `IQuestionnaireService.saveQuestionnaire(IQuestionnaire)` after being added to `IQuestionnaire` by `IQuestionnaire.addAttachment(IAttachment)`.

    Methods in com.ibm.openpages.api.questionnaire that return types with arguments of type IAttachment
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IAttachment>` | IQuestionnaire.`getAttachments()` Returns a list of attachments of the assessment.

    Methods in com.ibm.openpages.api.questionnaire with parameters of type IAttachment
    Modifier and Type | Method and Description
    --- | ---
    `void` | IQuestionnaire.`addAttachment(IAttachment attachment)` Add an attachment to the assessment.
    `void` | IQuestionnaire.`removeAttachment(IAttachment attachment)` Remove an attachment from the assessment.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.