Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.xcap.client.simservs
Interface SimServs

All Superinterfaces:
XcapElement, XcapResource

public interface SimServs
extends XcapElement

Root element of the Presence SimServs Document. Consists of a set of communication barring or diversion's conditions and actions called SimservTypes.


Method Summary
 void addAttributes(Map<QName,String> map)
          Add all given attributes.
<S extends SimservType>
S
createAbsService(Class<S> clazz)
          Create a new AbsService for the given class token if there isn't one, otherwise, return the existing one, and works as getElement(Class<S>).
 Extensions createExtensions()
          Create a new Extensions if there isn't one, otherwise, works as getExtentions().
 void deleteAbsService(SimservType simTypes)
          Delete absService.
 void deleteAttribute(QName name)
          Delete attribute.
 void deleteAttributes()
          Delete attributes.
 void deleteExtensions()
          Delete extensions.
 List<? extends SimservType> getAbsServices()
          Get all sbsServices of this simservs.
 Map<QName,String> getAttributes()
          Get Attributes.
<S extends SuppServiceElement>
S
getElement(Class<S> clazz)
          Get element of given class token.
 Extensions getExtensions()
          Get extensions.

 

Methods inherited from interface com.oracle.sft.xcap.client.XcapElement
getDocument, getNamespace, getNodeSelector, getParent

 

Methods inherited from interface com.oracle.sft.xcap.client.XcapResource
getContent, getContentType, getUrl, setContent

 

Method Detail

getAbsServices

List<? extends SimservType> getAbsServices()
Get all sbsServices of this simservs.
Returns:
a list of absServices

getExtensions

Extensions getExtensions()
Get extensions.
Returns:
the extensions of this simservs.

getAttributes

Map<QName,String> getAttributes()
Get Attributes.
Returns:
all attributes of this simservs, key - attribute name, value - attribute value.

createAbsService

<S extends SimservType> S createAbsService(Class<S> clazz)
Create a new AbsService for the given class token if there isn't one, otherwise, return the existing one, and works as getElement(Class<S>).
Parameters:
clazz - the class of S, they are
  • CommunicationDiversion
  • CommunicationWaiting
  • IncomingCommunicationBarring
  • OriginatingIdentityPresentation
  • OriginatingIdentityPresentationRestriction
  • OutgoingCommunicationBarring
  • BarringServiceCapability
  • DiversionServiceCapability
  • TerminatingIdentityPresentation
  • TerminatingIdentityPresentationRestriction
Returns:
the absService.

createExtensions

Extensions createExtensions()
Create a new Extensions if there isn't one, otherwise, works as getExtentions().
Returns:
the extensions of this simservs.

addAttributes

void addAttributes(Map<QName,String> map)
Add all given attributes.
Parameters:
map - a set of attribute. key - attribute name, value - attribute value.

deleteAbsService

void deleteAbsService(SimservType simTypes)
Delete absService.
Parameters:
simTypes - with which the absService to be deleted.

deleteExtensions

void deleteExtensions()
Delete extensions.

deleteAttributes

void deleteAttributes()
Delete attributes.

deleteAttribute

void deleteAttribute(QName name)
Delete attribute.
Parameters:
name - attribute name

getElement

<S extends SuppServiceElement> S getElement(Class<S> clazz)
Get element of given class token.
Parameters:
clazz - class token to be got.
Returns:
the element.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.