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

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.permission.OwCMISPrivilegeSet
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwPrivilegeSet

public class OwCMISPrivilegeSet
extends Object
implements com.wewebu.ow.server.ecm.OwPrivilegeSet

Simple OwPrivilegeSet implementation.
Will not handle propagation definition.

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


Field Summary
static int INHERITANCE_DEPTH_PROPAGATED
          Number representing PROPAGATED inheritance
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwPrivilegeSet
INHERITANCE_DEPTH_NO_INHERITANCE, INHERITANCE_DEPTH_ONE_LEVEL, INHERITANCE_DEPTH_UNLIMITED
 
Constructor Summary
OwCMISPrivilegeSet(com.wewebu.ow.server.ecm.OwUserInfo principal, org.apache.chemistry.opencmis.commons.data.Ace ace)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getInheritanceDepth()
           
 com.wewebu.ow.server.ecm.OwUserInfo getPrincipal()
           
 Collection getPrivileges()
           
 int hashCode()
           
 boolean isDenied()
           
 org.apache.chemistry.opencmis.commons.data.Ace nativeObject()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INHERITANCE_DEPTH_PROPAGATED

public static final int INHERITANCE_DEPTH_PROPAGATED
Number representing PROPAGATED inheritance

See Also:
Constant Field Values
Constructor Detail

OwCMISPrivilegeSet

public OwCMISPrivilegeSet(com.wewebu.ow.server.ecm.OwUserInfo principal,
                          org.apache.chemistry.opencmis.commons.data.Ace ace)
Method Detail

getPrincipal

public com.wewebu.ow.server.ecm.OwUserInfo getPrincipal()
Specified by:
getPrincipal in interface com.wewebu.ow.server.ecm.OwPrivilegeSet

isDenied

public boolean isDenied()
Specified by:
isDenied in interface com.wewebu.ow.server.ecm.OwPrivilegeSet

getPrivileges

public Collection getPrivileges()
Specified by:
getPrivileges in interface com.wewebu.ow.server.ecm.OwPrivilegeSet

getInheritanceDepth

public int getInheritanceDepth()
Specified by:
getInheritanceDepth in interface com.wewebu.ow.server.ecm.OwPrivilegeSet

nativeObject

public org.apache.chemistry.opencmis.commons.data.Ace nativeObject()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.