Dashboard > Tempo > ... > Solution Option 2 > Task Attachment Service > View
Tempo Log In   View a printable version of the current page.
Task Attachment Service
Added by Jackie Ju, last edited by Jackie Ju on Dec 07, 2008

h3 Overview
TAS is responsible for providing attachment ability for humn task.
In B4P case, TAS will basically play the same role, and so far , no big logic change is found for B4P Humantask implementation, besides some changes on Attachment meta data and properites.
As a conclusion, most part of TAS will not be changed (or in another word reused).

Properties comparation

Current Tempo Human Task Attachment properties

<xsd:complexType name="attachmentMetadata">
        <xsd:sequence>
          <xsd:element
            name="mimeType"
            type="xsd:string"
            minOccurs="1"
            maxOccurs="1" />
          <xsd:element
            name="filename"
            type="xsd:string"
            minOccurs="1"
            maxOccurs="1" />
          <xsd:choice>
              <xsd:element
                name="localFileURL"
                type="xsd:anyURI"
                minOccurs="1"
                maxOccurs="1" />
              <xsd:element
                name="payload"
                type="xsd:base64Binary"
                minOccurs="1"
                maxOccurs="1" />
              <xsd:element
                name="plaintext"
                type="xsd:string"
                minOccurs="1"
                maxOccurs="1" />
            </xsd:choice>
        </xsd:sequence>
</xsd:complexType>

B4P Human Task Attachment properties

<xsd:element name="attachment" type="tAttachment"/>
<xsd:complexType name="tAttachment">
<xsd:sequence>
<xsd:element ref="attachmentInfo"/>
<xsd:element name="value" type="xsd:anyType"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="tAttachmentInfo">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="accessType" type="xsd:string"/>
<xsd:element name="contentType" type="xsd:string"/>
<xsd:element name="attachedAt" type="xsd:dateTime"/>
<xsd:element name="attachedBy" type="htd:tUser"/>
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

Operation comparation

Current TAS only has two operations "add" and "delete".
In B4P case, two operations will be added, "getAttachmentInfos" and "getAttachments"
getAttachmentInfos
Get attachment information for all attachments associated with the task.
getAttachments
Get all attachments of a task with a given name.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators