Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


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

All Superinterfaces:
Condition, XcapElement, XcapResource

public interface Identity
extends Condition

Part of the conditions matching on the identity of the requestor (Watcher / Recipient). In case this part of the conditions is absent, other conditions in the rule apply to any user, authenticated or not. The identity is authenticated.


Method Summary
 Many createMany()
          Creates a many element without a domain.
 Many createMany(String aDomain)
          Creates a many element associated to supplied domain.
 One createOne(String anId)
          Creates a <one> sub element of this <identity> element.
 void deleteMany(Many aMany)
          Removes the provided many element.
 void deleteOne(One aOne)
          Delete the one.
 List<Many> getManies()
          Provides all many sub elements of this identity element.
 Many getMany(String aDomain)
          Convenience method to find the first Many instance associated with the provided domain.
 One getOne(String anId)
          Search the <identity> element a <one> subelement with a specific id attribute value.
 List<One> getOnes()
          Provides the sub elements of this <identity> element

 

Methods inherited from interface com.oracle.sft.xcap.client.policy.Condition
getType

 

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

getOnes

List<One> getOnes()
Provides the sub elements of this <identity> element
Returns:
List of sub elements <One>. The List is unmodifiable.

getOne

One getOne(String anId)
Search the <identity> element a <one> subelement with a specific id attribute value.
Parameters:
anId - The value of the id attribute.
Returns:
the <one> element. Or null in case the <one> element with the specified id attribute is not a sub element of this identity element.

createOne

One createOne(String anId)
Creates a <one> sub element of this <identity> element.
Parameters:
anId - value of the id attribute of the <one> element.
Returns:
the <one> element}

deleteOne

void deleteOne(One aOne)
Delete the one.
Parameters:
aOne - the one to be deleted

getManies

List<Many> getManies()
Provides all many sub elements of this identity element.
Returns:
list of sub elements <Many>. The List is unmodifiable.

getMany

Many getMany(String aDomain)
Convenience method to find the first Many instance associated with the provided domain.
Parameters:
aDomain - the domain the many instance is associated to.
Returns:
many instance associated with the provided domain.

createMany

Many createMany(String aDomain)
Creates a many element associated to supplied domain.
Parameters:
aDomain - the domain which users will match.
Returns:
the newly created many element.

createMany

Many createMany()
Creates a many element without a domain. An empty many element matches on any authorized non anonymous user.
Returns:
the newly created many element.

deleteMany

void deleteMany(Many aMany)
Removes the provided many element.
Parameters:
aMany - the many element to remove.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.