Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api.rls
Interface ResourceListsFactory


public interface ResourceListsFactory

Factory interface for creating resource lists elements.


Method Summary
 DisplayName createDisplayName()
          Create an instance of DisplayName
 Entry createEntry()
          Create an instance of Entry
 EntryRef createEntryRef()
          Create an instance of EntryRef
 External createExternal()
          Create an instance of External
 ResourceLists createRecipientHistoryLists(ResourceLists resourceLists)
          Create a default Recipient history list from the given Resource lists based on RFC5364.
 ResourceLists createRecipientLists(ResourceLists resourceLists)
          Create Recipient list from the given Resource lists.
 ResourceList createResourceList()
          Create an instance of ResourceList
 ResourceLists createResourceLists()
          Create an instance of ResourceLists

 

Method Detail

createEntryRef

EntryRef createEntryRef()
Create an instance of EntryRef

createExternal

External createExternal()
Create an instance of External

createEntry

Entry createEntry()
Create an instance of Entry

createResourceList

ResourceList createResourceList()
Create an instance of ResourceList

createDisplayName

DisplayName createDisplayName()
Create an instance of DisplayName

createResourceLists

ResourceLists createResourceLists()
Create an instance of ResourceLists

createRecipientLists

ResourceLists createRecipientLists(ResourceLists resourceLists)
Create Recipient list from the given Resource lists. The Recipient list is a subset of Resource list. it's a flat list of URIs and it only contain <entry> element.
Parameters:
resourceLists - The Resource Lists that carried in the incoming request.
Returns:
An instance of ResourceLists<Entry> that represent the Recipient list

createRecipientHistoryLists

ResourceLists createRecipientHistoryLists(ResourceLists resourceLists)
Create a default Recipient history list from the given Resource lists based on RFC5364. This method will do the following operations to the given resource lists: First, it copies all the URIs (<entry> elements) marked with the "to" or "cc" 'copyControl' attributes, which do not contain an 'anonymize' attribute ( or when the 'anonymize' attribute is set to "false"). Then all the URIs marked with a 'copyControl' attribute set to "to" and 'anonymize' attribute set to "true" are replaced with the SIP anonymous URI "sip:anonymous@anonymous.invalid". also adds the original value of the 'copyControl' attribute ("to" in this step), and it adds a 'count' attribute containing the number of anonymous entries in this "to "group. Then does the same operation to the URIs tagged with the 'copyControl' attribute set to "cc" and 'anonymize' attribute set to "true". Last, the this method removes all URIs marked with the "bcc" 'copyControl' attribute.
Parameters:
resourceLists - The Resource Lists that carried in the incoming request.
Returns:
ResourceLists<Entry> An instance of ResourceLists<Entry> that represent the Recipient history list

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.