com.wewebu.ow.server.ecmimpl.opencmis.permission
Class OwCMISAclDiffImpl

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.permission.OwCMISAclDiffImpl
All Implemented Interfaces:
OwCMISAclDiff

public class OwCMISAclDiffImpl
extends Object
implements OwCMISAclDiff

Simple implementation of ACL-Differential helper object.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Constructor Summary
OwCMISAclDiffImpl()
           
OwCMISAclDiffImpl(List<org.apache.chemistry.opencmis.commons.data.Ace> added, List<org.apache.chemistry.opencmis.commons.data.Ace> deleted)
           
 
Method Summary
 boolean add(org.apache.chemistry.opencmis.commons.data.Ace newAce)
          Add an ACE, maybe merged if similar is ACE-Principal is available.
 List<org.apache.chemistry.opencmis.commons.data.Ace> getAdded()
          List of added Ace's.
 List<org.apache.chemistry.opencmis.commons.data.Ace> getDeleted()
          List of deleted Ace's.
 boolean remove(org.apache.chemistry.opencmis.commons.data.Ace removeAce)
          Remove an ACE element, can also be merged into an ACE which contains similar principal.
 void setAdded(List<org.apache.chemistry.opencmis.commons.data.Ace> addedAce)
          Set a list of added ACE objects, will overwrite existing definitions.
 void setDeleted(List<org.apache.chemistry.opencmis.commons.data.Ace> deletedAce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISAclDiffImpl

public OwCMISAclDiffImpl()

OwCMISAclDiffImpl

public OwCMISAclDiffImpl(List<org.apache.chemistry.opencmis.commons.data.Ace> added,
                         List<org.apache.chemistry.opencmis.commons.data.Ace> deleted)
Method Detail

getAdded

public List<org.apache.chemistry.opencmis.commons.data.Ace> getAdded()
Description copied from interface: OwCMISAclDiff
List of added Ace's.

Specified by:
getAdded in interface OwCMISAclDiff
Returns:
List or null if none

setAdded

public void setAdded(List<org.apache.chemistry.opencmis.commons.data.Ace> addedAce)
Set a list of added ACE objects, will overwrite existing definitions.

Parameters:
addedAce - List or null

getDeleted

public List<org.apache.chemistry.opencmis.commons.data.Ace> getDeleted()
Description copied from interface: OwCMISAclDiff
List of deleted Ace's.

Specified by:
getDeleted in interface OwCMISAclDiff
Returns:
List or null if none

setDeleted

public void setDeleted(List<org.apache.chemistry.opencmis.commons.data.Ace> deletedAce)

add

public boolean add(org.apache.chemistry.opencmis.commons.data.Ace newAce)
Description copied from interface: OwCMISAclDiff
Add an ACE, maybe merged if similar is ACE-Principal is available.

Specified by:
add in interface OwCMISAclDiff
Returns:
true if added

remove

public boolean remove(org.apache.chemistry.opencmis.commons.data.Ace removeAce)
Description copied from interface: OwCMISAclDiff
Remove an ACE element, can also be merged into an ACE which contains similar principal.

Specified by:
remove in interface OwCMISAclDiff
Returns:
true if marked as removed


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.