|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAttributeAccessConnector
This interface defines retrieving custom attributes for an item.
The IAttributeAccessConnector interface should be implemented by all
the Custom attribute connectors. This interface defines methods to retreive
Attributes from different systems. Attributes names and the
connector are specified in the Universal Worklist configuration (also known as
Configuration XML).
IAttributeAccessConnector implementations can use any communication mechanism
to connect to the systems and reteive the Items. For example: EJB call, JCO, Web Service etc
IAttributeAccessConnector implementations are expected to be stateless and hence
thread safe.
Custom IAttributeAccessConnector implementation should be registered to IUWLService.
UWL ships four attribute access connectors by default. They are
Item,
CustomAttributes,
Attribute,
IUWLService.registerAttributeConnector(java.lang.String, com.sap.netweaver.bc.uwl.connect.IAttributeAccessConnector)| Field Summary | |
|---|---|
static String |
ABAP_ATTRIBUTE_CONNECTOR
Constant for ABAP Business Object Repository attribute connectors Identifier. |
static String |
ALRTCONTAINER_ATTRIBUTE_CONNECTOR
Constant for Alert Systems Container's attribute connectors Identifier. |
static String |
UM_ATTRIBUTE_CONNECTOR
Constant for User Management attribute connector's Identifier. |
static String |
WFCONTAINER_ATTRIBUTE_CONNECTOR
Constant for Business Workflow Container attribute connectors Identifier. |
| Method Summary | |
|---|---|
Map |
getAttributes(UWLContext context,
Item item,
String objectType,
String objectid,
AttributeCollection attributes)
Gets values of attributes of the item specified in the parameter attributeNames. |
String |
getId()
Every IAttributeAccessConnectorshould identify itself with a unique identifer. |
| Field Detail |
|---|
static final String UM_ATTRIBUTE_CONNECTOR
static final String ABAP_ATTRIBUTE_CONNECTOR
static final String WFCONTAINER_ATTRIBUTE_CONNECTOR
static final String ALRTCONTAINER_ATTRIBUTE_CONNECTOR
| Method Detail |
|---|
String getId()
IAttributeAccessConnectorshould identify itself with a unique identifer.
Id is case sensitive.
CustomAttributes.getSource()
Map getAttributes(UWLContext context,
Item item,
String objectType,
String objectid,
AttributeCollection attributes)
throws ConnectorException
context - contains user, application context, portal request informationitem - not null, item for which attributes are neededobjectType - Empty or null if attributes are not associated with a custom objectobjectid - Empty or null if attributes are not associated with a custom objectattributes - not null, contains names of custom attributes, their types etc. For the
types fo attributes refer to com.sap.netweaver.bc.uwl.config.DTDConstants javadoc
ConnectorException - in case of problems from the provider sourceDTDConstants| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||