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

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

public class OwCMISPrivilege
extends Object
implements com.wewebu.ow.server.ecm.OwPrivilege

Simple OwPrivilege implementation.

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
OwCMISPrivilege(org.apache.chemistry.opencmis.commons.data.Ace ace, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
protected  org.apache.chemistry.opencmis.commons.data.Ace getAce()
          Get the Ace for current object.
 Collection getChilds(boolean recursive_p)
           
 String getDescription()
           
 String getName()
           
 boolean hasChilds()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISPrivilege

public OwCMISPrivilege(org.apache.chemistry.opencmis.commons.data.Ace ace,
                       String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface com.wewebu.ow.server.ecm.OwPrivilege

getDescription

public String getDescription()
Specified by:
getDescription in interface com.wewebu.ow.server.ecm.OwPrivilege

getChilds

public Collection getChilds(boolean recursive_p)
Specified by:
getChilds in interface com.wewebu.ow.server.ecm.OwPrivilege

hasChilds

public boolean hasChilds()
Specified by:
hasChilds in interface com.wewebu.ow.server.ecm.OwPrivilege

getAce

protected org.apache.chemistry.opencmis.commons.data.Ace getAce()
Get the Ace for current object. Can be null if there is no Ace associated.

Returns:
Ace or null

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.