WebSphere Commerce EnterpriseWebSphere Commerce Professional

Roles extension point

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

Identifier:

com.ibm.commerce.telesales.roles

Description:

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

Configuration Markup:

<!ELEMENT extension ( role+)>

<!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 role ( activitySet+)>

<!ATTLIST role

id CDATA #REQUIRED

roleId CDATA #REQUIRED

label CDATA #REQUIRED>

  • id - A unique identifier for this role.
  • roleId - An unique identifier used to map this role to WebSphere Commerce defined roles.
  • label - A translatable name used by the Workbench to represent this role to the user.

<!ELEMENT activitySet EMPTY>

<!ATTLIST activitySet

id CDATA #REQUIRED>

  • id - The unique identifier of the activity set which will be added to the role.

Examples:

The following is an example for the roles extension point:


   
 <extension
         id=
 "com.ibm.commerce.telesales.roles"
 
         name=
 "%rolesName"
 
         point=
 "com.ibm.commerce.telesales.roles"
 >
      
 <role
            id=
 "com.ibm.commerce.telesales.roles.CSR"
 
            label=
 "%CSRRoleName"
 
            roleId=
 "CustomerServiceRepresentative"
 >
          
 <activitySet
                id=
 "com.ibm.commerce.telesales.activitySet.applications"
 >
          
 </activitySet>
          
 <activitySet
                id=
 "com.ibm.commerce.telesales.activitySet.menus"
 >
          
 </activitySet>
      
 </role>
   
 </extension>

Supplied Implementation:

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