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 and Description |
---|
OwCMISAclDiffImpl() |
OwCMISAclDiffImpl(List<org.apache.chemistry.opencmis.commons.data.Ace> added,
List<org.apache.chemistry.opencmis.commons.data.Ace> deleted) |
Modifier and Type | Method and Description |
---|---|
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) |
public List<org.apache.chemistry.opencmis.commons.data.Ace> getAdded()
OwCMISAclDiff
getAdded
in interface OwCMISAclDiff
public void setAdded(List<org.apache.chemistry.opencmis.commons.data.Ace> addedAce)
addedAce
- Listpublic List<org.apache.chemistry.opencmis.commons.data.Ace> getDeleted()
OwCMISAclDiff
getDeleted
in interface OwCMISAclDiff
public void setDeleted(List<org.apache.chemistry.opencmis.commons.data.Ace> deletedAce)
public boolean add(org.apache.chemistry.opencmis.commons.data.Ace newAce)
OwCMISAclDiff
add
in interface OwCMISAclDiff
public boolean remove(org.apache.chemistry.opencmis.commons.data.Ace removeAce)
OwCMISAclDiff
remove
in interface OwCMISAclDiff
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.