org.alfresco.cmis.acl
Class CMISAccessControlReportImpl

java.lang.Object
  extended by org.alfresco.cmis.acl.CMISAccessControlReportImpl
All Implemented Interfaces:
CMISAccessControlReport

public class CMISAccessControlReportImpl
extends java.lang.Object
implements CMISAccessControlReport

A simple CMIS access control report


Constructor Summary
CMISAccessControlReportImpl()
           
 
Method Summary
 java.util.List getAccessControlEntries()
          Get the list of ACEs.
 java.util.List getAccessControlEntriesGroupedByPrincipalId()
          Get ACEs grouped by principal id
 boolean isExact()
          Is this report exact? If false then there are other other security constraints that apply.
 void setExtract(boolean extract)
          Set extract.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISAccessControlReportImpl

public CMISAccessControlReportImpl()
Method Detail

getAccessControlEntries

public java.util.List getAccessControlEntries()
Description copied from interface: CMISAccessControlReport
Get the list of ACEs.

Specified by:
getAccessControlEntries in interface CMISAccessControlReport
Returns:
the list of ACEs.

isExact

public boolean isExact()
Description copied from interface: CMISAccessControlReport
Is this report exact? If false then there are other other security constraints that apply. This will always be false as we have global permission and deny entries that are not reported. We do not explicitly check these cases - and return false - as we have global permission defined by default.

Specified by:
isExact in interface CMISAccessControlReport
Returns:
true means the report fully describes security access, false means other security constraints may apply but are not reported.

setExtract

public void setExtract(boolean extract)
Set extract.

Parameters:
extract -

getAccessControlEntriesGroupedByPrincipalId

public java.util.List getAccessControlEntriesGroupedByPrincipalId()
                                                           throws CMISConstraintException
Description copied from interface: CMISAccessControlReport
Get ACEs grouped by principal id

Specified by:
getAccessControlEntriesGroupedByPrincipalId in interface CMISAccessControlReport
Returns:
ACEs grouped by principal id
Throws:
CMISConstraintException


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