com.sun.im.service
Interface PresenceAccessRule

All Superinterfaces:
AccessRule

public interface PresenceAccessRule
extends AccessRule

Presence access rule


Field Summary
static int READ
          a READ operation includes access to the presence information of the presentity through a fetch or a subscribe command
static int UPDATE
          a UPDATE operation includes consists of publishing presence information for this presentity.
 
Fields inherited from interface com.sun.im.service.AccessRule
ALL_DOMAINS
 
Method Summary
 int getOperation()
          the nature of the access (READ or UPDATE)
 
Methods inherited from interface com.sun.im.service.AccessRule
addExceptPrincipal, addExceptPrincipal, addPrincipal, addPrincipal, getDomain, getExceptDomain, getExceptPrincipals, getPrincipals, getResourceURL, grant, removeAllExceptPrincipals, removeAllPrincipals, removeExceptPrincipal, removePrincipal, removePrincipal, setGrant
 

Field Detail

READ

public static final int READ
a READ operation includes access to the presence information of the presentity through a fetch or a subscribe command

See Also:
Constant Field Values

UPDATE

public static final int UPDATE
a UPDATE operation includes consists of publishing presence information for this presentity.

See Also:
Constant Field Values
Method Detail

getOperation

public int getOperation()
the nature of the access (READ or UPDATE)