Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.xcap.client.policy
Interface Many

All Superinterfaces:
Attributable, XcapElement, XcapResource

public interface Many
extends XcapElement, Attributable

part of the identity condition that defines a group of users. In case the many is used without domain attribute and without excepts, the condition will match for all authenticated users. Note: this is a subtile difference from the variant of the condition in which the identity part is ommited: then all users, authenticated or not will match the condition.


Method Summary
 void createDomain(String anDomain)
          creates the domain attribute.
 Except createExcept()
          Create an Except element.
 Except createExcept(String id, String domain)
          Create an Except element with the given id and domain.
 void deleteDomain()
          removes the domain attribute.
 void deleteExcept(Except anExcept)
          removes the exception.
 String getDomain()
          defines a domain.
 List<Except> getExepts()
          provides the users that do not match the rule.

 

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

 

Methods inherited from interface com.oracle.sft.xcap.client.Attributable
deleteByAttrName, getByAttrName, setByAttrName

 

Method Detail

getDomain

String getDomain()
defines a domain. If an authenticated user belongs to this domain, it matches this part of the rule.
Returns:
attribute encapsulating the domain. Or null in case the attribute is not set.

createDomain

void createDomain(String anDomain)
creates the domain attribute.
Parameters:
anDomain - If an authenticated user belongs to this domain, it matches this part of the rule.

deleteDomain

void deleteDomain()
removes the domain attribute.

getExepts

List<Except> getExepts()
provides the users that do not match the rule.
Returns:
List of users in

createExcept

Except createExcept()
Create an Except element. The "id" and/or "domain" of the element can be set by com.oracle.sft.xcap.client.policy.Except.setId(String) and com.oracle.sft.xcap.client.policy.Except.setDomain(String).
Returns:
a new created Except instance.

createExcept

Except createExcept(String id,
                    String domain)
Create an Except element with the given id and domain.
Returns:
a new created Except instance.

deleteExcept

void deleteExcept(Except anExcept)
removes the exception.
Parameters:
anExcept - the exception to be removed.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.