Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.admin
Class ACLContributor

java.lang.Object
  extended by ch.elexis.admin.ACLContributor
All Implemented Interfaces:
IACLContributor

public class ACLContributor
extends java.lang.Object
implements IACLContributor

Contribution of the basic system's ACLs

Author:
gerry

Constructor Summary
ACLContributor()
           
 
Method Summary
 ACE[] getACL()
          return the ACL to be used by this extension
 ACE[] reject(ACE[] acl)
          The framework will call this method if one ore more of the transmitted ACL's could not be integrated (illegal name or duplicate)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLContributor

public ACLContributor()
Method Detail

getACL

public ACE[] getACL()
Description copied from interface: IACLContributor
return the ACL to be used by this extension

Specified by:
getACL in interface IACLContributor
Returns:
an array of all ACE's to insert

reject

public ACE[] reject(ACE[] acl)
Description copied from interface: IACLContributor
The framework will call this method if one ore more of the transmitted ACL's could not be integrated (illegal name or duplicate)

Specified by:
reject in interface IACLContributor
Parameters:
acl - array of all rejected acls (these have not been integrated)
Returns:
the plugin can return an array of corrected acls or null.

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis