gran.app.adapter.kernel.acl
Class BaseAclAdapter

java.lang.Object
  extended bygran.app.adapter.kernel.acl.BaseAclAdapter
All Implemented Interfaces:
AclAdapter, Adapter, KernelAdapter

public class BaseAclAdapter
extends java.lang.Object
implements AclAdapter


Constructor Summary
BaseAclAdapter()
           
 
Method Summary
 java.lang.String createAclImpl(java.lang.String taskId, java.lang.String userId, java.lang.String ownerId)
           
 java.lang.String getDescription()
          Get description of adapter as plain text
 java.util.ArrayList getDirectAccessListImpl(java.lang.String userid, java.util.ArrayList l)
           
 boolean init()
          Initialize adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAclAdapter

public BaseAclAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

createAclImpl

public java.lang.String createAclImpl(java.lang.String taskId,
                                      java.lang.String userId,
                                      java.lang.String ownerId)
                               throws GranException
Specified by:
createAclImpl in interface AclAdapter
Throws:
GranException

getDirectAccessListImpl

public java.util.ArrayList getDirectAccessListImpl(java.lang.String userid,
                                                   java.util.ArrayList l)
                                            throws GranException
Specified by:
getDirectAccessListImpl in interface AclAdapter
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.