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. |
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 |
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
getOperation
public int getOperation()
- the nature of the access (READ or UPDATE)