com.ibm.presence.api.authorization
Class AuthorizationData

java.lang.Object
  extended by com.ibm.presence.api.authorization.AuthorizationData
All Implemented Interfaces:
java.io.Serializable

public class AuthorizationData
extends java.lang.Object
implements java.io.Serializable

The AuthorizationData class contains data needed for authorization. The Presence Server invokes AuthorizationService methods with this data object. The same object should return to AuthorizationRulesListener to recognize the subscription.

See Also:
AuthorizationService, AuthorizationRules, Serialized Form

Field Summary
private  Presence _fromPresentity
           
private  java.lang.String _presenceType
           
private  java.lang.String _sessionId
           
private  Presence _toPresentity
           
private static long serialVersionUID
           
 
Constructor Summary
AuthorizationData(Presence from, Presence to, java.lang.String type, java.lang.String sessionId)
          Constructs AuthorizationData object
 
Method Summary
 Presence getFromPresentity()
           
 java.lang.String getPresenceType()
           
 java.lang.String getSessionId()
           
 Presence getToPresentity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_fromPresentity

private Presence _fromPresentity

_toPresentity

private Presence _toPresentity

_presenceType

private java.lang.String _presenceType

_sessionId

private java.lang.String _sessionId

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AuthorizationData

public AuthorizationData(Presence from,
                         Presence to,
                         java.lang.String type,
                         java.lang.String sessionId)
Constructs AuthorizationData object

Method Detail

getFromPresentity

public Presence getFromPresentity()
Returns:
Returns the _fromPresentity.

getSessionId

public java.lang.String getSessionId()
Returns:
Returns the _sessionId.

getToPresentity

public Presence getToPresentity()
Returns:
Returns the _toPresentity.

getPresenceType

public java.lang.String getPresenceType()
Returns:
Returns the _presenceType.


Copyright © 2007 IBM Corp. All Rights Reserved.