@AccessLevel(value=EXTERNAL) public abstract class Attachment extends Attachment
Modifier and Type | Field and Description |
---|---|
protected curam.attachment.impl.Attachment |
attachment |
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
void |
cancelAttachment(curam.core.struct.AttachmentKey key)
Service layer method for canceling an attachment
|
void |
cancelAttachmentAndAttachmentInfo(curam.core.struct.AttachmentKey attachmentKey)
Cancels an Attachment and its corresponding Attachment Info record.
|
curam.core.struct.AttachmentKey |
createAttachment(curam.core.struct.AttachmentDtls details)
Service layer method for creating an attachment
|
curam.core.struct.AttachmentKey |
createAttachmentAndAttachmentInfo(curam.core.sl.struct.AttachmentAndInfoDetails details)
Creates a new Attachment and Attachment Info record (which stores
additional information about the attachment).
|
void |
modifyAttachment(curam.core.struct.AttachmentDtls details)
Service layer method for modifying an attachment
|
curam.core.struct.AttachmentDtls |
readAttachment(curam.core.struct.AttachmentKey key)
Service layer method to read an Attachment
|
curam.core.sl.struct.AttachmentAndInfoDetails |
readAttachmentAndAttachmentInfo(curam.core.struct.AttachmentKey key)
Reads the details of an Attachment and its corresponding Attachment Info
record.
|
@AccessLevel(value=EXTERNAL) public curam.core.struct.AttachmentKey createAttachment(curam.core.struct.AttachmentDtls details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
details
- Details of the attachmentcuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public void cancelAttachment(curam.core.struct.AttachmentKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The attachmentID to cancelcuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public void modifyAttachment(curam.core.struct.AttachmentDtls details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
details
- Attachment details to modify.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.struct.AttachmentDtls readAttachment(curam.core.struct.AttachmentKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The attachmentID keycuram.util.exception.AppException
curam.util.exception.InformationalException
public curam.core.sl.struct.AttachmentAndInfoDetails readAttachmentAndAttachmentInfo(curam.core.struct.AttachmentKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Contains the unique identifier of the Attachment.curam.util.exception.AppException
curam.util.exception.InformationalException
public void cancelAttachmentAndAttachmentInfo(curam.core.struct.AttachmentKey attachmentKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
attachmentKey
- Contains the unique identifier of the Attachment record.curam.util.exception.AppException
curam.util.exception.InformationalException
public curam.core.struct.AttachmentKey createAttachmentAndAttachmentInfo(curam.core.sl.struct.AttachmentAndInfoDetails details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
details
- The file contents and other details to be stored in the
Attachment and Attachment Info records.curam.util.exception.AppException
curam.util.exception.InformationalException