org.alfresco.cmis.acl
Class CMISPermissionMappingImpl

java.lang.Object
  extended by org.alfresco.cmis.acl.CMISPermissionMappingImpl
All Implemented Interfaces:
CMISPermissionMapping

public class CMISPermissionMappingImpl
extends java.lang.Object
implements CMISPermissionMapping


Method Summary
 java.lang.String getKey()
          Get the allowed action key.
 java.util.List getPermissions()
          Get the required permissions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: CMISPermissionMapping
Get the allowed action key.

Specified by:
getKey in interface CMISPermissionMapping
Returns:
the key.

getPermissions

public java.util.List getPermissions()
Description copied from interface: CMISPermissionMapping
Get the required permissions. If the list is of zero length the action is unprotected and allowed. (Disallowed actions never appear at all) For one or more entries a match against any permission allws.

Specified by:
getPermissions in interface CMISPermissionMapping
Returns:
the list of required permissions.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.