com.openexchange.messaging
Class MessagingPermissions

java.lang.Object
  extended by com.openexchange.messaging.MessagingPermissions

public final class MessagingPermissions
extends java.lang.Object

MessagingPermissions - Tools for MessagingPermission class.

Since:
Open-Xchange v6.16
Author:
Thorben Betten

Method Summary
static MessagingPermission unmodifiablePermission(MessagingPermission messagingPermission)
          Gets an unmodifiable view of the specified permission.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unmodifiablePermission

public static MessagingPermission unmodifiablePermission(MessagingPermission messagingPermission)
Gets an unmodifiable view of the specified permission. Attempts to modify the returned permission result in an UnsupportedOperationException.

Parameters:
messagingPermission - The messaging permission
Returns:
An unmodifiable view of the specified permission