com.wewebu.ow.server.ecm
Interface OwPrivilegeSet


public interface OwPrivilegeSet

Interface for privilege sets used in OwPermissionCollection.

To be implemented with the specific ECM system.

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_NO_INHERITANCE
           
static int INHERITANCE_DEPTH_ONE_LEVEL
           
static int INHERITANCE_DEPTH_UNLIMITED
           
 
Method Summary
 int getInheritanceDepth()
          get depth level to which this set is applied for child objects
 OwUserInfo getPrincipal()
          get the principal of this privilege set
 Collection getPrivileges()
          get the privileges of the set
 boolean isDenied()
          check if privileges have been allowed or denied
 

Field Detail

INHERITANCE_DEPTH_NO_INHERITANCE

static final int INHERITANCE_DEPTH_NO_INHERITANCE
See Also:
Constant Field Values

INHERITANCE_DEPTH_ONE_LEVEL

static final int INHERITANCE_DEPTH_ONE_LEVEL
See Also:
Constant Field Values

INHERITANCE_DEPTH_UNLIMITED

static final int INHERITANCE_DEPTH_UNLIMITED
See Also:
Constant Field Values
Method Detail

getPrincipal

OwUserInfo getPrincipal()
get the principal of this privilege set

Returns:
OwUserInfo

isDenied

boolean isDenied()
check if privileges have been allowed or denied

Returns:
boolean

getPrivileges

Collection getPrivileges()
get the privileges of the set

Returns:
Collection of OwPrivilege

getInheritanceDepth

int getInheritanceDepth()
get depth level to which this set is applied for child objects

Returns:
int as defined in OwPrivilegeSet.INHERITANCE_DEPTH_...


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.