WebSphere Commerce EnterpriseWebSphere Commerce Professional

Activity Sets

The purpose of this extension point is to allow plug-ins to define which activities WebSphere Commerce roles support.

Identifier:

com.ibm.commerce.telesales.activitySets

Description:

The purpose of this extension point is to allow plug-ins to define which activities WebSphere Commerce roles support.

Configuration Markup:

<!ELEMENT extension ( activitySet+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

  • point - A fully qualified identifier of the target extension point.
  • id - An optional identifier of the extension instance.
  • name - An optional name of the extension instance.

<!ELEMENT activitySet ( activity*)>

<!ATTLIST activitySet

id CDATA #REQUIRED

label CDATA #REQUIRED>

  • id - A unique identifier for this activity set.
  • label - A translatable name used by the Workbench to represent this activity set to the user.

<!ELEMENT activity EMPTY>

<!ATTLIST activity

activityId CDATA #REQUIRED>

  • activityId - A unique identifier for this activity.

Examples:

The following is an example of an activity set (note the sub-elements and the way attributes are used):


   
 <extension
         id=
 "com.ibm.commerce.telesales.activitySets"
 
         name=
 "%activitySetsName"
 
         point=
 "com.ibm.commerce.telesales.activitySets"
 >
      
 <activitySet
            id=
 "com.ibm.commerce.telesales.activitySet.applications"
 
            label=
 "%ApplicationsActivitySetName"
 >
          
 <activity
                activityId=
 "com.ibm.commerce.telesales.orderCaptureApplicationActivity"
 >
          
 </activity>
          
 <activity
                activityId=
 "com.ibm.commerce.telesales.orgAdminWebApplicationActivity"
 >
          
 </activity>
          
 <activity
                activityId=
 "com.ibm.commerce.telesales.acceleratorWebApplicationActivity"
 >
          
 </activity>
      
 </activitySet>
   
 </extension>

Supplied Implementation:

The workbench uses the activity sets when the role framework is activated to enable and disable function.