|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InteractionManager
This class provides tools for managing interactions.
Note: If the DATABASE service is not available, that is, if UCS is not connected,
you cannot get features associated with UCS, that is, this interaction manager.
| Method Summary | |
|---|---|
int |
countOtherPendingInteractions(java.lang.String contact_id,
java.lang.String interaction_id)
Returns the number of pending interactions for this contact. |
java.util.Collection |
getAllCustomAttachedData()
Gets all the CustomAttachedData defined in the Configuration Layer. |
java.util.Collection |
getAllInteractionAttributeMetaData()
Gets all the existing InteractionAttributeMetaData. |
CustomAttachedData |
getCustomAttachedDataById(java.lang.String id)
Gets the CustomAttachedData with this ID. |
CustomAttachedData |
getCustomAttachedDataByName(java.lang.String name)
Gets the CustomAttachedData with this name. |
InteractionAttributeMetaData |
getInteractionAttributeMetaDataById(java.lang.String id)
Gets the predefined InteractionAttributeMetaData instance with this attribute
ID. |
InteractionAttributeMetaData |
getInteractionAttributeMetaDataByName(java.lang.String attribute_name)
Gets the InteractionAttributeMetaData that has this name. |
AbstractInteraction |
getInteractionByDBID(java.lang.String interaction_dbid,
boolean archive)
Finds the interaction associated with this Contact Server ID. |
boolean |
isReadOnlyAttachedData(java.lang.String key)
Checks wether an attached data can be modified by an agent. |
| Method Detail |
|---|
AbstractInteraction getInteractionByDBID(java.lang.String interaction_dbid,
boolean archive)
interaction_dbid - the Contact Server ID of the Interaction.archive - true if you wish to search in the archive database,
false for searching in the current database.
AbstractInteraction with this ID, or null if it is not
found.
int countOtherPendingInteractions(java.lang.String contact_id,
java.lang.String interaction_id)
throws DatabaseServiceException
Interaction.
contact_id - the ID of the contact.interaction_id - the ID of the interaction to exclude from the count. Can be
null.
DatabaseServiceException - if the database service is out of order.java.util.Collection getAllInteractionAttributeMetaData()
InteractionAttributeMetaData.
Collection of InteractionAttributeMetaData.InteractionAttributeMetaData getInteractionAttributeMetaDataByName(java.lang.String attribute_name)
InteractionAttributeMetaData that has this name.
attribute_name - the name of the attribute.
InteractionAttributeMetaData with this name.InteractionAttributeMetaData getInteractionAttributeMetaDataById(java.lang.String id)
InteractionAttributeMetaData instance with this attribute
ID.
id - the ID of the attribute.
InteractionAttributeMetaData with this ID.java.util.Collection getAllCustomAttachedData()
CustomAttachedData defined in the Configuration Layer.
Collection of CustomAttachedData.CustomAttachedData getCustomAttachedDataByName(java.lang.String name)
CustomAttachedData with this name.
name - the name of the attached data.CustomAttachedData getCustomAttachedDataById(java.lang.String id)
CustomAttachedData with this ID.
id - the ID of the custom attached data.boolean isReadOnlyAttachedData(java.lang.String key)
key - the key of the attached data to check.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||